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

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

Issue 2365733002: Inherit default text color from MainTheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated CL with android:textColor added through DownloadsActivityTheme as well as reusing style/Pay… Created 4 years, 2 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
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.preferences.datareduction.DataReductionPromoView 6 <org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView
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 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 android:id="@+id/text_wrapper" 50 android:id="@+id/text_wrapper"
51 android:layout_height="wrap_content" 51 android:layout_height="wrap_content"
52 android:layout_width="wrap_content" 52 android:layout_width="wrap_content"
53 android:orientation="vertical" > 53 android:orientation="vertical" >
54 54
55 <TextView 55 <TextView
56 android:layout_height="wrap_content" 56 android:layout_height="wrap_content"
57 android:layout_width="match_parent" 57 android:layout_width="match_parent"
58 android:layout_marginBottom="8dp" 58 android:layout_marginBottom="8dp"
59 android:text="@string/data_reduction_promo_title" 59 android:text="@string/data_reduction_promo_title"
60 android:textColor="@color/default_text_color"
61 android:textSize="@dimen/data_reduction_promo_title_ text_size" /> 60 android:textSize="@dimen/data_reduction_promo_title_ text_size" />
62 61
63 <TextView 62 <TextView
64 android:layout_height="wrap_content" 63 android:layout_height="wrap_content"
65 android:layout_width="match_parent" 64 android:layout_width="match_parent"
66 android:layout_marginBottom="30dp" 65 android:layout_marginBottom="30dp"
67 android:lineSpacingMultiplier="1.3" 66 android:lineSpacingMultiplier="1.3"
68 android:text="@string/data_reduction_promo_summary" 67 android:text="@string/data_reduction_promo_summary"
69 android:textColor="#646464" 68 android:textColor="#646464"
70 android:textSize="@dimen/data_reduction_promo_normal _text_size" /> 69 android:textSize="@dimen/data_reduction_promo_normal _text_size" />
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 android:layout_height="56dp" 109 android:layout_height="56dp"
111 android:layout_width="56dp" 110 android:layout_width="56dp"
112 android:layout_alignParentEnd="true" 111 android:layout_alignParentEnd="true"
113 android:layout_alignParentTop="true" 112 android:layout_alignParentTop="true"
114 android:background="?android:attr/selectableItemBackground" 113 android:background="?android:attr/selectableItemBackground"
115 android:contentDescription="@string/close" 114 android:contentDescription="@string/close"
116 android:src="@drawable/btn_close" /> 115 android:src="@drawable/btn_close" />
117 116
118 </RelativeLayout> 117 </RelativeLayout>
119 </org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView> 118 </org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698