diff options
author | Cheng-Ru Lin <owenlin@google.com> | 2009-11-11 23:24:32 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-11 23:24:32 -0800 |
commit | fb4f6c794b282f1a255f5405cf54222acb51d512 (patch) | |
tree | 5e126bdd8a3f4b60031f7c38e02881da14ba3dbd /res/layout | |
parent | 91e7670d43fb5e56e2cb8c5fd7bddb1f3dbeb162 (diff) | |
parent | cc12a303ad51063cee73715849a951fb5f383188 (diff) | |
download | LegacyCamera-fb4f6c794b282f1a255f5405cf54222acb51d512.zip LegacyCamera-fb4f6c794b282f1a255f5405cf54222acb51d512.tar.gz LegacyCamera-fb4f6c794b282f1a255f5405cf54222acb51d512.tar.bz2 |
am cc12a303: Add icon-indicators to VideoCamera.
Merge commit 'cc12a303ad51063cee73715849a951fb5f383188' into eclair-mr2
* commit 'cc12a303ad51063cee73715849a951fb5f383188':
Add icon-indicators to VideoCamera.
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/video_camera.xml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/res/layout/video_camera.xml b/res/layout/video_camera.xml index b165d90..9ebdc03 100644 --- a/res/layout/video_camera.xml +++ b/res/layout/video_camera.xml @@ -15,6 +15,7 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" android:id="@+id/video_camera" android:background="@drawable/camera_background" android:orientation="horizontal" @@ -35,8 +36,7 @@ <SurfaceView android:id="@+id/camera_preview" android:layout_width="fill_parent" android:layout_height="fill_parent"/> - <ImageView - android:id="@+id/video_frame" + <ImageView android:id="@+id/video_frame" android:layout_width="fill_parent" android:layout_height="fill_parent" android:visibility="gone" /> @@ -61,6 +61,22 @@ android:textSize="23dp" android:textStyle="bold" android:visibility="gone"/> + <LinearLayout android:id="@+id/indicator_bar" + android:orientation="vertical" + android:visibility="visible" + android:gravity="center" + android:layout_gravity="left|bottom" + android:layout_marginBottom="60dp" + android:layout_marginLeft="13dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <com.android.camera.IconIndicator + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/whitebalance_icon" + camera:modes="@array/pref_camera_whitebalance_entryvalues" + camera:icons="@array/whitebalance_icons"/> + </LinearLayout> </FrameLayout> </com.android.camera.PreviewFrameLayout> </LinearLayout> |