disable share provider showAsAction altogether (refs #463)
disable splitactionbarwhennarrow because it's not needed without share action bump version
This commit is contained in:
parent
71064b4edc
commit
addaed6369
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user