OSDN Git Service

Merge "video stop button diameter increased" into gb-ub-photos-denali
[android-x86/packages-apps-Camera2.git] / res / layout / mode_selector.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2013 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 <com.android.camera.ui.ModeSelectorItem
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="@dimen/mode_selector_item_height"
21     android:paddingLeft="16dp"
22     android:paddingTop="6dp"
23     android:paddingBottom="6dp">
24     <TextView
25         android:id="@+id/selector_text"
26         android:layout_gravity="left|center_vertical"
27         android:paddingLeft="16dp"
28         android:layout_width="match_parent"
29         android:layout_height="match_parent"
30         android:gravity="center_vertical"
31         android:textSize="14sp"
32         android:textColor="@color/mode_selector_text_color"
33         android:layout_marginLeft="@dimen/mode_selector_icon_block_width" />
34     <com.android.camera.ui.ModeIconView
35         android:id="@+id/selector_icon"
36         android:scaleType="centerInside"
37         android:layout_width="@dimen/mode_selector_icon_block_width"
38         android:layout_height="@dimen/mode_selector_icon_block_width" />
39 </com.android.camera.ui.ModeSelectorItem>