remove logout menu item
This commit is contained in:
parent
72b6f06e78
commit
0ccac9b5b3
@ -723,9 +723,9 @@ public class OnlineActivity extends CommonActivity {
|
|||||||
openUnlockUrl();
|
openUnlockUrl();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
case R.id.logout:
|
/*case R.id.logout:
|
||||||
logout();
|
logout();
|
||||||
return true;
|
return true;*/
|
||||||
case R.id.login:
|
case R.id.login:
|
||||||
login();
|
login();
|
||||||
return true;
|
return true;
|
||||||
|
@ -25,12 +25,12 @@
|
|||||||
android:icon="@drawable/ic_refresh"
|
android:icon="@drawable/ic_refresh"
|
||||||
app:showAsAction=""
|
app:showAsAction=""
|
||||||
android:title="@string/update_feeds"/> -->
|
android:title="@string/update_feeds"/> -->
|
||||||
<item
|
<!-- <item
|
||||||
android:orderInCategory="900"
|
android:orderInCategory="900"
|
||||||
android:id="@+id/logout"
|
android:id="@+id/logout"
|
||||||
android:icon="@drawable/ic_logout"
|
android:icon="@drawable/ic_logout"
|
||||||
app:showAsAction=""
|
app:showAsAction=""
|
||||||
android:title="@string/logout"/>
|
android:title="@string/logout"/> -->
|
||||||
</group>
|
</group>
|
||||||
<group android:id="@+id/menu_group_headlines" >
|
<group android:id="@+id/menu_group_headlines" >
|
||||||
<!-- <item
|
<!-- <item
|
||||||
@ -113,14 +113,15 @@
|
|||||||
android:id="@+id/donate"
|
android:id="@+id/donate"
|
||||||
app:showAsAction=""
|
app:showAsAction=""
|
||||||
android:title="@string/trial_purchase"/>
|
android:title="@string/trial_purchase"/>
|
||||||
</group>
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:orderInCategory="999"
|
android:orderInCategory="999"
|
||||||
android:id="@+id/preferences"
|
android:id="@+id/preferences"
|
||||||
android:icon="@drawable/ic_settings"
|
android:icon="@drawable/ic_settings"
|
||||||
app:showAsAction=""
|
app:showAsAction=""
|
||||||
android:title="@string/preferences"/>
|
android:title="@string/preferences"/>
|
||||||
|
|
||||||
|
</group>
|
||||||
|
|
||||||
<group android:id="@+id/menu_group_logged_out" >
|
<group android:id="@+id/menu_group_logged_out" >
|
||||||
<item
|
<item
|
||||||
@ -128,6 +129,14 @@
|
|||||||
android:icon="@drawable/ic_login"
|
android:icon="@drawable/ic_login"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="ifRoom"
|
||||||
android:title="@string/login_login"/>
|
android:title="@string/login_login"/>
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:orderInCategory="999"
|
||||||
|
android:id="@+id/preferences"
|
||||||
|
android:icon="@drawable/ic_settings"
|
||||||
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/preferences"/>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
Loading…
Reference in New Issue
Block a user