最近在研究Android的桌面开发,了解到可以自己写一个app作为launcher。
理论上,安装了这个app后,点击home,应该会弹出选择框,让用户选择是系统桌面,还是你自己定义的这个桌面。
但是我写的这个app安装后没有弹出。
package="com.aplid.happinesslauncher">
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:launchMode="singleTask"
android:name=".MainActivity"
android:label="@string/app_name">
android:launchMode="singleTask"
我都加了,没有用,求解