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

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

Issue 2807063008: Update Data Saver menu footer xml to support RTL layout (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | 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 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:orientation="vertical" 12 android:orientation="vertical"
13 android:background="#EDFAFAFA" > 13 android:background="#EDFAFAFA" >
14 14
15 <View style="@style/Divider" /> 15 <View style="@style/Divider" />
16 16
17 <FrameLayout 17 <FrameLayout
18 android:layout_width="match_parent" 18 android:layout_width="match_parent"
19 android:layout_height="wrap_content" 19 android:layout_height="wrap_content"
20 android:layout_gravity="start" 20 android:layout_gravity="start"
21 android:layout_marginTop="@dimen/divider_height" 21 android:layout_marginTop="@dimen/divider_height"
22 android:paddingTop="12dp" 22 android:paddingTop="12dp"
23 android:paddingBottom="12dp" 23 android:paddingBottom="12dp"
24 android:orientation="horizontal"
25 style="@style/AppMenuItem" > 24 style="@style/AppMenuItem" >
26 25
27 <ImageView 26 <ImageView
28 android:id="@+id/chart_icon" 27 android:id="@+id/chart_icon"
29 android:src="@+drawable/data_reduction_main_menu_icon" 28 android:src="@+drawable/data_reduction_main_menu_icon"
30 android:layout_width="@dimen/data_reduction_main_menu_icon_width" 29 android:layout_width="@dimen/data_reduction_main_menu_icon_width"
31 android:layout_height="match_parent" 30 android:layout_height="match_parent"
32 android:layout_gravity="center_vertical" 31 android:layout_gravity="start|center_vertical"
33 android:contentDescription="@null" /> 32 android:contentDescription="@null" />
34 33
35 <LinearLayout 34 <LinearLayout
36 android:layout_width="wrap_content" 35 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" 36 android:layout_height="match_parent"
38 android:layout_marginStart="@dimen/data_reduction_main_menu_icon_wid th" 37 android:layout_marginStart="@dimen/data_reduction_main_menu_icon_wid th"
39 android:orientation="vertical" 38 android:orientation="vertical"
40 android:paddingStart="16dp" > 39 android:paddingStart="16dp" >
41 40
42 <TextView 41 <TextView
43 android:id="@+id/menu_item_text" 42 android:id="@+id/menu_item_text"
44 android:layout_width="wrap_content" 43 android:layout_width="wrap_content"
45 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
46 android:textSize="14sp" 45 android:textSize="14sp"
47 android:textAppearance="@style/RobotoMediumStyle" /> 46 android:textAppearance="@style/RobotoMediumStyle" />
48 47
49 <TextView 48 <TextView
50 android:id="@+id/menu_item_summary" 49 android:id="@+id/menu_item_summary"
51 android:layout_width="wrap_content" 50 android:layout_width="wrap_content"
52 android:layout_height="wrap_content" 51 android:layout_height="wrap_content"
53 android:textSize="14sp" 52 android:textSize="14sp"
54 android:textColor="@color/descriptive_text_color" /> 53 android:textColor="@color/descriptive_text_color" />
55 </LinearLayout> 54 </LinearLayout>
56 55
57 </FrameLayout> 56 </FrameLayout>
58 57
59 </org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoo ter> 58 </org.chromium.chrome.browser.preferences.datareduction.DataReductionMainMenuFoo ter>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698