Commit 40bbd98b authored by aurimas@chromium.org's avatar aurimas@chromium.org

[Android] Update AppMenu to use the same background as stock Android menu.

BUG=369680

Review URL: https://codereview.chromium.org/307003005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274028 0039d316-1c4b-4281-b951-d872f2087c98
parent 2b8a2b93
......@@ -15,7 +15,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
<View
......@@ -28,7 +28,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
<View
......@@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
<View
......@@ -54,7 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
</LinearLayout>
\ No newline at end of file
......@@ -8,7 +8,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground">
android:background="?android:attr/listChoiceBackgroundIndicator">
<TextView
android:id="@+id/menu_item_text"
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
......
......@@ -15,7 +15,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
<View
......@@ -28,7 +28,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
<View
......@@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:scaleType="center" />
</LinearLayout>
\ No newline at end of file
......@@ -6,8 +6,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeightSmall"
android:background="?android:attr/selectableItemBackground" >
android:layout_height="?android:attr/listPreferredItemHeightSmall">
<Button
android:id="@+id/title"
......@@ -15,7 +14,7 @@
android:layout_height="?android:attr/listPreferredItemHeightSmall"
android:layout_gravity="start"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:gravity="center_vertical"
android:paddingEnd="9dp"
android:paddingStart="9dp"
......@@ -32,7 +31,7 @@
android:id="@+id/button"
android:layout_width="48dp"
android:layout_height="48dp"
android:background="?android:attr/selectableItemBackground"
android:background="?android:attr/listChoiceBackgroundIndicator"
android:padding="10dp"
android:scaleType="fitCenter" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment