OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- |
| 3 Copyright 2013 The Chromium Authors. All rights reserved. |
| 4 |
| 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. |
| 7 --> |
| 8 |
| 9 <ScrollView |
| 10 xmlns:android="http://schemas.android.com/apk/res/android" |
| 11 xmlns:tools="http://schemas.android.com/tools" |
| 12 tools:ignore="Overdraw" |
| 13 android:layout_width="match_parent" |
| 14 android:layout_height="match_parent" |
| 15 android:background="#e6e6e6"> |
| 16 |
| 17 <LinearLayout |
| 18 android:layout_width="wrap_content" |
| 19 android:layout_height="wrap_content" |
| 20 android:layout_gravity="center_horizontal" |
| 21 android:background="@drawable/sad_tab_background" |
| 22 android:orientation="vertical" |
| 23 android:padding="16dp"> |
| 24 |
| 25 <ImageView |
| 26 android:id="@+id/sad_tab_image" |
| 27 android:layout_width="wrap_content" |
| 28 android:layout_height="wrap_content" |
| 29 android:layout_gravity="center_horizontal" |
| 30 android:layout_marginTop="17dp" |
| 31 android:src="@drawable/sad_tab" |
| 32 android:contentDescription="@null" /> |
| 33 |
| 34 <TextView |
| 35 android:id="@+id/sad_tab_title" |
| 36 android:layout_width="wrap_content" |
| 37 android:layout_height="wrap_content" |
| 38 android:layout_gravity="center_horizontal" |
| 39 android:layout_marginTop="15dp" |
| 40 android:text="@string/sad_tab_title" |
| 41 android:textColor="#666" |
| 42 android:textSize="20sp" /> |
| 43 |
| 44 <Button |
| 45 android:id="@+id/sad_tab_reload_button" |
| 46 android:layout_width="wrap_content" |
| 47 android:layout_height="wrap_content" |
| 48 android:layout_gravity="center_horizontal" |
| 49 android:layout_marginTop="15dp" |
| 50 android:background="@drawable/sad_tab_reload_button" |
| 51 android:text="@string/sad_tab_reload_label" |
| 52 android:textColor="#fff" |
| 53 android:textSize="13.8sp" |
| 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 |
| 62 <View |
| 63 android:layout_width="match_parent" |
| 64 android:layout_height="1dp" |
| 65 android:layout_marginTop="15dp" |
| 66 android:background="#eee" /> |
| 67 |
| 68 <!-- 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. --> |
| 70 <org.chromium.ui.widget.TextViewWithClickableSpans |
| 71 android:id="@+id/sad_tab_message" |
| 72 android:layout_width="wrap_content" |
| 73 android:layout_height="wrap_content" |
| 74 android:background="@drawable/sad_tab_lower_panel_background" |
| 75 android:paddingTop="18dp" |
| 76 android:paddingBottom="18dp" |
| 77 android:paddingStart="20dp" |
| 78 android:paddingEnd="20dp" |
| 79 android:textColor="#444" |
| 80 android:textSize="13.8sp" |
| 81 android:width="538dp" /> |
| 82 </LinearLayout> |
| 83 |
| 84 </ScrollView> |
OLD | NEW |