| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
| 3 | |
| 4 Use of this source code is governed by a BSD-style license that can be | |
| 5 found in the LICENSE file. | |
| 6 --> | |
| 7 <FrameLayout | |
| 8 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 9 android:layout_width="match_parent" | |
| 10 android:layout_height="match_parent" > | |
| 11 | |
| 12 <ScrollView | |
| 13 android:id="@+id/scroll_view" | |
| 14 android:layout_width="match_parent" | |
| 15 android:layout_height="match_parent" | |
| 16 android:layout_marginBottom="57dp" | |
| 17 android:fillViewport="true" | |
| 18 android:scrollbarStyle="outsideOverlay" > | |
| 19 | |
| 20 <LinearLayout | |
| 21 android:layout_width="match_parent" | |
| 22 android:layout_height="wrap_content" | |
| 23 android:orientation="vertical" | |
| 24 android:gravity="center_horizontal" > | |
| 25 | |
| 26 <FrameLayout | |
| 27 android:id="@+id/image_view_wrapper" | |
| 28 android:layout_width="wrap_content" | |
| 29 android:layout_height="0dp" | |
| 30 android:layout_weight="1" > | |
| 31 | |
| 32 <ImageView | |
| 33 android:id="@+id/image_view" | |
| 34 android:layout_width="wrap_content" | |
| 35 android:layout_height="wrap_content" | |
| 36 android:contentDescription="@null" | |
| 37 android:src="@null" /> | |
| 38 </FrameLayout> | |
| 39 | |
| 40 <LinearLayout | |
| 41 android:layout_width="match_parent" | |
| 42 android:layout_height="wrap_content" | |
| 43 android:orientation="vertical" | |
| 44 android:padding="@dimen/fre_margin" > | |
| 45 | |
| 46 <TextView | |
| 47 android:id="@+id/title" | |
| 48 android:layout_width="match_parent" | |
| 49 android:layout_height="wrap_content" | |
| 50 android:layout_marginBottom="12dp" | |
| 51 android:gravity="center" | |
| 52 android:text="@null" | |
| 53 android:textColor="@color/fre_title_color" | |
| 54 android:textSize="@dimen/fre_title_text_size" /> | |
| 55 | |
| 56 <org.chromium.ui.widget.TextViewWithClickableSpans | |
| 57 android:id="@+id/text" | |
| 58 android:layout_width="match_parent" | |
| 59 android:layout_height="wrap_content" | |
| 60 android:gravity="center" | |
| 61 android:text="@null" | |
| 62 android:lineSpacingMultiplier="1.4" | |
| 63 android:textColor="@color/fre_light_text_color" | |
| 64 android:textSize="@dimen/fre_normal_text_size" /> | |
| 65 </LinearLayout> | |
| 66 </LinearLayout> | |
| 67 </ScrollView> | |
| 68 | |
| 69 <View | |
| 70 style="@style/ButtonBarTopDivider" | |
| 71 android:layout_gravity="bottom" | |
| 72 android:layout_marginBottom="56dp" /> | |
| 73 | |
| 74 <LinearLayout | |
| 75 android:id="@+id/button_bar" | |
| 76 android:layout_width="match_parent" | |
| 77 android:layout_height="56dp" | |
| 78 android:layout_gravity="bottom" | |
| 79 android:orientation="horizontal" > | |
| 80 | |
| 81 <!--suppress ButtonStyle --> | |
| 82 <Button | |
| 83 android:id="@+id/negative_button" | |
| 84 android:layout_width="0dp" | |
| 85 android:layout_height="match_parent" | |
| 86 android:layout_weight="1" | |
| 87 android:background="?attr/listChoiceBackgroundIndicator" | |
| 88 android:gravity="start|center_vertical" | |
| 89 android:textDirection="locale" | |
| 90 android:paddingStart="16dp" | |
| 91 android:paddingEnd="16dp" | |
| 92 android:text="@string/fre_settings" | |
| 93 android:textAllCaps="true" | |
| 94 android:textColor="@color/light_normal_color" | |
| 95 android:textSize="@dimen/fre_button_text_size" /> | |
| 96 | |
| 97 <!--suppress ButtonStyle --> | |
| 98 <Button | |
| 99 android:id="@+id/positive_button" | |
| 100 android:layout_width="0dp" | |
| 101 android:layout_height="match_parent" | |
| 102 android:layout_weight="1" | |
| 103 android:background="?attr/listChoiceBackgroundIndicator" | |
| 104 android:gravity="end|center_vertical" | |
| 105 android:textDirection="locale" | |
| 106 android:paddingStart="16dp" | |
| 107 android:paddingEnd="16dp" | |
| 108 android:text="@string/fre_next" | |
| 109 android:textAllCaps="true" | |
| 110 android:textColor="@color/light_active_color" | |
| 111 android:textSize="@dimen/fre_button_text_size" /> | |
| 112 </LinearLayout> | |
| 113 | |
| 114 </FrameLayout> | |
| OLD | NEW |