Styles fix for tablets & landscape mode.

This commit is contained in:
Dmitry Yunitsky 2015-05-25 13:43:08 +03:00 committed by Alex Zolotarev
parent 5119575923
commit d9f4d6994d
5 changed files with 4 additions and 8 deletions

View file

@ -20,7 +20,7 @@
<android.support.v4.widget.Space
android:id="@+id/space_bottom"
android:layout_width="0dp"
android:layout_height="250dp"
android:layout_height="@dimen/margin_bottom_zoom_buttons"
android:layout_alignParentBottom="true"/>
<ImageButton

View file

@ -3,5 +3,6 @@
<dimen name="zoom_plus_top_margin">-10dp</dimen>
<dimen name="drawer_top_padding">12dp</dimen>
<dimen name="margin_bottom_zoom_buttons">180dp</dimen>
</resources>

View file

@ -9,10 +9,4 @@
<item name="android:background">@drawable/ic_bg_pp</item>
</style>
<style name="MwmWidget.Toolbar" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="displayOptions">showHome|homeAsUp|showTitle</item>
<!-- FIXME -->
<item name="background">@drawable/ic_bg_toolbar</item>
</style>
</resources>

View file

@ -65,5 +65,6 @@
<dimen name="margin_direction_around_center">20dp</dimen>
<dimen name="height_item_oneline">56dp</dimen>
<dimen name="margin_bottom_zoom_buttons">250dp</dimen>
</resources>

View file

@ -84,7 +84,7 @@
</style>
<style name="MwmWidget.Toolbar" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:background">?colorPrimary</item>
<item name="android:background">?attr/colorPrimary</item>
<item name="android:elevation">4dp</item>
<item name="android:gravity">center_vertical</item>
<item name="android:displayOptions">homeAsUp|showTitle</item>