Use activity-alias to show a separate name/icon in the launcher.
By default android will use the title and icon of the the starting activity in the launcher. This can be overriden using an activity-alias as the default activity, with its own title and icon. Change-Id: I794b6738fdc383879b3c056c61f62fecbb268c5a
This commit is contained in:
parent
67cde863f6
commit
c630a2458e
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/abs-lib"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
@ -13,22 +13,29 @@
|
||||
android:targetSdkVersion="10" />
|
||||
|
||||
<application
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.ImpressRemote"
|
||||
android:title="@string/app_name"
|
||||
android:icon="@drawable/ic_launcher" >
|
||||
android:title="@string/app_name" >
|
||||
<activity
|
||||
android:name=".SelectorActivity"
|
||||
android:icon="@drawable/actionbar_icon_computer"
|
||||
android:label="@string/selector_choose_a_computer"
|
||||
android:title="@string/app_name"
|
||||
android:uiOptions="splitActionBarWhenNarrow" >
|
||||
</activity>
|
||||
|
||||
<activity-alias
|
||||
android:name=".FakeLauncher"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:targetActivity=".SelectorActivity" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity-alias>
|
||||
|
||||
<activity
|
||||
android:name=".PairingActivity"
|
||||
android:icon="@drawable/actionbar_icon_computer"
|
||||
|
Loading…
x
Reference in New Issue
Block a user