OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. | |
5 --> | |
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
7 style="@style/AppMenuItem" | |
8 android:layout_width="match_parent" | |
9 android:layout_height="wrap_content" | |
10 android:paddingTop="12dp" | |
11 android:paddingBottom="12dp" | |
12 android:orientation="horizontal" > | |
gone
2015/12/08 22:24:23
----------------------------------------------
New
Theresa
2015/12/10 03:53:17
Done.
| |
13 <LinearLayout | |
gone
2015/12/08 22:24:23
nit: indentation's wonky.
Theresa
2015/12/10 03:53:17
Done.
| |
14 android:layout_width="match_parent" | |
15 android:layout_height="wrap_content" | |
16 android:layout_weight="1" | |
17 android:layout_gravity="start" | |
18 android:paddingEnd="9dp" | |
19 android:orientation="vertical" > | |
20 <TextView | |
21 android:id="@+id/menu_item_text" | |
22 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" | |
23 android:textColor="#DC5554" | |
gone
2015/12/08 22:24:23
I think convention is to use lowercase instead of
Theresa
2015/12/10 03:53:17
Done.
| |
24 android:layout_width="wrap_content" | |
25 android:layout_height="match_parent"/> | |
26 <TextView | |
27 android:id="@+id/menu_item_summary" | |
28 android:textAppearance="?android:attr/textAppearanceSmallPopupMenu" | |
29 android:textSize="12sp" | |
30 android:textColor="#646464" | |
31 android:layout_width="wrap_content" | |
32 android:layout_height="match_parent" /> | |
33 </LinearLayout> | |
34 <view | |
gone
2015/12/08 22:24:23
Can't you just use
<org.chromium.chrome.browser.ap
Theresa
2015/12/10 03:53:17
Done. Here and in menu_item.xml
| |
35 class="org.chromium.chrome.browser.appmenu.AppMenuItemIcon" | |
36 android:id="@+id/menu_item_icon" | |
37 android:layout_weight="0" | |
38 android:layout_width="wrap_content" | |
39 android:layout_height="match_parent" | |
40 android:layout_gravity="end" | |
41 android:gravity="center_vertical" /> | |
42 </LinearLayout> | |
OLD | NEW |