Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18         android:id="@+id/basic"
     19         android:layout_width="fill_parent"
     20         android:layout_height="fill_parent">
     21 
     22     <LinearLayout android:orientation="vertical"
     23                   android:layout_width="match_parent"
     24                   android:layout_height="match_parent">
     25 
     26         <LinearLayout android:orientation="vertical"
     27                       android:layout_width="match_parent"
     28                       android:layout_height="wrap_content">
     29 
     30             <TextView android:id="@+id/textview_password_default"
     31                     android:layout_height="wrap_content"
     32                     android:layout_width="wrap_content"
     33                     android:textSize="32dip"
     34                     android:text="@string/textview_password_default_text"
     35             />
     36 
     37             <EditText android:id="@+id/edittext_password_default"
     38                       android:layout_height="wrap_content"
     39                       android:layout_width="match_parent"
     40                       android:textSize="32dip"
     41                       android:password="true"
     42                     />
     43 
     44             <TextView android:id="@+id/textview_default"
     45                     android:layout_height="wrap_content"
     46                     android:layout_width="wrap_content"
     47                     android:textSize="32dip"
     48                     android:text="@string/textview_default_text"
     49             />
     50 
     51             <EditText android:id="@+id/edittext_default"
     52                       android:layout_height="wrap_content"
     53                       android:layout_width="match_parent"
     54                       android:textSize="32dip"
     55                     />
     56 
     57             <TextView android:id="@+id/textview_ltr"
     58                       android:layout_height="wrap_content"
     59                       android:layout_width="wrap_content"
     60                       android:textSize="32dip"
     61                       android:text="@string/textview_ltr_text"
     62                     />
     63 
     64             <EditText android:id="@+id/edittext_ltr"
     65                       android:layout_height="wrap_content"
     66                       android:layout_width="match_parent"
     67                       android:textSize="32dip"
     68                       android:textDirection="ltr"
     69                     />
     70 
     71             <TextView android:id="@+id/textview_rtl"
     72                       android:layout_height="wrap_content"
     73                       android:layout_width="wrap_content"
     74                       android:textSize="32dip"
     75                       android:text="@string/textview_rtl_text"
     76                     />
     77 
     78             <EditText android:id="@+id/edittext_rtl"
     79                       android:layout_height="wrap_content"
     80                       android:layout_width="match_parent"
     81                       android:textSize="32dip"
     82                       android:textDirection="rtl"
     83                     />
     84 
     85         </LinearLayout>
     86 
     87         <Button android:id="@+id/button_alert_dialog"
     88                 android:layout_height="wrap_content"
     89                 android:layout_width="wrap_content"
     90                 android:text="@string/button_alert_dialog_text"
     91                 android:textSize="32dip"
     92                 />
     93 
     94         <EditText xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/edittext_url"
     95             android:layout_width="match_parent"
     96             android:layout_height="wrap_content"
     97             android:inputType="text"
     98             android:textSize="32dip"
     99             android:scrollHorizontally="true"
    100             android:ellipsize="end"
    101             android:text="@string/url"
    102             />
    103 
    104         <LinearLayout
    105             android:layout_width="600dip"
    106             android:layout_height="128dip"
    107             android:layout_gravity="center_vertical"
    108             android:orientation="horizontal"
    109             style="@android:style/Widget.Holo.Spinner"
    110             >
    111             <LinearLayout
    112                 android:layout_width="0dip"
    113                 android:layout_weight="1"
    114                 android:layout_height="match_parent"
    115                 android:layout_gravity="center_vertical"
    116                 android:orientation="vertical"
    117                 >
    118                 <TextView
    119                     android:id="@+id/spinner_line_1"
    120                     android:layout_width="match_parent"
    121                     android:layout_height="0dip"
    122                     android:layout_weight="1"
    123                     android:textSize="16dip"
    124                     android:singleLine="true"
    125                     android:ellipsize="end"
    126                     android:gravity="left|center_vertical"
    127                     android:text="@string/button_text"
    128                     />
    129             </LinearLayout>
    130         </LinearLayout>
    131 
    132     </LinearLayout>
    133 
    134 </FrameLayout>
    135