diff options
author | Spike Sprague <spikuru@google.com> | 2013-12-10 19:50:17 -0800 |
---|---|---|
committer | Spike Sprague <spikuru@google.com> | 2013-12-11 18:01:53 -0800 |
commit | 0f3c4b4fc9ac87d7d4c3d04c3cb3426c711f57ea (patch) | |
tree | 8456cc610362f93ef141d87c80d7c7077adaa548 /res/layout/photo_bottombar_buttons.xml | |
parent | a21945c7d628aadee74410013782b950a7aa93ff (diff) | |
download | android_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/photo_bottombar_buttons.xml')
-rw-r--r-- | res/layout/photo_bottombar_buttons.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout/photo_bottombar_buttons.xml b/res/layout/photo_bottombar_buttons.xml new file mode 100644 index 000000000..fea91e23c --- /dev/null +++ b/res/layout/photo_bottombar_buttons.xml @@ -0,0 +1,39 @@ +<?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/camera_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" /> + <com.android.camera.MultiToggleImageButton + android:id="@+id/hdr_plus_toggle_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@null" + camera:imageIds="@array/pref_camera_hdr_plus_icons" /> +</merge>
\ No newline at end of file |