From c11a3be88e4c254e725c453a21abb28f1e16403a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Jun 2012 00:08:11 +0400 Subject: [PATCH] try to workaround against galaxy nexus going crazy when trying to draw shareprovider in viewpager with split action bar. thanks, google. (refs #462) --- AndroidManifest.xml | 5 ++--- res/menu/main_menu.xml | 2 +- res/menu/offline_menu.xml | 2 +- src/org/fox/ttrss/MainActivity.java | 3 +++ src/org/fox/ttrss/offline/OfflineActivity.java | 3 +++ 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index cc689626..539c0c72 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -15,6 +15,7 @@ android:allowBackup="true" android:backupAgent=".util.PrefsBackupAgent" android:hardwareAccelerated="true" + android:uiOptions="splitActionBarWhenNarrow" android:icon="@drawable/icon" android:label="@string/app_name" > diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml index df1ed152..dee31211 100644 --- a/res/menu/main_menu.xml +++ b/res/menu/main_menu.xml @@ -108,7 +108,7 @@ diff --git a/res/menu/offline_menu.xml b/res/menu/offline_menu.xml index e4169f43..7b3c8225 100644 --- a/res/menu/offline_menu.xml +++ b/res/menu/offline_menu.xml @@ -81,7 +81,7 @@ android:id="@+id/share_article" android:actionProviderClass="android.widget.ShareActionProvider" android:icon="@android:drawable/ic_menu_share" - android:showAsAction="ifRoom" + android:showAsAction="" android:title="@string/share_article"/>