input_method_extract_view.xml revision 5ee36c48be8d36c5f4025202e8ede561c9ad3aba
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/res/layout/alert_dialog.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<android.inputmethodservice.ExtractEditLayout
22        xmlns:android="http://schemas.android.com/apk/res/android"
23        android:orientation="horizontal">
24        
25    <android.inputmethodservice.ExtractEditText
26            android:id="@+id/inputExtractEditText"
27            android:layout_width="0px"
28            android:layout_height="match_parent"
29            android:layout_weight="1"
30            android:scrollbars="vertical"
31            android:gravity="top"
32            android:minLines="1"
33            android:inputType="text"
34        >
35    </android.inputmethodservice.ExtractEditText>
36
37    <FrameLayout
38            android:id="@+id/inputExtractAccessories"
39            android:layout_width="wrap_content"
40            android:layout_height="match_parent"
41            android:paddingLeft="8dip"
42            android:paddingRight="8dip"
43            android:background="@android:drawable/keyboard_accessory_bg_landscape"
44        >
45        
46        <android.inputmethodservice.ExtractButton android:id="@+id/inputExtractAction"
47            android:layout_width="wrap_content"
48            android:layout_height="wrap_content"
49            android:layout_gravity="center"
50            />
51        <android.inputmethodservice.ExtractButton android:id="@+id/inputExtractEditButton"
52            android:layout_width="wrap_content"
53            android:layout_height="wrap_content"
54            android:layout_gravity="center"
55            android:text="@string/extract_edit_menu_button"
56            android:visibility="invisible"
57            />
58            
59    </FrameLayout>
60    
61</android.inputmethodservice.ExtractEditLayout>
62