| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2013 The Chromium Authors. All rights reserved. | 3 Copyright 2013 The Chromium Authors. All rights reserved. |
| 4 | 4 |
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. | 6 found in the LICENSE file. |
| 7 --> | 7 --> |
| 8 | 8 |
| 9 <ScrollView | 9 <ScrollView |
| 10 xmlns:android="http://schemas.android.com/apk/res/android" | 10 xmlns:android="http://schemas.android.com/apk/res/android" |
| 11 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 11 xmlns:tools="http://schemas.android.com/tools" | 12 xmlns:tools="http://schemas.android.com/tools" |
| 12 tools:ignore="Overdraw" | 13 tools:ignore="Overdraw" |
| 13 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
| 14 android:layout_height="match_parent" | 15 android:layout_height="match_parent" |
| 15 android:background="#e6e6e6"> | 16 android:background="#e6e6e6"> |
| 16 | 17 |
| 17 <LinearLayout | 18 <LinearLayout |
| 18 android:layout_width="wrap_content" | 19 android:layout_width="wrap_content" |
| 19 android:layout_height="wrap_content" | 20 android:layout_height="wrap_content" |
| 20 android:layout_gravity="center_horizontal" | 21 android:layout_gravity="center_horizontal" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 <TextView | 35 <TextView |
| 35 android:id="@+id/sad_tab_title" | 36 android:id="@+id/sad_tab_title" |
| 36 android:layout_width="wrap_content" | 37 android:layout_width="wrap_content" |
| 37 android:layout_height="wrap_content" | 38 android:layout_height="wrap_content" |
| 38 android:layout_gravity="center_horizontal" | 39 android:layout_gravity="center_horizontal" |
| 39 android:layout_marginTop="15dp" | 40 android:layout_marginTop="15dp" |
| 40 android:text="@string/sad_tab_title" | 41 android:text="@string/sad_tab_title" |
| 41 android:textColor="#666" | 42 android:textColor="#666" |
| 42 android:textSize="20sp" /> | 43 android:textSize="20sp" /> |
| 43 | 44 |
| 44 <Button | 45 <org.chromium.chrome.browser.widget.ButtonCompat |
| 45 android:id="@+id/sad_tab_reload_button" | 46 android:id="@+id/sad_tab_reload_button" |
| 46 android:layout_width="wrap_content" | 47 android:layout_width="wrap_content" |
| 47 android:layout_height="wrap_content" | 48 android:layout_height="wrap_content" |
| 48 android:layout_gravity="center_horizontal" | 49 android:layout_gravity="center_horizontal" |
| 49 android:layout_marginTop="15dp" | 50 android:layout_marginTop="15dp" |
| 50 android:background="@drawable/sad_tab_reload_button" | |
| 51 android:text="@string/sad_tab_reload_label" | 51 android:text="@string/sad_tab_reload_label" |
| 52 android:textColor="#fff" | 52 android:textColor="#fff" |
| 53 android:textSize="13.8sp" | 53 chrome:buttonColor="@color/light_active_color" /> |
| 54 android:textStyle="bold" | |
| 55 android:paddingTop="8dp" | |
| 56 android:paddingBottom="8dp" | |
| 57 android:paddingStart="13dp" | |
| 58 android:paddingEnd="13dp" | |
| 59 android:minWidth="65dp" | |
| 60 android:minHeight="29dp" /> | |
| 61 | 54 |
| 62 <View | 55 <View |
| 63 android:layout_width="match_parent" | 56 android:layout_width="match_parent" |
| 64 android:layout_height="1dp" | 57 android:layout_height="1dp" |
| 65 android:layout_marginTop="15dp" | 58 android:layout_marginTop="15dp" |
| 66 android:background="#eee" /> | 59 android:background="#eee" /> |
| 67 | 60 |
| 68 <!-- Note: Using layout_width="wrap_content" and width="538dp" forces th
is TextView | 61 <!-- Note: Using layout_width="wrap_content" and width="538dp" forces th
is TextView |
| 69 to be as wide as possible up to a maximum width of 538dp. --> | 62 to be as wide as possible up to a maximum width of 538dp. --> |
| 70 <org.chromium.ui.widget.TextViewWithClickableSpans | 63 <org.chromium.ui.widget.TextViewWithClickableSpans |
| 71 android:id="@+id/sad_tab_message" | 64 android:id="@+id/sad_tab_message" |
| 72 android:layout_width="wrap_content" | 65 android:layout_width="wrap_content" |
| 73 android:layout_height="wrap_content" | 66 android:layout_height="wrap_content" |
| 74 android:background="@drawable/sad_tab_lower_panel_background" | 67 android:background="@drawable/sad_tab_lower_panel_background" |
| 75 android:paddingTop="18dp" | 68 android:paddingTop="18dp" |
| 76 android:paddingBottom="18dp" | 69 android:paddingBottom="18dp" |
| 77 android:paddingStart="20dp" | 70 android:paddingStart="20dp" |
| 78 android:paddingEnd="20dp" | 71 android:paddingEnd="20dp" |
| 79 android:textColor="#444" | 72 android:textColor="#444" |
| 80 android:textSize="13.8sp" | 73 android:textSize="13.8sp" |
| 81 android:width="538dp" /> | 74 android:width="538dp" /> |
| 82 </LinearLayout> | 75 </LinearLayout> |
| 83 | 76 |
| 84 </ScrollView> | 77 </ScrollView> |
| OLD | NEW |