do not show headlines_select menu item as action
This commit is contained in:
parent
dcea7f0e85
commit
784a94cd7b
@ -61,7 +61,7 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/headlines_select"
|
android:id="@+id/headlines_select"
|
||||||
android:icon="@drawable/ic_menu_database"
|
android:icon="@drawable/ic_menu_database"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction=""
|
||||||
android:title="@string/headlines_select"/>
|
android:title="@string/headlines_select"/>
|
||||||
|
|
||||||
<!-- <item
|
<!-- <item
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/headlines_select"
|
android:id="@+id/headlines_select"
|
||||||
android:icon="@drawable/ic_menu_database"
|
android:icon="@drawable/ic_menu_database"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction=""
|
||||||
android:title="@string/headlines_select"/>
|
android:title="@string/headlines_select"/>
|
||||||
<!-- <item
|
<!-- <item
|
||||||
android:id="@+id/close_feed"
|
android:id="@+id/close_feed"
|
||||||
|
@ -119,10 +119,6 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
|
|||||||
m_menu.setGroupVisible(R.id.menu_group_article, af != null);
|
m_menu.setGroupVisible(R.id.menu_group_article, af != null);
|
||||||
|
|
||||||
m_menu.findItem(R.id.search).setVisible(false);
|
m_menu.findItem(R.id.search).setVisible(false);
|
||||||
|
|
||||||
if (!isCompatMode()) {
|
|
||||||
m_menu.findItem(R.id.headlines_select).setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user