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

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

Issue 377083002: Update menu look and feel on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
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="?android:attr/listPreferredItemHeightSmall"> 9 android:layout_height="?android:attr/listPreferredItemHeightSmall"
10 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
11 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
10 12
11 <TextView 13 <TextView
12 android:id="@+id/title" 14 android:id="@+id/title"
13 android:layout_width="wrap_content" 15 android:layout_width="wrap_content"
14 android:layout_height="?android:attr/listPreferredItemHeightSmall" 16 android:layout_height="?android:attr/listPreferredItemHeightSmall"
15 android:layout_gravity="start" 17 android:layout_gravity="start"
16 android:layout_weight="1" 18 android:layout_weight="1"
17 android:background="?android:attr/listChoiceBackgroundIndicator" 19 android:background="?android:attr/listChoiceBackgroundIndicator"
18 android:gravity="center_vertical" 20 android:gravity="center_vertical"
19 android:paddingEnd="9dp" 21 android:paddingEnd="9dp"
20 android:paddingStart="9dp"
21 android:singleLine="true" 22 android:singleLine="true"
22 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> 23 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" />
23 24
24 <View
25 android:id="@+id/divider"
26 android:layout_width="1dp"
27 android:layout_height="match_parent"
28 android:background="?android:attr/listDivider" />
29
30 <ImageButton 25 <ImageButton
31 android:id="@+id/button" 26 android:id="@+id/button"
32 android:layout_width="48dp" 27 android:layout_width="48dp"
33 android:layout_height="48dp" 28 android:layout_height="48dp"
34 android:background="?android:attr/listChoiceBackgroundIndicator" 29 android:background="?android:attr/listChoiceBackgroundIndicator"
35 android:padding="10dp" 30 android:paddingStart="10dp"
31 android:paddingTop="10dp"
32 android:paddingBottom="10dp"
36 android:scaleType="fitCenter" /> 33 android:scaleType="fitCenter" />
37 34
38 </LinearLayout> 35 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698