| 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 <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" /> |
| 20 | 21 |
| 21 <TextView | 22 <TextView |
| 22 android:id="@+id/description_view" | 23 android:id="@+id/description_view" |
| 23 android:layout_width="wrap_content" | 24 android:layout_width="wrap_content" |
| 24 android:layout_height="wrap_content" | 25 android:layout_height="wrap_content" |
| 25 android:layout_marginTop="8dp" | 26 android:layout_marginTop="8dp" |
| 26 android:text="@string/tab_switcher_callout_body" | 27 android:text="@string/tab_switcher_callout_body" |
| 27 android:textSize="@dimen/infobar_descriptive_text_size" | 28 android:textSize="@dimen/infobar_descriptive_text_size" |
| 28 android:textColor="@color/descriptive_text_color" /> | 29 android:textColor="@color/descriptive_text_color" /> |
| 29 | 30 |
| 30 <Button | 31 <Button |
| 31 android:id="@+id/confirm_button" | 32 android:id="@+id/confirm_button" |
| 32 android:layout_width="wrap_content" | 33 android:layout_width="wrap_content" |
| 33 android:layout_height="wrap_content" | 34 android:layout_height="wrap_content" |
| 34 android:layout_marginTop="24dp" | 35 android:layout_marginTop="24dp" |
| 35 android:layout_gravity="end" | 36 android:layout_gravity="end" |
| 36 android:background="?android:attr/selectableItemBackground" | 37 android:background="?android:attr/selectableItemBackground" |
| 37 android:paddingStart="16dp" | 38 android:paddingStart="16dp" |
| 38 android:paddingEnd="16dp" | 39 android:paddingEnd="16dp" |
| 39 android:text="@string/ok_got_it" | 40 android:text="@string/ok_got_it" |
| 40 android:textColor="@color/infobar_accent_blue" /> | 41 android:textColor="@color/infobar_accent_blue" /> |
| 41 | 42 |
| 42 </LinearLayout> | 43 </LinearLayout> |
| OLD | NEW |