Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout-watch / input_method_extract_view.xml
blob3478bb544934b452418db4af706b949ce0f32acd
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2016 The Android Open Source Project
5      Licensed under the Apache License, Version 2.0 (the "License");
6      you may not use this file except in compliance with the License.
7      You may obtain a copy of the License at
9           http://www.apache.org/licenses/LICENSE-2.0
11      Unless required by applicable law or agreed to in writing, software
12      distributed under the License is distributed on an "AS IS" BASIS,
13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14      See the License for the specific language governing permissions and
15      limitations under the License.
16 -->
17 <android.inputmethodservice.CompactExtractEditLayout
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="wrap_content"
21     android:orientation="horizontal"
22     android:gravity="center_vertical"
23     android:baselineAligned="false">
25     <android.inputmethodservice.ExtractEditText
26         android:id="@id/inputExtractEditText"
27         android:layout_width="0dp"
28         android:layout_height="24dp"
29         android:background="@null"
30         android:singleLine="true"
31         android:inputType="text"
32         android:layout_weight="1"
33         android:fontFamily="sans-serif-condensed-light"
34         android:textColor="@color/primary_text_material_dark"
35         android:textColorHint="@color/secondary_text_material_dark"
36         android:textColorHighlight="@color/accent_material_dark"
37         android:textSize="18dp"
38         android:gravity="bottom|right"
39         />
41     <FrameLayout
42         android:id="@id/inputExtractAccessories"
43         android:layout_width="wrap_content"
44         android:layout_height="wrap_content"
45         android:layout_marginLeft="8dp"
46         android:visibility="visible">
47         <ImageButton
48             android:id="@id/inputExtractAction"
49             android:layout_width="@dimen/input_extract_action_button_width"
50             android:layout_height="@dimen/input_extract_action_button_width"
51             android:background="@drawable/input_extract_action_bg_material_dark"
52             android:padding="@dimen/input_extract_action_icon_padding"
53             android:scaleType="centerInside" />
54     </FrameLayout>
55 </android.inputmethodservice.CompactExtractEditLayout>