disable share provider showAsAction altogether (refs #463)

disable splitactionbarwhennarrow because it's not needed without share
action
bump version
This commit is contained in:
Andrew Dolgov 2012-06-26 11:05:55 +04:00
parent 71064b4edc
commit addaed6369
3 changed files with 0 additions and 7 deletions

View File

@ -15,7 +15,6 @@
android:allowBackup="true"
android:backupAgent=".util.PrefsBackupAgent"
android:hardwareAccelerated="true"
android:uiOptions="splitActionBarWhenNarrow"
android:icon="@drawable/icon"
android:label="@string/app_name" >
<activity

View File

@ -1511,9 +1511,6 @@ public class MainActivity extends CommonActivity implements OnlineServices {
if (m_selectedArticle != null) {
Log.d(TAG, "setting up share provider");
shareProvider.setShareIntent(getShareIntent(m_selectedArticle));
// seems to be needed because galaxy nexus craps out if that item is initially visible as action in XML
m_menu.findItem(R.id.share_article).setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
}
}

View File

@ -936,9 +936,6 @@ public class OfflineActivity extends CommonActivity implements
if (m_selectedArticleId != 0) {
Log.d(TAG, "setting up share provider");
shareProvider.setShareIntent(getShareIntent(getArticleById(m_selectedArticleId)));
// seems to be needed because galaxy nexus craps out if that item is initially visible as action in XML
m_menu.findItem(R.id.share_article).setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
}
}
}