summaryrefslogtreecommitdiffstats
path: root/media/tests/CameraBrowser/res
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-09-20 18:26:44 -0400
committerMike Lockwood <lockwood@android.com>2010-09-20 18:30:02 -0400
commit1779789b427747026d96266bd621baee5aad2a32 (patch)
treed993baac16c0b5daafd862aae1c2cd617b8d7941 /media/tests/CameraBrowser/res
parent88fc2b85cb6f9b4ac33211e3a6ad0dbbee13afc9 (diff)
downloadframeworks_base-1779789b427747026d96266bd621baee5aad2a32.zip
frameworks_base-1779789b427747026d96266bd621baee5aad2a32.tar.gz
frameworks_base-1779789b427747026d96266bd621baee5aad2a32.tar.bz2
CameraBrowser: show format in object info and show info for non-JPEG objects
Change-Id: I22b1906fecbf8609bc688a148180edc95fa1badf Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/tests/CameraBrowser/res')
-rw-r--r--media/tests/CameraBrowser/res/layout/object_info.xml10
-rw-r--r--media/tests/CameraBrowser/res/values/strings.xml1
2 files changed, 11 insertions, 0 deletions
diff --git a/media/tests/CameraBrowser/res/layout/object_info.xml b/media/tests/CameraBrowser/res/layout/object_info.xml
index c7fd830..ac210b9 100644
--- a/media/tests/CameraBrowser/res/layout/object_info.xml
+++ b/media/tests/CameraBrowser/res/layout/object_info.xml
@@ -41,6 +41,16 @@
style="@style/info_value" />
</TableRow>
<TableRow>
+ <TextView android:id="@+id/format_label"
+ android:text="@string/format_label"
+ android:layout_gravity="right"
+ android:layout_marginRight="8dip"
+ style="@style/info_label" />
+
+ <TextView android:id="@+id/format"
+ style="@style/info_value" />
+ </TableRow>
+ <TableRow>
<TextView android:id="@+id/thumb_width_label"
android:text="@string/thumb_width_label"
android:layout_gravity="right"
diff --git a/media/tests/CameraBrowser/res/values/strings.xml b/media/tests/CameraBrowser/res/values/strings.xml
index 56c5111..cd477f1 100644
--- a/media/tests/CameraBrowser/res/values/strings.xml
+++ b/media/tests/CameraBrowser/res/values/strings.xml
@@ -20,6 +20,7 @@
<!-- for object info -->
<string name="name_label">Name: </string>
<string name="size_label">Size: </string>
+ <string name="format_label">Format: </string>
<string name="thumb_width_label">Thumb Width: </string>
<string name="thumb_height_label">Thumb Height: </string>
<string name="thumb_size_label">Thumb Size: </string>