Improved menu bar when used with holo light theme

This commit is contained in:
Sylvain Berfini 2014-07-31 11:51:01 +02:00
parent e0dc59d23e
commit 1bb5af5a3e
5 changed files with 23 additions and 19 deletions

View file

@ -15,7 +15,7 @@
<ImageView <ImageView
android:contentDescription="@string/content_description_mark" android:contentDescription="@string/content_description_mark"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2" android:layout_weight="0.2"
android:adjustViewBounds="true" android:adjustViewBounds="true"
@ -25,7 +25,7 @@
<ImageView <ImageView
android:contentDescription="@string/content_description_mark" android:contentDescription="@string/content_description_mark"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2" android:layout_weight="0.2"
android:adjustViewBounds="true" android:adjustViewBounds="true"
@ -35,7 +35,7 @@
<ImageView <ImageView
android:contentDescription="@string/content_description_mark" android:contentDescription="@string/content_description_mark"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2" android:layout_weight="0.2"
android:adjustViewBounds="true" android:adjustViewBounds="true"
@ -45,7 +45,7 @@
<ImageView <ImageView
android:contentDescription="@string/content_description_mark" android:contentDescription="@string/content_description_mark"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2" android:layout_weight="0.2"
android:adjustViewBounds="true" android:adjustViewBounds="true"
@ -55,7 +55,7 @@
<ImageView <ImageView
android:contentDescription="@string/content_description_mark" android:contentDescription="@string/content_description_mark"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2" android:layout_weight="0.2"
android:adjustViewBounds="true" android:adjustViewBounds="true"
@ -95,9 +95,10 @@
android:orientation="horizontal"> android:orientation="horizontal">
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2"> android:layout_weight="1"
android:adjustViewBounds="true">
<include layout="@layout/menu_history_button" /> <include layout="@layout/menu_history_button" />
@ -117,9 +118,9 @@
<ImageView <ImageView
android:id="@+id/dialer" android:id="@+id/dialer"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2" android:layout_weight="1"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:contentDescription="@string/content_description_dialer" android:contentDescription="@string/content_description_dialer"
@ -129,9 +130,10 @@
<RelativeLayout <RelativeLayout
android:id="@+id/completeChat" android:id="@+id/completeChat"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.2"> android:layout_weight="1"
android:adjustViewBounds="true">
<include layout="@layout/menu_chat_button" /> <include layout="@layout/menu_chat_button" />

View file

@ -4,7 +4,7 @@
android:visibility="gone" android:visibility="gone"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_weight="0.2" android:layout_weight="0.2"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageView <ImageView

View file

@ -4,7 +4,7 @@
android:visibility="gone" android:visibility="gone"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_weight="0.2" android:layout_weight="0.2"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageView <ImageView

View file

@ -2,9 +2,10 @@
<RelativeLayout <RelativeLayout
android:id="@+id/contacts" android:id="@+id/contacts"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_weight="0.2" android:layout_weight="1"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
android:adjustViewBounds="true">
<ImageView <ImageView
android:id="@+id/image" android:id="@+id/image"

View file

@ -2,9 +2,10 @@
<RelativeLayout <RelativeLayout
android:id="@+id/settings" android:id="@+id/settings"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_weight="0.2" android:layout_weight="1"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
android:adjustViewBounds="true">
<ImageView <ImageView
android:id="@+id/image" android:id="@+id/image"