OSDN Git Service

am ade8896d: am 2fc4970c: am 00720781: Null check when evaluating valid resolution...
[android-x86/packages-apps-Camera2.git] / res / layout-port / aspect_ratio_selector.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <LinearLayout
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     android:id="@+id/aspect_ratio_selector"
20     android:orientation="vertical" >
21     <LinearLayout
22         android:layout_width="match_parent"
23         android:layout_height="wrap_content"
24         android:orientation="horizontal"
25         android:gravity="center">
26         <ImageView
27             android:id="@+id/aspect_ratio_4x3_button"
28             android:contentDescription="@string/full_sensor_4x3_aspect_ratio"
29             android:layout_width="wrap_content"
30             android:layout_height="wrap_content"
31             android:src="@drawable/aspect_ratio_4x3"
32             android:layout_marginRight="28dp"/>
33         <ImageView
34             android:id="@+id/aspect_ratio_16x9_button"
35             android:contentDescription="@string/cropped_sensor_16x9_aspect_ratio"
36             android:layout_width="wrap_content"
37             android:layout_height="wrap_content"
38             android:src="@drawable/aspect_ratio_16x9"
39             android:layout_marginLeft="28dp"/>
40     </LinearLayout>
41 </LinearLayout>