| OLD | NEW |
| 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 Loading... |
| 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" | |
| 42 android:id="@+id/page_title" | 41 android:id="@+id/page_title" |
| 43 android:layout_height="wrap_content" | 42 android:layout_height="wrap_content" |
| 44 android:layout_width="wrap_content" | 43 android:layout_width="wrap_content" |
| 45 android:ellipsize="end" | 44 android:ellipsize="end" |
| 46 android:maxLines="1" | 45 android:maxLines="1" |
| 47 android:singleLine="true" | 46 android:singleLine="true" |
| 47 android:textColor="@color/default_text_color" |
| 48 android:textSize="16sp" |
| 48 android:textStyle="bold" /> | 49 android:textStyle="bold" /> |
| 49 | 50 |
| 50 <TextView | 51 <TextView |
| 51 android:id="@+id/hostname" | 52 android:id="@+id/hostname" |
| 52 android:layout_height="wrap_content" | 53 android:layout_height="wrap_content" |
| 53 android:layout_width="wrap_content" | 54 android:layout_width="wrap_content" |
| 54 android:ellipsize="start" | 55 android:ellipsize="start" |
| 55 android:maxLines="1" | 56 android:maxLines="1" |
| 56 android:singleLine="true" | 57 android:singleLine="true" |
| 57 android:textColor="@color/descriptive_text_color" | 58 android:textColor="@color/descriptive_text_color" |
| 58 android:textSize="14sp" /> | 59 android:textSize="14sp" /> |
| 59 </LinearLayout> | 60 </LinearLayout> |
| 60 | 61 |
| 61 <ImageView | 62 <ImageView |
| 62 android:id="@+id/close_button" | 63 android:id="@+id/close_button" |
| 63 android:layout_gravity="end|center_vertical" | 64 android:layout_gravity="end|center_vertical" |
| 64 android:layout_height="56dp" | 65 android:layout_height="56dp" |
| 65 android:layout_width="56dp" | 66 android:layout_width="56dp" |
| 66 android:src="@drawable/btn_close" | 67 android:src="@drawable/btn_close" |
| 67 android:contentDescription="@string/close" | 68 android:contentDescription="@string/close" |
| 68 android:background="?attr/selectableItemBackground" | 69 android:background="?attr/selectableItemBackground" |
| 69 android:scaleType="center" /> | 70 android:scaleType="center" /> |
| 70 </FrameLayout> | 71 </FrameLayout> |
| 71 | 72 |
| 72 </merge> | 73 </merge> |
| OLD | NEW |