summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2009-04-22 13:26:07 +0800
committerRay Chen <raychen@google.com>2009-04-24 11:51:31 +0800
commit0f0af52aa851d761521699e423f0c3249b5dc849 (patch)
treebd26d594ef2321fb8d3077267c9b9fafb8b1a978 /res
parent8a810b8ca4377d1e6e76f965a2e24ff195537895 (diff)
downloadLegacyCamera-0f0af52aa851d761521699e423f0c3249b5dc849.zip
LegacyCamera-0f0af52aa851d761521699e423f0c3249b5dc849.tar.gz
LegacyCamera-0f0af52aa851d761521699e423f0c3249b5dc849.tar.bz2
Issue 1799299: Display picture details.
Diffstat (limited to 'res')
-rw-r--r--res/layout/detailsview.xml85
-rw-r--r--res/values/strings.xml12
2 files changed, 93 insertions, 4 deletions
diff --git a/res/layout/detailsview.xml b/res/layout/detailsview.xml
index e28f06c..72a4aa8 100644
--- a/res/layout/detailsview.xml
+++ b/res/layout/detailsview.xml
@@ -73,19 +73,96 @@
android:textColor="?android:attr/textColorPrimary"/>
</TableRow>
- <TableRow>
- <TextView
+ <TableRow android:id="@+id/details_resolution_row">
+ <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: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_make_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_make"/>
+ <TextView
+ android:id="@+id/details_make_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_model_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_model"/>
+ <TextView
+ android:id="@+id/details_model_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_whitebalance_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_whitebalance"/>
+ <TextView
+ android:id="@+id/details_whitebalance_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_latitude_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_latitude"/>
+ <TextView
+ android:id="@+id/details_latitude_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_longitude_row"> <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_longitude"/>
+ <TextView
+ android:id="@+id/details_longitude_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_location_row">
+ <TextView
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/details_image_location"/>
+ <TextView
+ android:id="@+id/details_location_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
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 66bcfff..2676326 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -462,6 +462,18 @@
<!-- Label in message of Details dialog -->
<string name="details_image_resolution">Resolution:</string>
<!-- Label in message of Details dialog -->
+ <string name="details_image_make">Manufacturer:</string>
+ <!-- Label in message of Details dialog -->
+ <string name="details_image_model">Model:</string>
+ <!-- Label in message of Details dialog -->
+ <string name="details_image_whitebalance">WhiteBalance:</string>
+ <!-- Label in message of Details dialog -->
+ <string name="details_image_latitude">GPS Latitude:</string>
+ <!-- Label in message of Details dialog -->
+ <string name="details_image_longitude">GPS Longitude:</string>
+ <!-- Label in message of Details dialog -->
+ <string name="details_image_location">Location:</string>
+ <!-- Label in message of Details dialog -->
<string name="details_duration">Duration:</string>
<!-- Label in message of Details dialog -->
<string name="details_date_taken">Date taken:</string>