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

Side by Side Diff: chrome/android/java/res/layout/tab_switcher_callout.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 2016 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2016 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 <LinearLayout 6 <LinearLayout
7 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:android="http://schemas.android.com/apk/res/android"
8 android:layout_width="wrap_content" 8 android:layout_width="wrap_content"
9 android:layout_height="wrap_content" 9 android:layout_height="wrap_content"
10 android:orientation="vertical" 10 android:orientation="vertical"
11 android:padding="@dimen/infobar_padding" > 11 android:padding="@dimen/infobar_padding" >
12 12
13 <TextView 13 <TextView
14 android:id="@+id/header_view" 14 android:id="@+id/header_view"
15 android:layout_width="wrap_content" 15 android:layout_width="wrap_content"
16 android:layout_height="wrap_content" 16 android:layout_height="wrap_content"
17 android:fontFamily="sans-serif-medium" 17 android:fontFamily="sans-serif-medium"
18 android:text="@string/tab_switcher_callout_header" 18 android:text="@string/tab_switcher_callout_header"
19 android:textSize="@dimen/infobar_big_icon_message_size" 19 android:textSize="@dimen/infobar_big_icon_message_size" />
20 android:textColor="@color/default_text_color" />
21 20
22 <TextView 21 <TextView
23 android:id="@+id/description_view" 22 android:id="@+id/description_view"
24 android:layout_width="wrap_content" 23 android:layout_width="wrap_content"
25 android:layout_height="wrap_content" 24 android:layout_height="wrap_content"
26 android:layout_marginTop="8dp" 25 android:layout_marginTop="8dp"
27 android:text="@string/tab_switcher_callout_body" 26 android:text="@string/tab_switcher_callout_body"
28 android:textSize="@dimen/infobar_descriptive_text_size" 27 android:textSize="@dimen/infobar_descriptive_text_size"
29 android:textColor="@color/descriptive_text_color" /> 28 android:textColor="@color/descriptive_text_color" />
30 29
31 <Button 30 <Button
32 android:id="@+id/confirm_button" 31 android:id="@+id/confirm_button"
33 android:layout_width="wrap_content" 32 android:layout_width="wrap_content"
34 android:layout_height="wrap_content" 33 android:layout_height="wrap_content"
35 android:layout_marginTop="24dp" 34 android:layout_marginTop="24dp"
36 android:layout_gravity="end" 35 android:layout_gravity="end"
37 android:background="?android:attr/selectableItemBackground" 36 android:background="?android:attr/selectableItemBackground"
38 android:paddingStart="16dp" 37 android:paddingStart="16dp"
39 android:paddingEnd="16dp" 38 android:paddingEnd="16dp"
40 android:text="@string/ok_got_it" 39 android:text="@string/ok_got_it"
41 android:textColor="@color/infobar_accent_blue" /> 40 android:textColor="@color/infobar_accent_blue" />
42 41
43 </LinearLayout> 42 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698