Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  Copyright (C) 2008-2012  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     <TextView
     23         android:id="@+id/user_dictionary_tools_list_title_words_count"
     24         android:layout_width="wrap_content"
     25         android:layout_height="wrap_content"
     26         android:layout_gravity="right"
     27         android:gravity="right"
     28         android:textColor="?android:attr/textColorPrimary"/>
     29     <LinearLayout
     30        android:orientation="horizontal"
     31        android:gravity="center"
     32        android:layout_width="match_parent"
     33        android:layout_height="wrap_content">
     34       <Button
     35          android:id="@+id/user_dictionary_left_button" 
     36          android:text="@string/user_dictionary_prev_button"
     37          android:layout_width="wrap_content"
     38          android:layout_height="wrap_content"/>
     39       <TextView
     40          android:id="@+id/user_dictionary_position_indicator" 
     41          android:gravity="center"
     42          android:layout_width="100sp"
     43          android:layout_height="wrap_content"/>
     44       <Button
     45          android:id="@+id/user_dictionary_right_button" 
     46          android:text="@string/user_dictionary_next_button"
     47          android:layout_width="wrap_content"
     48          android:layout_height="wrap_content"/>
     49     </LinearLayout>
     50     <LinearLayout
     51         android:orientation="horizontal"
     52         android:layout_width="match_parent"
     53         android:layout_height="wrap_content"
     54         android:padding="1dip"
     55         android:layout_gravity="left">
     56     <TextView
     57             android:layout_width="0dip"
     58             android:layout_height="wrap_content"
     59             android:layout_weight="1"
     60             android:layout_marginTop="1dip"
     61             android:layout_marginRight="1dip"
     62             android:layout_marginLeft="0dip"
     63             android:layout_marginBottom="1dip"
     64             android:text="@string/user_dictionary_title_read"
     65             android:textSize="16dip"
     66             android:textColor="?android:attr/textColorTertiary"
     67             android:background="#FFFFFF"
     68             android:focusable="false"/>
     69     <TextView
     70             android:layout_width="0dip"
     71             android:layout_height="wrap_content"
     72             android:layout_weight="1"
     73             android:layout_marginTop="1dip"
     74             android:layout_marginRight="0dip"
     75             android:layout_marginLeft="1dip"
     76             android:layout_marginBottom="1dip"
     77             android:text="@string/user_dictionary_title_candidate"
     78             android:textSize="16dip"
     79             android:textColor="?android:attr/textColorTertiary"
     80             android:background="#FFFFFF"
     81             android:focusable="false"/>
     82     </LinearLayout>
     83     <ScrollView
     84         android:id="@+id/user_dictionary_tools_scroll"
     85         android:layout_width="match_parent" 
     86         android:layout_height="wrap_content">
     87         <TableLayout
     88             android:id="@+id/user_dictionary_tools_table" 
     89             android:layout_width="match_parent" 
     90             android:layout_height="wrap_content"
     91             android:padding="1dip">
     92         </TableLayout>
     93     </ScrollView>
     94 </LinearLayout>
     95