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

Side by Side Diff: chrome/android/java/res/layout/payment_request_header.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 <!-- Header containing information about the site. 6 <!-- Header containing information about the site.
7 Java code inflating this layout manages the hiding and adjustment of elemen ts in the layout. 7 Java code inflating this layout manages the hiding and adjustment of elemen ts in the layout.
8 Request dialog: Displays an X in the top right corner, allowing the user to close it. 8 Request dialog: Displays an X in the top right corner, allowing the user to close it.
9 Result dialog: Displays no X. Title goes all the way to the end. 9 Result dialog: Displays no X. Title goes all the way to the end.
10 --> 10 -->
(...skipping 20 matching lines...) Expand all
31 android:layout_height="wrap_content" 31 android:layout_height="wrap_content"
32 android:layout_width="wrap_content" 32 android:layout_width="wrap_content"
33 android:layout_marginStart="56dp" 33 android:layout_marginStart="56dp"
34 android:layout_marginEnd="56dp" 34 android:layout_marginEnd="56dp"
35 android:layout_marginBottom="@dimen/payments_section_vertical_spacin g" 35 android:layout_marginBottom="@dimen/payments_section_vertical_spacin g"
36 android:layout_marginTop="@dimen/payments_section_vertical_spacing" 36 android:layout_marginTop="@dimen/payments_section_vertical_spacing"
37 android:layout_gravity="center_vertical" 37 android:layout_gravity="center_vertical"
38 android:orientation="vertical"> 38 android:orientation="vertical">
39 39
40 <TextView 40 <TextView
41 style="@style/PaymentsUiSectionDefaultText"
41 android:id="@+id/page_title" 42 android:id="@+id/page_title"
42 android:layout_height="wrap_content" 43 android:layout_height="wrap_content"
43 android:layout_width="wrap_content" 44 android:layout_width="wrap_content"
44 android:ellipsize="end" 45 android:ellipsize="end"
45 android:maxLines="1" 46 android:maxLines="1"
46 android:singleLine="true" 47 android:singleLine="true"
47 android:textColor="@color/default_text_color"
48 android:textSize="16sp"
49 android:textStyle="bold" /> 48 android:textStyle="bold" />
50 49
51 <TextView 50 <TextView
52 android:id="@+id/hostname" 51 android:id="@+id/hostname"
53 android:layout_height="wrap_content" 52 android:layout_height="wrap_content"
54 android:layout_width="wrap_content" 53 android:layout_width="wrap_content"
55 android:ellipsize="start" 54 android:ellipsize="start"
56 android:maxLines="1" 55 android:maxLines="1"
57 android:singleLine="true" 56 android:singleLine="true"
58 android:textColor="@color/descriptive_text_color" 57 android:textColor="@color/descriptive_text_color"
59 android:textSize="14sp" /> 58 android:textSize="14sp" />
60 </LinearLayout> 59 </LinearLayout>
61 60
62 <ImageView 61 <ImageView
63 android:id="@+id/close_button" 62 android:id="@+id/close_button"
64 android:layout_gravity="end|center_vertical" 63 android:layout_gravity="end|center_vertical"
65 android:layout_height="56dp" 64 android:layout_height="56dp"
66 android:layout_width="56dp" 65 android:layout_width="56dp"
67 android:src="@drawable/btn_close" 66 android:src="@drawable/btn_close"
68 android:contentDescription="@string/close" 67 android:contentDescription="@string/close"
69 android:background="?attr/selectableItemBackground" 68 android:background="?attr/selectableItemBackground"
70 android:scaleType="center" /> 69 android:scaleType="center" />
71 </FrameLayout> 70 </FrameLayout>
72 71
73 </merge> 72 </merge>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698