OSDN Git Service

Merge "Revert "Give CropActivity minimal touchpad support."" into gb-ub-photos-carlsbad
[android-x86/packages-apps-Gallery2.git] / res / layout / filtershow_info_panel.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2013 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18               android:layout_width="match_parent"
19               android:layout_height="match_parent"
20               android:orientation="vertical"
21               android:background="#3a4e56">
22
23     <LinearLayout
24             android:layout_width="match_parent"
25             android:layout_height="wrap_content"
26             android:orientation="horizontal"
27             android:background="#222">
28
29         <ImageButton
30                 android:id="@+id/cancelInfo"
31                 android:layout_width="wrap_content"
32                 android:layout_height="fill_parent"
33                 android:layout_gravity="left|center_vertical"
34                 android:background="@android:color/transparent"
35                 android:layout_weight=".1"
36                 android:gravity="left"
37                 android:src="@drawable/ic_menu_cancel_holo_light"
38                 android:textSize="18dip"/>
39
40         <ImageView
41                 android:layout_width="2dp"
42                 android:layout_height="fill_parent"
43                 android:src="@drawable/filtershow_vertical_bar"/>
44
45         <TextView
46                 style="?android:textAppearanceLarge"
47                 android:textStyle="bold"
48                 android:textColor="#fff"
49                 android:layout_weight="1"
50                 android:layout_gravity="left|center_vertical"
51                 android:layout_width="match_parent"
52                 android:layout_height="wrap_content"
53                 android:padding="8dip"
54                 android:text="@string/filtershow_show_info_panel"/>
55
56     </LinearLayout>
57
58     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
59                   android:layout_width="match_parent"
60                   android:layout_height="match_parent"
61                   android:orientation="vertical"
62                   android:background="#3a4e56"
63                   android:padding="16dp">
64
65     <ScrollView
66             android:layout_width="match_parent"
67             android:layout_height="wrap_content">
68
69         <LinearLayout
70                 android:layout_width="match_parent"
71                 android:layout_height="wrap_content"
72                 android:orientation="vertical">
73
74             <LinearLayout
75                     android:layout_width="match_parent"
76                     android:layout_height="wrap_content"
77                     android:orientation="horizontal">
78
79                 <LinearLayout
80                         android:layout_width="0dp"
81                         android:layout_height="wrap_content"
82                         android:layout_weight="1"
83                         android:orientation="vertical">
84
85                     <TextView
86                             style="?android:textAppearanceLarge"
87                             android:textStyle="bold"
88                             android:textColor="#fff"
89                             android:layout_width="match_parent"
90                             android:layout_height="wrap_content"
91                             android:text="@string/filtershow_show_info_panel_name"/>
92
93                     <TextView
94                             android:id="@+id/imageName"
95                             style="?android:textAppearanceSmall"
96                             android:textStyle="bold"
97                             android:textColor="#80ffffff"
98                             android:layout_width="match_parent"
99                             android:layout_height="wrap_content"/>
100
101                     <TextView
102                             style="?android:textAppearanceLarge"
103                             android:textStyle="bold"
104                             android:textColor="#fff"
105                             android:layout_width="match_parent"
106                             android:layout_height="wrap_content"
107                             android:text="@string/filtershow_show_info_panel_size"/>
108
109                     <TextView
110                             android:id="@+id/imageSize"
111                             style="?android:textAppearanceSmall"
112                             android:textAllCaps="true"
113                             android:textColor="#80ffffff"
114                             android:textStyle="bold"
115                             android:lineSpacingMultiplier="1.2"
116                             android:layout_width="match_parent"
117                             android:layout_height="wrap_content"/>
118
119                 </LinearLayout>
120
121                 <ImageView
122                         android:id="@+id/imageThumbnail"
123                         android:layout_width="200dp"
124                         android:layout_height="200dp"
125                         android:scaleType="centerInside"
126                         android:background="@null"
127                         android:layout_weight="1"
128                         />
129             </LinearLayout>
130
131             <TextView
132                     style="?android:textAppearanceLarge"
133                     android:textStyle="bold"
134                     android:textColor="#fff"
135                     android:layout_width="match_parent"
136                     android:layout_height="wrap_content"
137                     android:text="@string/filtershow_show_info_panel_histogram"/>
138
139             <com.android.gallery3d.filtershow.info.HistogramView
140                     android:id="@+id/histogramView"
141                     android:layout_width="match_parent"
142                     android:layout_height="250dp"
143                     android:layout_margin="16dp"/>
144
145             <TextView
146                     style="?android:textAppearanceLarge"
147                     android:textStyle="bold"
148                     android:textColor="#fff"
149                     android:layout_width="match_parent"
150                     android:layout_height="wrap_content"
151                     android:text="@string/filtershow_show_info_panel_exif"/>
152
153             <TextView
154                     android:id="@+id/exifData"
155                     android:layout_width="match_parent"
156                     android:layout_height="wrap_content"/>
157         </LinearLayout>
158     </ScrollView>
159     </LinearLayout>
160 </LinearLayout>