summaryrefslogtreecommitdiffstats
path: root/res/layout/video_bottombar_buttons.xml
diff options
context:
space:
mode:
authorSpike Sprague <spikuru@google.com>2013-12-10 19:50:17 -0800
committerSpike Sprague <spikuru@google.com>2013-12-11 18:01:53 -0800
commit0f3c4b4fc9ac87d7d4c3d04c3cb3426c711f57ea (patch)
tree8456cc610362f93ef141d87c80d7c7077adaa548 /res/layout/video_bottombar_buttons.xml
parenta21945c7d628aadee74410013782b950a7aa93ff (diff)
downloadandroid_packages_apps_Camera2-0f3c4b4fc9ac87d7d4c3d04c3cb3426c711f57ea.tar.gz
android_packages_apps_Camera2-0f3c4b4fc9ac87d7d4c3d04c3cb3426c711f57ea.tar.bz2
android_packages_apps_Camera2-0f3c4b4fc9ac87d7d4c3d04c3cb3426c711f57ea.zip
unify preview and bottom bar resizing code
move bottom bar button into own layout files Change-Id: Ib6237fddaa545476563b796cbd752b9562e9d9e4
Diffstat (limited to 'res/layout/video_bottombar_buttons.xml')
-rw-r--r--res/layout/video_bottombar_buttons.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/video_bottombar_buttons.xml b/res/layout/video_bottombar_buttons.xml
new file mode 100644
index 000000000..5780c5409
--- /dev/null
+++ b/res/layout/video_bottombar_buttons.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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.
+-->
+
+<merge xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:camera="http://schemas.android.com/apk/res/com.android.camera2"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <com.android.camera.MultiToggleImageButton
+ android:id="@+id/flash_toggle_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ camera:imageIds="@array/video_flashmode_icons" />
+ <com.android.camera.MultiToggleImageButton
+ android:id="@+id/camera_toggle_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ camera:imageIds="@array/camera_id_icons" />
+</merge> \ No newline at end of file