Implement MoveFileLocal (with creating a snapshot).
[chromium-blink-merge.git] / chrome / android / java / res / layout / fre_page.xml
blob82a340f0e96eb138bc1b8c19e2cf752f788ba09e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
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" >
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" >
20         <LinearLayout
21             android:layout_width="match_parent"
22             android:layout_height="wrap_content"
23             android:orientation="vertical"
24             android:gravity="center_horizontal" >
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" >
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>
40             <LinearLayout
41                 android:layout_width="match_parent"
42                 android:layout_height="wrap_content"
43                 android:orientation="vertical"
44                 android:padding="@dimen/fre_margin" >
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" />
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>
69     <View
70         style="@style/ButtonBarTopDivider"
71         android:layout_gravity="bottom"
72         android:layout_marginBottom="56dp" />
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" >
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:padding="16dp"
91             android:text="@string/fre_settings"
92             android:textAllCaps="true"
93             android:textColor="@color/light_normal_color"
94             android:textSize="@dimen/fre_button_text_size" />
96         <!--suppress ButtonStyle -->
97         <Button
98             android:id="@+id/positive_button"
99             android:layout_width="0dp"
100             android:layout_height="match_parent"
101             android:layout_weight="1"
102             android:background="?attr/listChoiceBackgroundIndicator"
103             android:gravity="end|center_vertical"
104             android:textDirection="locale"
105             android:padding="16dp"
106             android:text="@string/fre_next"
107             android:textAllCaps="true"
108             android:textColor="@color/light_active_color"
109             android:textSize="@dimen/fre_button_text_size" />
110     </LinearLayout>
112 </FrameLayout>