Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoot er | 6 <org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoot er |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:id="@+id/data_reduction_footer" | 9 android:id="@+id/data_reduction_footer" |
| 10 android:layout_width="match_parent" | 10 android:layout_width="match_parent" |
| 11 android:layout_height="wrap_content" | 11 android:layout_height="wrap_content" |
| 12 android:layout_gravity="start" | |
| 13 android:paddingTop="12dp" | |
| 14 android:paddingBottom="12dp" | |
| 15 android:orientation="vertical" | 12 android:orientation="vertical" |
| 16 style="@style/AppMenuItem" > | 13 android:background="#EDFAFAFA" > |
| 17 | 14 |
| 18 <TextView | 15 <View style="@style/Divider" /> |
| 19 android:id="@+id/menu_item_text" | 16 |
| 20 android:layout_width="wrap_content" | 17 <LinearLayout |
| 18 android:layout_width="match_parent" | |
| 21 android:layout_height="wrap_content" | 19 android:layout_height="wrap_content" |
| 22 android:text="@string/data_reduction_title" | 20 android:layout_gravity="start" |
| 23 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> | 21 android:paddingTop="12dp" |
| 22 android:paddingBottom="12dp" | |
| 23 android:orientation="horizontal" | |
| 24 style="@style/AppMenuItem" > | |
|
Ted C
2017/04/07 18:19:10
I think even if we want to keep AppMenuItem, we sh
megjablon
2017/04/07 20:03:26
Done. PTAL to make sure I understood correctly.
| |
| 24 | 25 |
| 25 <TextView | 26 <ImageView |
| 26 android:id="@+id/menu_item_summary" | 27 android:id="@+id/chart_icon" |
| 27 android:layout_width="wrap_content" | 28 android:src="@+drawable/data_reduction_main_menu_icon" |
| 28 android:layout_height="wrap_content" | 29 android:layout_width="wrap_content" |
| 29 android:textSize="14sp" | 30 android:layout_height="match_parent" |
| 30 android:textColor="@color/descriptive_text_color" /> | 31 android:contentDescription="@null" /> |
| 32 | |
| 33 <LinearLayout | |
| 34 android:layout_width="wrap_content" | |
| 35 android:layout_height="wrap_content" | |
| 36 android:orientation="vertical" | |
| 37 android:paddingStart="16dp" > | |
| 38 | |
| 39 <TextView | |
| 40 android:id="@+id/menu_item_text" | |
| 41 android:layout_width="wrap_content" | |
| 42 android:layout_height="wrap_content" | |
| 43 android:textSize="14sp" | |
| 44 android:textAppearance="@style/RobotoMediumStyle" /> | |
| 45 | |
| 46 <TextView | |
| 47 android:id="@+id/menu_item_summary" | |
| 48 android:layout_width="wrap_content" | |
| 49 android:layout_height="wrap_content" | |
| 50 android:textSize="14sp" | |
| 51 android:textColor="@color/descriptive_text_color" /> | |
| 52 </LinearLayout> | |
| 53 | |
| 54 </LinearLayout> | |
| 31 | 55 |
| 32 </org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoo ter> | 56 </org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoo ter> |
| OLD | NEW |