1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 Copyright (C) 2008,2009 OMRON SOFTWARE Co., Ltd. 4 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 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:orientation="vertical" 19 android:paddingTop="5sp" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content"> 22 <LinearLayout 23 android:orientation="horizontal" 24 android:gravity="center" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content"> 27 <Button 28 android:id="@+id/user_dictionary_left_button" 29 android:text="@string/user_dictionary_prev_button" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content"/> 32 <TextView 33 android:id="@+id/user_dictionary_position_indicator" 34 android:gravity="center" 35 android:layout_width="100sp" 36 android:layout_height="wrap_content"/> 37 <Button 38 android:id="@+id/user_dictionary_right_button" 39 android:text="@string/user_dictionary_next_button" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content"/> 42 </LinearLayout> 43 <LinearLayout 44 android:orientation="horizontal" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:padding="1dip" 48 android:layout_gravity="left"> 49 <TextView 50 android:layout_width="0dip" 51 android:layout_height="wrap_content" 52 android:layout_weight="1" 53 android:layout_marginTop="1dip" 54 android:layout_marginRight="1dip" 55 android:layout_marginLeft="0dip" 56 android:layout_marginBottom="1dip" 57 android:text="@string/user_dictionary_title_read" 58 android:textSize="16dip" 59 android:textColor="?android:attr/textColorTertiary" 60 android:background="#FFFFFF" 61 android:focusable="false"/> 62 <TextView 63 android:layout_width="0dip" 64 android:layout_height="wrap_content" 65 android:layout_weight="1" 66 android:layout_marginTop="1dip" 67 android:layout_marginRight="0dip" 68 android:layout_marginLeft="1dip" 69 android:layout_marginBottom="1dip" 70 android:text="@string/user_dictionary_title_candidate" 71 android:textSize="16dip" 72 android:textColor="?android:attr/textColorTertiary" 73 android:background="#FFFFFF" 74 android:focusable="false"/> 75 </LinearLayout> 76 <ScrollView 77 android:id="@+id/user_dictionary_tools_scroll" 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content"> 80 <TableLayout 81 android:id="@+id/user_dictionary_tools_table" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:padding="1dip"> 85 </TableLayout> 86 </ScrollView> 87 </LinearLayout> 88