Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: chrome/android/java/res/layout/four_button_menu_item.xml

Issue 307003005: [Android] Update AppMenu to use the same background as stock Android menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/android/java/res/layout/menu_item.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 3
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:layout_width="match_parent" 8 android:layout_width="match_parent"
9 android:layout_height="wrap_content" 9 android:layout_height="wrap_content"
10 android:layout_gravity="top|start" 10 android:layout_gravity="top|start"
11 android:orientation="horizontal"> 11 android:orientation="horizontal">
12 12
13 <ImageButton 13 <ImageButton
14 android:id="@+id/button_one" 14 android:id="@+id/button_one"
15 android:layout_width="wrap_content" 15 android:layout_width="wrap_content"
16 android:layout_height="match_parent" 16 android:layout_height="match_parent"
17 android:layout_weight="1" 17 android:layout_weight="1"
18 android:background="?android:attr/selectableItemBackground" 18 android:background="?android:attr/listChoiceBackgroundIndicator"
19 android:scaleType="center" /> 19 android:scaleType="center" />
20 20
21 <View 21 <View
22 android:layout_width="1dp" 22 android:layout_width="1dp"
23 android:layout_height="?android:attr/listPreferredItemHeightSmall" 23 android:layout_height="?android:attr/listPreferredItemHeightSmall"
24 android:background="?android:attr/listDivider" /> 24 android:background="?android:attr/listDivider" />
25 25
26 <ImageButton 26 <ImageButton
27 android:id="@+id/button_two" 27 android:id="@+id/button_two"
28 android:layout_width="wrap_content" 28 android:layout_width="wrap_content"
29 android:layout_height="match_parent" 29 android:layout_height="match_parent"
30 android:layout_weight="1" 30 android:layout_weight="1"
31 android:background="?android:attr/selectableItemBackground" 31 android:background="?android:attr/listChoiceBackgroundIndicator"
32 android:scaleType="center" /> 32 android:scaleType="center" />
33 33
34 <View 34 <View
35 android:layout_width="1dp" 35 android:layout_width="1dp"
36 android:layout_height="?android:attr/listPreferredItemHeightSmall" 36 android:layout_height="?android:attr/listPreferredItemHeightSmall"
37 android:background="?android:attr/listDivider" /> 37 android:background="?android:attr/listDivider" />
38 38
39 <ImageButton 39 <ImageButton
40 android:id="@+id/button_three" 40 android:id="@+id/button_three"
41 android:layout_width="wrap_content" 41 android:layout_width="wrap_content"
42 android:layout_height="match_parent" 42 android:layout_height="match_parent"
43 android:layout_weight="1" 43 android:layout_weight="1"
44 android:background="?android:attr/selectableItemBackground" 44 android:background="?android:attr/listChoiceBackgroundIndicator"
45 android:scaleType="center" /> 45 android:scaleType="center" />
46 46
47 <View 47 <View
48 android:layout_width="1dp" 48 android:layout_width="1dp"
49 android:layout_height="?android:attr/listPreferredItemHeightSmall" 49 android:layout_height="?android:attr/listPreferredItemHeightSmall"
50 android:background="?android:attr/listDivider" /> 50 android:background="?android:attr/listDivider" />
51 51
52 <ImageButton 52 <ImageButton
53 android:id="@+id/button_four" 53 android:id="@+id/button_four"
54 android:layout_width="wrap_content" 54 android:layout_width="wrap_content"
55 android:layout_height="match_parent" 55 android:layout_height="match_parent"
56 android:layout_weight="1" 56 android:layout_weight="1"
57 android:background="?android:attr/selectableItemBackground" 57 android:background="?android:attr/listChoiceBackgroundIndicator"
58 android:scaleType="center" /> 58 android:scaleType="center" />
59 59
60 </LinearLayout> 60 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/layout/menu_item.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698