【问题标题】:How to change Android Homescreen look?如何更改 Android 主屏幕外观?
【发布时间】:2013-02-06 11:19:37
【问题描述】:

每个制造商都会定制 Android 版本。此修改是在源代码中完成还是在应用程序中完成?

如果它在源中:指向适当链接的指针会很有用。

【问题讨论】:

    标签: android homescreen


    【解决方案1】:

    我想你说的是Launcher。这是我想到的第一件事。它是一个System apk,位于system 目录下的app 文件夹中。如果你需要修改它,你最好创建一个自己的新启动器。这是一个link,关于如何去做。

    【讨论】:

      【解决方案2】:

      它叫做启动器,是一个普通的APK应用程序。这是一个正常的Activity,它对某个Intent有反应。

      您可以创建另一个,然后将其安装在您的手机上。当您按下主页按钮时,它会询问要使用哪个启动器。

      <activity
       android:label="@string/app_name"
       android:name=".ClassNameOfYourLauncher">
          <intent-filter >
              <action android:name="android.intent.action.MAIN" />
              <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
          <intent-filter >
              <action android:name="android.intent.action.MAIN" />
              <category android:name="android.intent.category.HOME" />
              <category android:name="android.intent.category.DEFAULT" />
          </intent-filter>
      </activity>
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-02-27
        • 2017-02-28
        • 2021-09-14
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多