fix bug that activity is recreated when going back from detail view
This commit is contained in:
parent
fa4437cf92
commit
a7ccdf21a5
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".NewsReaderListActivity"
|
android:name=".NewsReaderListActivity"
|
||||||
android:label="@string/app_name">
|
android:label="@string/app_name"
|
||||||
|
android:launchMode="singleTop">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|
Loading…
Reference in a new issue