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/canvas2"
     19         android:layout_width="fill_parent"
     20         android:layout_height="fill_parent">
     21 
     22     <LinearLayout
     23         xmlns:local="http://schemas.android.com/apk/res/com.android.bidi"
     24         android:orientation="vertical"
     25         android:layout_width="fill_parent"
     26         android:layout_height="fill_parent">
     27 
     28         <TextView
     29             android:text="@string/ltr"
     30             android:textSize="40dip"
     31             android:gravity="center"
     32             android:layout_width="fill_parent"
     33             android:layout_height="wrap_content" />
     34 
     35         <com.android.bidi.BiDiTestViewDrawText
     36             local:text="@string/ltr"
     37             android:layout_width="fill_parent"
     38             android:layout_height="64dp" />
     39 
     40         <TextView
     41             android:text="@string/rtl"
     42             android:textSize="40dip"
     43             android:gravity="center"
     44             android:layout_width="fill_parent"
     45             android:layout_height="wrap_content"/>
     46 
     47         <com.android.bidi.BiDiTestViewDrawText
     48             local:text="@string/rtl"
     49             android:layout_width="fill_parent"
     50             android:layout_height="64dp" />
     51 
     52         <TextView
     53             android:text="@string/composing"
     54             android:textSize="40dip"
     55             android:gravity="center"
     56             android:layout_width="fill_parent"
     57             android:layout_height="wrap_content"/>
     58 
     59         <com.android.bidi.BiDiTestViewDrawText
     60             local:text="@string/composing"
     61             android:layout_width="fill_parent"
     62             android:layout_height="64dp" />
     63 
     64     </LinearLayout>
     65 
     66 </FrameLayout>