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_drawerToggle.setDrawerIndicatorEnabled(true);
}
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setHomeButtonEnabled(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setHomeButtonEnabled(true);
}
if (savedInstanceState == null) {
if (m_drawerLayout != null) {

View File

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