diff options
author | nicolasroard <nicolasroard@google.com> | 2013-08-08 20:47:28 -0700 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-08-08 21:22:31 -0700 |
commit | 860af325f2030a03c526e8551a85230d17df7b15 (patch) | |
tree | d8dca2a774d52055ea3d65a0b71fcc74dd9422c3 /res/layout/filtershow_info_panel.xml | |
parent | 430e46b06f8e7ee1ca3e7ecdcef3e0a978637c03 (diff) | |
download | android_packages_apps_Gallery2-860af325f2030a03c526e8551a85230d17df7b15.tar.gz android_packages_apps_Gallery2-860af325f2030a03c526e8551a85230d17df7b15.tar.bz2 android_packages_apps_Gallery2-860af325f2030a03c526e8551a85230d17df7b15.zip |
Add version category
Fix bugs when loading
Add info panel
Change-Id: I28966f2419b902405bc60e9cc927b109777a6a2d
Diffstat (limited to 'res/layout/filtershow_info_panel.xml')
-rw-r--r-- | res/layout/filtershow_info_panel.xml | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/res/layout/filtershow_info_panel.xml b/res/layout/filtershow_info_panel.xml new file mode 100644 index 000000000..e2da73f95 --- /dev/null +++ b/res/layout/filtershow_info_panel.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:background="#3a4e56" + android:padding="16dp"> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="vertical"> + + <TextView + style="?android:textAppearanceLarge" + android:textStyle="bold" + android:textColor="#fff" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/filtershow_show_info_panel_name"/> + + <TextView + android:id="@+id/imageName" + style="?android:textAppearanceSmall" + android:textStyle="bold" + android:textColor="#80ffffff" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <TextView + style="?android:textAppearanceLarge" + android:textStyle="bold" + android:textColor="#fff" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/filtershow_show_info_panel_size"/> + + <TextView + android:id="@+id/imageSize" + style="?android:textAppearanceSmall" + android:textAllCaps="true" + android:textColor="#80ffffff" + android:textStyle="bold" + android:lineSpacingMultiplier="1.2" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + </LinearLayout> + + <ImageView + android:id="@+id/imageThumbnail" + android:layout_width="200dp" + android:layout_height="200dp" + android:scaleType="centerInside" + android:background="@null" + android:layout_weight="1" + /> + </LinearLayout> + + <TextView + style="?android:textAppearanceLarge" + android:textStyle="bold" + android:textColor="#fff" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/filtershow_show_info_panel_histogram"/> + + <com.android.gallery3d.filtershow.info.HistogramView + android:id="@+id/histogramView" + android:layout_width="match_parent" + android:layout_height="250dp" + android:layout_margin="16dp"/> + + <TextView + style="?android:textAppearanceLarge" + android:textStyle="bold" + android:textColor="#fff" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/filtershow_show_info_panel_exif"/> + + <TextView + android:id="@+id/exifData" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + </LinearLayout> + </ScrollView> + +</LinearLayout>
\ No newline at end of file |