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:id="@+id/main"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:background="?headlinesBackgroundSolid"
|
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/headlines_fragment"
|
android:id="@+id/headlines_fragment"
|
||||||
android:background="?smallScreenBackground"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" >
|
android:layout_height="match_parent" >
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
android:id="@+id/main"
|
android:id="@+id/main"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:background="?headlinesBackgroundSolid"
|
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
|
@ -73,6 +73,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
|||||||
public void onOpened() {
|
public void onOpened() {
|
||||||
if (m_actionbarRevertDepth == 0) {
|
if (m_actionbarRevertDepth == 0) {
|
||||||
m_actionbarUpEnabled = false;
|
m_actionbarUpEnabled = false;
|
||||||
|
m_feedIsSelected = false;
|
||||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||||
initMenu();
|
initMenu();
|
||||||
}
|
}
|
||||||
|
@ -63,6 +63,7 @@ public class OfflineFeedsActivity extends OfflineActivity implements OfflineHead
|
|||||||
public void onOpened() {
|
public void onOpened() {
|
||||||
if (m_actionbarRevertDepth == 0) {
|
if (m_actionbarRevertDepth == 0) {
|
||||||
m_actionbarUpEnabled = false;
|
m_actionbarUpEnabled = false;
|
||||||
|
m_feedIsSelected = false;
|
||||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||||
initMenu();
|
initMenu();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user