OSDN Git Service

Merge "Import translations. DO NOT MERGE" into klp-dev
[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:minWidth="340dp"
20               android:layout_height="match_parent"
21               android:orientation="vertical"
22               android:background="@color/background_main_toolbar"
23               android:padding="16dp">
24
25     <ScrollView
26             android:layout_width="match_parent"
27             android:layout_height="wrap_content">
28
29         <LinearLayout
30                 android:layout_width="match_parent"
31                 android:layout_height="wrap_content"
32                 android:orientation="vertical">
33
34             <LinearLayout
35                     android:layout_width="match_parent"
36                     android:layout_height="wrap_content"
37                     android:orientation="horizontal"
38                     >
39
40                 <TextView
41                         android:id="@+id/imageName"
42                         style="?android:textAppearanceSmall"
43                         android:textStyle="bold"
44                         android:textColor="#80ffffff"
45                         android:layout_gravity="start"
46                         android:layout_width="wrap_content"
47                         android:layout_height="wrap_content"
48                         android:layout_weight="1"
49                         android:gravity="start"/>
50
51                 <TextView
52                         android:id="@+id/imageSize"
53                         style="?android:textAppearanceSmall"
54                         android:textAllCaps="true"
55                         android:textColor="#80ffffff"
56                         android:textStyle="bold"
57                         android:layout_gravity="end"
58                         android:layout_width="0dp"
59                         android:layout_height="wrap_content"
60                         android:layout_weight="1"
61                         android:gravity="end"/>
62
63             </LinearLayout>
64
65             <LinearLayout
66                     android:layout_width="match_parent"
67                     android:layout_height="wrap_content"
68                     android:layout_marginTop="16dp"
69                     >
70
71                 <ImageView
72                         android:id="@+id/imageThumbnail"
73                         android:layout_weight="0.3"
74                         android:layout_width="0dp"
75                         android:layout_height="196dp"
76                         android:scaleType="centerCrop"
77                         android:layout_marginRight="16dp"
78                         android:background="@null"
79
80                         />
81
82                 <com.android.gallery3d.filtershow.info.HistogramView
83                         android:id="@+id/histogramView"
84                         android:layout_weight="0.7"
85                         android:layout_width="0dp"
86                         android:layout_height="196dp"
87                         android:layout_margin="0dp"/>
88             </LinearLayout>
89
90             <TextView
91                     style="?android:textAppearanceLarge"
92                     android:id="@+id/exifLabel"
93                     android:textStyle="bold"
94                     android:textColor="#fff"
95                     android:layout_marginTop="16dp"
96                     android:layout_width="wrap_content"
97                     android:layout_height="wrap_content"
98                     android:layout_gravity="start"
99                     android:text="@string/filtershow_show_info_panel_exif"/>
100
101             <TextView
102                     android:id="@+id/exifData"
103                     android:layout_width="match_parent"
104                     android:layout_height="wrap_content"
105                     android:layout_marginTop="16dp"
106                     android:layout_gravity="start"
107                     />
108         </LinearLayout>
109     </ScrollView>
110
111 </LinearLayout>