fix wrong backgrounds being used by tablet headline views
properly reset feedisselected flag when menu is shown
This commit is contained in:
parent
e84345ce5a
commit
7e03ca0e73
@ -2,7 +2,6 @@
|
||||
android:id="@+id/main"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="?headlinesBackgroundSolid"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<FrameLayout
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/headlines_fragment"
|
||||
android:background="?smallScreenBackground"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
</FrameLayout>
|
||||
|
@ -2,7 +2,6 @@
|
||||
android:id="@+id/main"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="?headlinesBackgroundSolid"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<FrameLayout
|
||||
|
@ -73,6 +73,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
public void onOpened() {
|
||||
if (m_actionbarRevertDepth == 0) {
|
||||
m_actionbarUpEnabled = false;
|
||||
m_feedIsSelected = false;
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||
initMenu();
|
||||
}
|
||||
|
@ -63,6 +63,7 @@ public class OfflineFeedsActivity extends OfflineActivity implements OfflineHead
|
||||
public void onOpened() {
|
||||
if (m_actionbarRevertDepth == 0) {
|
||||
m_actionbarUpEnabled = false;
|
||||
m_feedIsSelected = false;
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||
initMenu();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user