summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/camera_control.xml10
-rw-r--r--res/layout/review_thumbnail.xml25
2 files changed, 26 insertions, 9 deletions
diff --git a/res/layout/camera_control.xml b/res/layout/camera_control.xml
index 0f6f22a..c89418e 100644
--- a/res/layout/camera_control.xml
+++ b/res/layout/camera_control.xml
@@ -22,15 +22,7 @@
android:layout_marginTop="13dp"
android:layout_marginBottom="10dp">
- <com.android.camera.RotateImageView
- android:id="@+id/review_thumbnail"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_height="52dp"
- android:layout_width="52dp"
- android:clickable="true"
- android:focusable="false"
- android:background="@drawable/border_last_picture"/>
+ <include layout="@layout/review_thumbnail"/>
<LinearLayout android:id="@+id/camera_switch_set"
android:orientation="vertical"
diff --git a/res/layout/review_thumbnail.xml b/res/layout/review_thumbnail.xml
new file mode 100644
index 0000000..1b9039c
--- /dev/null
+++ b/res/layout/review_thumbnail.xml
@@ -0,0 +1,25 @@
+<?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.
+-->
+
+<com.android.camera.RotateImageView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/review_thumbnail"
+ android:layout_width="52dp"
+ android:layout_height="52dp"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:clickable="true"
+ android:focusable="false"
+ android:background="@drawable/border_last_picture" />