summaryrefslogtreecommitdiffstats
path: root/res/layout/detailsview.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/detailsview.xml')
-rw-r--r--res/layout/detailsview.xml166
1 files changed, 166 insertions, 0 deletions
diff --git a/res/layout/detailsview.xml b/res/layout/detailsview.xml
new file mode 100644
index 0000000..e28f06c
--- /dev/null
+++ b/res/layout/detailsview.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 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.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_view"
+ android:orientation="vertical"
+ android:layout_width="300dip"
+ android:layout_height="fill_parent">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip"
+ android:paddingBottom="10dp">
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/detail_photo_border">
+ <ImageView
+ android:id="@+id/details_thumbnail_image"
+ android:layout_width="64dip"
+ android:layout_height="64dip"/>
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/details_image_title"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingLeft="6dip"
+ android:layout_weight="1"/>
+
+ </LinearLayout>
+
+ <TableLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="5dip"
+ android:layout_marginTop="10dip">
+
+ <TableRow>
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_file_size"/>
+ <TextView
+ android:id="@+id/details_file_size_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+
+ <TableRow>
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_resolution"/>
+ <TextView
+ android:id="@+id/details_resolution_value"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+ <TableRow
+ android:id="@+id/details_duration_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_duration"/>
+ <TextView
+ android:id="@+id/details_duration_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+ <TableRow
+ android:id="@+id/details_frame_rate_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_frame_rate"/>
+ <TextView
+ android:id="@+id/details_frame_rate_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+
+ <TableRow
+ android:id="@+id/details_bit_rate_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_bit_rate"/>
+ <TextView
+ android:id="@+id/details_bit_rate_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+ <TableRow
+ android:id="@+id/details_format_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_format"/>
+ <TextView
+ android:id="@+id/details_format_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+ <TableRow
+ android:id="@+id/details_codec_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_codec"/>
+ <TextView
+ android:id="@+id/details_codec_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+ <TableRow
+ android:id="@+id/details_date_taken_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_date_taken"/>
+ <TextView
+ android:id="@+id/details_date_taken_value"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+ </TableLayout>
+
+ </LinearLayout>
+
+</ScrollView>