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

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

Issue 1011363006: Data Saver promo changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing uma and link color fix Created 5 years, 9 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 | chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/DataReductionPromoScreen.java » ('j') | 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 2015 The Chromium Authors. All rights reserved. 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 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.widget.PaddedFrameLayout 6 <org.chromium.chrome.browser.widget.PaddedFrameLayout
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:background="#c000" 9 android:background="#c000"
10 chrome:maxChildWidth="@dimen/data_reduction_promo_screen_width" 10 chrome:maxChildWidth="@dimen/data_reduction_promo_screen_width"
(...skipping 27 matching lines...) Expand all
38 android:layout_width="wrap_content" 38 android:layout_width="wrap_content"
39 android:src="@drawable/product_logo_name" 39 android:src="@drawable/product_logo_name"
40 android:contentDescription="@null" /> 40 android:contentDescription="@null" />
41 <LinearLayout 41 <LinearLayout
42 android:id="@+id/data_reduction_invitation_text" 42 android:id="@+id/data_reduction_invitation_text"
43 android:layout_below="@+id/google_icon" 43 android:layout_below="@+id/google_icon"
44 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
45 android:layout_marginTop="35dp" 45 android:layout_marginTop="35dp"
46 android:layout_width="match_parent" 46 android:layout_width="match_parent"
47 android:orientation="vertical" 47 android:orientation="vertical"
48 android:paddingStart="40dp" 48 android:paddingStart="20dp"
49 android:paddingEnd="40dp"> 49 android:paddingEnd="20dp">
50 <TextView 50 <TextView
51 android:gravity="center" 51 android:gravity="center"
52 android:layout_height="wrap_content" 52 android:layout_height="wrap_content"
53 android:layout_width="match_parent" 53 android:layout_width="match_parent"
54 android:text="@string/data_reduction_title_1" 54 android:text="@string/data_reduction_title_1"
55 android:textColor="#000" 55 android:textColor="#000"
56 android:textSize="30sp" /> 56 android:textSize="28sp" />
57 <TextView 57 <org.chromium.ui.widget.TextViewWithClickableSpans
58 android:id="@+id/data_reduction_title_2_link"
58 android:gravity="center" 59 android:gravity="center"
59 android:layout_height="wrap_content" 60 android:layout_height="wrap_content"
60 android:layout_marginTop="20dp" 61 android:layout_marginTop="20dp"
61 android:layout_width="match_parent" 62 android:layout_width="match_parent"
62 android:lineSpacingExtra="20dp" 63 android:lineSpacingExtra="20sp"
63 android:lineSpacingMultiplier="0" 64 android:lineSpacingMultiplier="0"
64 android:paddingStart="20dp" 65 android:textColor="#333"
65 android:paddingEnd="20dp" 66 android:textColorLink="#27b4e7"
66 android:text="@string/data_reduction_title_2"
67 android:textColor="#969696"
68 android:textSize="16sp" /> 67 android:textSize="16sp" />
69 <TextView 68 <TextView
70 android:gravity="center" 69 android:gravity="center"
71 android:layout_height="wrap_content" 70 android:layout_height="wrap_content"
72 android:layout_marginTop="20dp" 71 android:layout_marginTop="20dp"
73 android:layout_width="match_parent" 72 android:layout_width="match_parent"
74 android:lineSpacingExtra="25dp" 73 android:lineSpacingExtra="20sp"
75 android:lineSpacingMultiplier="0" 74 android:lineSpacingMultiplier="0"
76 android:text="@string/data_reduction_title_3" 75 android:text="@string/data_reduction_title_3"
77 android:textColor="#000" 76 android:textColor="#333"
78 android:textSize="20sp" /> 77 android:textSize="16sp" />
79 </LinearLayout> 78 </LinearLayout>
80 <ImageView 79 <ImageView
81 android:layout_alignParentBottom="true" 80 android:layout_alignParentBottom="true"
82 android:layout_height="198dp" 81 android:layout_height="198dp"
83 android:layout_width="@dimen/data_reduction_promo_screen_width" 82 android:layout_width="@dimen/data_reduction_promo_screen_width"
84 android:scaleType="matrix" 83 android:scaleType="matrix"
85 android:adjustViewBounds="true" 84 android:adjustViewBounds="true"
86 android:src="@drawable/graph_illustration" 85 android:src="@drawable/graph_illustration"
87 android:contentDescription="@null" /> 86 android:contentDescription="@null" />
88 <LinearLayout 87 <LinearLayout
(...skipping 20 matching lines...) Expand all
109 android:layout_height="wrap_content" 108 android:layout_height="wrap_content"
110 android:layout_marginTop="10dp" 109 android:layout_marginTop="10dp"
111 android:minHeight="48dp" 110 android:minHeight="48dp"
112 android:text="@string/no_thanks" 111 android:text="@string/no_thanks"
113 android:textColor="#666" 112 android:textColor="#666"
114 chrome:buttonColor="@color/default_primary_color" /> 113 chrome:buttonColor="@color/default_primary_color" />
115 </LinearLayout> 114 </LinearLayout>
116 </RelativeLayout> 115 </RelativeLayout>
117 </ScrollView> 116 </ScrollView>
118 </org.chromium.chrome.browser.widget.PaddedFrameLayout> 117 </org.chromium.chrome.browser.widget.PaddedFrameLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/DataReductionPromoScreen.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698