Skip to content

Commit d16a6d5

Browse files
committed
Set default activity for example application
1 parent 23fd043 commit d16a6d5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

example/src/main/AndroidManifest.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
android:theme="@style/AppTheme" >
1010
<activity
1111
android:name=".MainExampleActivity"
12-
android:label="@string/title_activity_example"
13-
android:exported="true">
12+
android:label="@string/title_activity_example">
13+
<intent-filter>
14+
<action android:name="android.intent.action.MAIN" />
15+
<category android:name="android.intent.category.LAUNCHER" />
16+
</intent-filter>
1417
</activity>
1518
<activity
1619
android:name=".EditorExampleActivity" >

example/src/main/res/values/strings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources>
2-
<string name="app_name">EditorExample</string>
3-
<string name="title_activity_example">ExampleActivity</string>
2+
<string name="app_name">Editor Example</string>
3+
<string name="title_activity_example">Editor Example</string>
44
<string name="starting_legacy_editor">Starting legacy editor</string>
55
<string name="starting_new_editor">Starting new editor</string>
66

0 commit comments

Comments
 (0)