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 <FrameLayout |
| 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:layout_marginTop="@dimen/divider_height" |
| 22 android:paddingTop="12dp" |
| 23 android:paddingBottom="12dp" |
| 24 android:orientation="horizontal" |
| 25 style="@style/AppMenuItem" > |
24 | 26 |
25 <TextView | 27 <ImageView |
26 android:id="@+id/menu_item_summary" | 28 android:id="@+id/chart_icon" |
27 android:layout_width="wrap_content" | 29 android:src="@+drawable/data_reduction_main_menu_icon" |
28 android:layout_height="wrap_content" | 30 android:layout_width="@dimen/data_reduction_main_menu_icon_width" |
29 android:textSize="14sp" | 31 android:layout_height="match_parent" |
30 android:textColor="@color/descriptive_text_color" /> | 32 android:layout_gravity="center_vertical" |
| 33 android:contentDescription="@null" /> |
| 34 |
| 35 <LinearLayout |
| 36 android:layout_width="wrap_content" |
| 37 android:layout_height="wrap_content" |
| 38 android:layout_marginStart="@dimen/data_reduction_main_menu_icon_wid
th" |
| 39 android:orientation="vertical" |
| 40 android:paddingStart="16dp" > |
| 41 |
| 42 <TextView |
| 43 android:id="@+id/menu_item_text" |
| 44 android:layout_width="wrap_content" |
| 45 android:layout_height="wrap_content" |
| 46 android:textSize="14sp" |
| 47 android:textAppearance="@style/RobotoMediumStyle" /> |
| 48 |
| 49 <TextView |
| 50 android:id="@+id/menu_item_summary" |
| 51 android:layout_width="wrap_content" |
| 52 android:layout_height="wrap_content" |
| 53 android:textSize="14sp" |
| 54 android:textColor="@color/descriptive_text_color" /> |
| 55 </LinearLayout> |
| 56 |
| 57 </FrameLayout> |
31 | 58 |
32 </org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoo
ter> | 59 </org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoo
ter> |
OLD | NEW |