diff options
author | Spike Sprague <spikuru@google.com> | 2013-12-12 11:14:27 -0800 |
---|---|---|
committer | Spike Sprague <spikuru@google.com> | 2013-12-13 13:39:45 -0800 |
commit | eb3134f6ecc42f7d98625ca2c0ddfb06c9f07c43 (patch) | |
tree | 21c9051842a8cba70e41b781e9330a6d06573cd6 /res/layout | |
parent | fce8a0b023bf88b2320b614dfaf7c67dcf00c9be (diff) | |
download | android_packages_apps_Camera2-eb3134f6ecc42f7d98625ca2c0ddfb06c9f07c43.tar.gz android_packages_apps_Camera2-eb3134f6ecc42f7d98625ca2c0ddfb06c9f07c43.tar.bz2 android_packages_apps_Camera2-eb3134f6ecc42f7d98625ca2c0ddfb06c9f07c43.zip |
intent ui
Change-Id: I34c2b73a07d64b55b8aeb36515cae5d4e4e92813
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/photo_intent_bottombar_buttons.xml | 51 | ||||
-rw-r--r-- | res/layout/photo_intent_review_bottombar_buttons.xml | 39 |
2 files changed, 90 insertions, 0 deletions
diff --git a/res/layout/photo_intent_bottombar_buttons.xml b/res/layout/photo_intent_bottombar_buttons.xml new file mode 100644 index 000000000..433148ae6 --- /dev/null +++ b/res/layout/photo_intent_bottombar_buttons.xml @@ -0,0 +1,51 @@ +<?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"> + <ImageButton + android:id="@+id/cancel_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_menu_cancel_holo_light" + android:background="@null" /> + <!-- dummy invisible button only for spacing --> + <ImageButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:drawable="@drawable/ic_menu_cancel_holo_light" + android:visibility="invisible" /> + <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 diff --git a/res/layout/photo_intent_review_bottombar_buttons.xml b/res/layout/photo_intent_review_bottombar_buttons.xml new file mode 100644 index 000000000..1ac7d0622 --- /dev/null +++ b/res/layout/photo_intent_review_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"> + <ImageButton + android:id="@+id/cancel_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_menu_cancel_holo_light" + android:background="@null" /> + <ImageButton + android:id="@+id/done_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_menu_done_holo_light" + android:background="@null" /> + <ImageButton + android:id="@+id/retake_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_menu_trash_holo_light" + android:background="@null" /> +</merge>
\ No newline at end of file |