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:layout_width="fill_parent"
     20     android:layout_height="fill_parent">
     21 
     22    <LinearLayout android:orientation="vertical"
     23      android:layout_width="fill_parent"
     24      android:layout_height="wrap_content">
     25 
     26      <LinearLayout android:orientation="horizontal"
     27         android:layout_width="fill_parent"
     28         android:layout_height="wrap_content">
     29         <TextView
     30             android:layout_width="wrap_content"
     31             android:layout_height="wrap_content"
     32             android:text="@string/debug_texttype_anything"
     33         />
     34 
     35         <EditText
     36             android:layout_width="fill_parent"
     37             android:layout_height="wrap_content"
     38         />
     39         </LinearLayout>
     40 
     41            <LinearLayout android:orientation="horizontal"
     42               android:layout_width="fill_parent"
     43               android:layout_height="wrap_content">
     44               <TextView
     45                  android:layout_width="wrap_content"
     46                  android:layout_height="wrap_content"
     47                  android:text="@string/debug_texttype_integer"
     48               />
     49 
     50               <EditText 
     51                  android:numeric="integer"
     52                  android:layout_width="fill_parent" 
     53                  android:layout_height="wrap_content" 	
     54               />
     55            </LinearLayout>
     56 
     57            <LinearLayout android:orientation="horizontal"
     58                  android:layout_width="fill_parent"
     59                  android:layout_height="wrap_content">
     60 
     61                  <TextView
     62                     android:layout_width="wrap_content"
     63                     android:layout_height="wrap_content"
     64                     android:text="@string/debug_texttype_signed"
     65                  />
     66 
     67                  <EditText
     68                     android:numeric="signed"
     69                     android:layout_width="fill_parent"
     70                     android:layout_height="wrap_content"
     71                  />
     72              </LinearLayout>
     73 
     74              <LinearLayout android:orientation="horizontal"
     75                  android:layout_width="fill_parent"
     76                  android:layout_height="wrap_content">
     77                  <TextView
     78                     android:layout_width="wrap_content"
     79                     android:layout_height="wrap_content"
     80                     android:text="@string/debug_texttype_demical"
     81                  />
     82 
     83                  <EditText
     84                     android:numeric="decimal"
     85                     android:layout_width="fill_parent"
     86                     android:layout_height="wrap_content"
     87                  />
     88                  </LinearLayout>
     89 
     90                  <LinearLayout android:orientation="horizontal"
     91                      android:layout_width="fill_parent"
     92                      android:layout_height="wrap_content">
     93 
     94                      <TextView
     95                         android:layout_width="wrap_content"
     96                         android:layout_height="wrap_content"
     97                         android:text="@string/debug_texttype_password"
     98                      />
     99 
    100                      <EditText
    101                         android:password="true"
    102                         android:layout_width="fill_parent"
    103                         android:layout_height="wrap_content"
    104                      />
    105 
    106                  </LinearLayout>
    107 
    108                  <LinearLayout android:orientation="horizontal"
    109                      android:layout_width="fill_parent"
    110                      android:layout_height="wrap_content">
    111                      <TextView
    112                         android:layout_width="wrap_content"
    113                         android:layout_height="wrap_content"
    114                         android:text="@string/debug_texttype_phone"
    115                      />
    116 
    117                      <EditText
    118                         android:layout_width="fill_parent"
    119                         android:layout_height="wrap_content"
    120                         android:phoneNumber="true"
    121                      />
    122                   </LinearLayout>
    123 
    124                   <LinearLayout android:orientation="horizontal"
    125                      android:layout_width="fill_parent"
    126                      android:layout_height="wrap_content">
    127                      <TextView
    128                         android:layout_width="wrap_content"
    129                         android:layout_height="wrap_content"
    130                         android:text="@string/debug_texttype_singleLine"
    131                      />
    132 
    133                      <EditText
    134                         android:id="@+id/singleLine"
    135                         android:layout_width="fill_parent"
    136                         android:layout_height="wrap_content"
    137                         android:singleLine="true"
    138                      />
    139         </LinearLayout>
    140     </LinearLayout>
    141 </LinearLayout>
    142