minor actionbar button/layout fixes

This commit is contained in:
Andrew Dolgov 2014-10-31 09:06:42 +03:00
parent 424970d191
commit f53dab1982
2 changed files with 5 additions and 6 deletions

View File

@ -83,10 +83,10 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
m_drawerLayout.setDrawerListener(m_drawerToggle); m_drawerLayout.setDrawerListener(m_drawerToggle);
m_drawerToggle.setDrawerIndicatorEnabled(true); m_drawerToggle.setDrawerIndicatorEnabled(true);
}
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setHomeButtonEnabled(true); getSupportActionBar().setHomeButtonEnabled(true);
}
if (savedInstanceState == null) { if (savedInstanceState == null) {
if (m_drawerLayout != null) { if (m_drawerLayout != null) {

View File

@ -18,14 +18,13 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:baselineAligned="false" android:baselineAligned="false"
android:weightSum="3"
android:orientation="horizontal" > android:orientation="horizontal" >
<FrameLayout <FrameLayout
android:id="@+id/feeds_fragment" android:id="@+id/feeds_fragment"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="0.25"
android:background="?feedlistBackground" > android:background="?feedlistBackground" >
</FrameLayout> </FrameLayout>
@ -33,7 +32,7 @@
android:id="@+id/headlines_fragment" android:id="@+id/headlines_fragment"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="2" android:layout_weight="0.75"
android:background="?headlinesBackground" > android:background="?headlinesBackground" >
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>