diff options
author | Mike Lockwood <lockwood@android.com> | 2010-06-10 16:35:24 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-06-10 16:58:05 -0400 |
commit | 99b3452f404e1574508665ebb71362766d362603 (patch) | |
tree | d9e8879248b3c1a3618e921bd3dd6fa94738a6f6 /media/tests/CameraBrowser/res | |
parent | dda568609232cdf82a2f050b0d0727627f49d448 (diff) | |
download | frameworks_base-99b3452f404e1574508665ebb71362766d362603.zip frameworks_base-99b3452f404e1574508665ebb71362766d362603.tar.gz frameworks_base-99b3452f404e1574508665ebb71362766d362603.tar.bz2 |
CameraBrowser: Display thumbnails for camera images.
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.xml | 3 | ||||
-rw-r--r-- | media/tests/CameraBrowser/res/layout/object_list.xml | 33 |
2 files changed, 36 insertions, 0 deletions
diff --git a/media/tests/CameraBrowser/res/layout/object_info.xml b/media/tests/CameraBrowser/res/layout/object_info.xml index f67397f..c7fd830 100644 --- a/media/tests/CameraBrowser/res/layout/object_info.xml +++ b/media/tests/CameraBrowser/res/layout/object_info.xml @@ -140,5 +140,8 @@ <TextView android:id="@+id/keywords" style="@style/info_value" /> </TableRow> + <TableRow> + <ImageView android:id="@+id/thumbnail" /> + </TableRow> </TableLayout> diff --git a/media/tests/CameraBrowser/res/layout/object_list.xml b/media/tests/CameraBrowser/res/layout/object_list.xml new file mode 100644 index 0000000..30c18bb --- /dev/null +++ b/media/tests/CameraBrowser/res/layout/object_list.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <ImageView android:id="@+id/thumbnail" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + + <TextView android:id="@+id/name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceLarge" + android:gravity="center_vertical" + android:paddingLeft="6dip" + android:minHeight="?android:attr/listPreferredItemHeight" /> +</LinearLayout> |