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/textview_rtl" 19 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:layoutDirection="rtl"> 22 23 <LinearLayout android:orientation="vertical" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent"> 26 27 <TextView android:id="@+id/textview" 28 android:layout_height="wrap_content" 29 android:layout_width="wrap_content" 30 android:textSize="24dip" 31 android:text="@string/textview_hebrew_text" 32 android:minWidth="200dip" 33 android:drawableLeft="@drawable/start" 34 android:drawableRight="@drawable/end" 35 android:paddingLeft="5dip" 36 android:paddingRight="15dip" 37 android:drawablePadding="3dip" 38 android:background="#884" 39 android:layout_marginLeft="5dip" 40 android:layout_marginRight="15dip" 41 android:gravity="start" 42 /> 43 <TextView android:id="@+id/textview" 44 android:layout_height="wrap_content" 45 android:layout_width="wrap_content" 46 android:textSize="24dip" 47 android:text="@string/textview_latin_text" 48 android:minWidth="200dip" 49 android:drawableLeft="@drawable/start" 50 android:drawableRight="@drawable/end" 51 android:paddingLeft="5dip" 52 android:paddingRight="15dip" 53 android:drawablePadding="3dip" 54 android:background="#884" 55 android:layout_marginLeft="5dip" 56 android:layout_marginRight="15dip" 57 android:gravity="start" 58 /> 59 <TextView android:id="@+id/textview" 60 android:layout_height="wrap_content" 61 android:layout_width="wrap_content" 62 android:textSize="24dip" 63 android:text="@string/textview_multiline_text" 64 android:minWidth="200dip" 65 android:drawableLeft="@drawable/start" 66 android:drawableRight="@drawable/end" 67 android:paddingLeft="5dip" 68 android:paddingRight="15dip" 69 android:drawablePadding="3dip" 70 android:background="#884" 71 android:layout_marginLeft="5dip" 72 android:layout_marginRight="15dip" 73 android:gravity="start" 74 /> 75 76 <TextView android:id="@+id/textview" 77 android:layout_height="wrap_content" 78 android:layout_width="wrap_content" 79 android:textSize="24dip" 80 android:text="@string/textview_hebrew_text" 81 android:minWidth="200dip" 82 android:drawableLeft="@drawable/start" 83 android:drawableRight="@drawable/end" 84 android:paddingLeft="5dip" 85 android:paddingRight="15dip" 86 android:drawablePadding="3dip" 87 android:background="#884" 88 android:layout_marginLeft="5dip" 89 android:layout_marginRight="15dip" 90 android:gravity="end" 91 /> 92 <TextView android:id="@+id/textview" 93 android:layout_height="wrap_content" 94 android:layout_width="wrap_content" 95 android:textSize="24dip" 96 android:text="@string/textview_latin_text" 97 android:minWidth="200dip" 98 android:drawableLeft="@drawable/start" 99 android:drawableRight="@drawable/end" 100 android:paddingLeft="5dip" 101 android:paddingRight="15dip" 102 android:drawablePadding="3dip" 103 android:background="#884" 104 android:layout_marginLeft="5dip" 105 android:layout_marginRight="15dip" 106 android:gravity="end" 107 /> 108 <TextView android:id="@+id/textview" 109 android:layout_height="wrap_content" 110 android:layout_width="wrap_content" 111 android:textSize="24dip" 112 android:text="@string/textview_multiline_text" 113 android:minWidth="200dip" 114 android:drawableLeft="@drawable/start" 115 android:drawableRight="@drawable/end" 116 android:paddingLeft="5dip" 117 android:paddingRight="15dip" 118 android:drawablePadding="3dip" 119 android:background="#884" 120 android:layout_marginLeft="5dip" 121 android:layout_marginRight="15dip" 122 android:gravity="end" 123 /> 124 125 <TextView android:id="@+id/textview" 126 android:layout_height="wrap_content" 127 android:layout_width="wrap_content" 128 android:textSize="24dip" 129 android:text="@string/textview_hebrew_text" 130 android:minWidth="200dip" 131 android:drawableLeft="@drawable/start" 132 android:drawableRight="@drawable/end" 133 android:paddingLeft="5dip" 134 android:paddingRight="15dip" 135 android:drawablePadding="3dip" 136 android:background="#884" 137 android:layout_marginLeft="5dip" 138 android:layout_marginRight="15dip" 139 android:gravity="left" 140 /> 141 <TextView android:id="@+id/textview" 142 android:layout_height="wrap_content" 143 android:layout_width="wrap_content" 144 android:textSize="24dip" 145 android:text="@string/textview_latin_text" 146 android:minWidth="200dip" 147 android:drawableLeft="@drawable/start" 148 android:drawableRight="@drawable/end" 149 android:paddingLeft="5dip" 150 android:paddingRight="15dip" 151 android:drawablePadding="3dip" 152 android:background="#884" 153 android:layout_marginLeft="5dip" 154 android:layout_marginRight="15dip" 155 android:gravity="left" 156 /> 157 <TextView android:id="@+id/textview" 158 android:layout_height="wrap_content" 159 android:layout_width="wrap_content" 160 android:textSize="24dip" 161 android:text="@string/textview_multiline_text" 162 android:minWidth="200dip" 163 android:drawableLeft="@drawable/start" 164 android:drawableRight="@drawable/end" 165 android:paddingLeft="5dip" 166 android:paddingRight="15dip" 167 android:drawablePadding="3dip" 168 android:background="#884" 169 android:layout_marginLeft="5dip" 170 android:layout_marginRight="15dip" 171 android:gravity="left" 172 /> 173 174 <TextView android:id="@+id/textview" 175 android:layout_height="wrap_content" 176 android:layout_width="wrap_content" 177 android:textSize="24dip" 178 android:text="@string/textview_hebrew_text" 179 android:minWidth="200dip" 180 android:drawableLeft="@drawable/start" 181 android:drawableRight="@drawable/end" 182 android:paddingLeft="5dip" 183 android:paddingRight="15dip" 184 android:drawablePadding="3dip" 185 android:background="#884" 186 android:layout_marginLeft="5dip" 187 android:layout_marginRight="15dip" 188 android:gravity="right" 189 /> 190 <TextView android:id="@+id/textview" 191 android:layout_height="wrap_content" 192 android:layout_width="wrap_content" 193 android:textSize="24dip" 194 android:text="@string/textview_latin_text" 195 android:minWidth="200dip" 196 android:drawableLeft="@drawable/start" 197 android:drawableRight="@drawable/end" 198 android:paddingLeft="5dip" 199 android:paddingRight="15dip" 200 android:drawablePadding="3dip" 201 android:background="#884" 202 android:layout_marginLeft="5dip" 203 android:layout_marginRight="15dip" 204 android:gravity="right" 205 /> 206 <TextView android:id="@+id/textview" 207 android:layout_height="wrap_content" 208 android:layout_width="wrap_content" 209 android:textSize="24dip" 210 android:text="@string/textview_multiline_text" 211 android:minWidth="200dip" 212 android:drawableLeft="@drawable/start" 213 android:drawableRight="@drawable/end" 214 android:paddingLeft="5dip" 215 android:paddingRight="15dip" 216 android:drawablePadding="3dip" 217 android:background="#884" 218 android:layout_marginLeft="5dip" 219 android:layout_marginRight="15dip" 220 android:gravity="right" 221 /> 222 223 <TextView android:id="@+id/textview" 224 android:layout_height="wrap_content" 225 android:layout_width="wrap_content" 226 android:textSize="24dip" 227 android:text="@string/textview_hebrew_text" 228 android:minWidth="200dip" 229 android:drawableLeft="@drawable/start" 230 android:drawableRight="@drawable/end" 231 android:paddingLeft="5dip" 232 android:paddingRight="15dip" 233 android:drawablePadding="3dip" 234 android:background="#884" 235 android:layout_marginLeft="5dip" 236 android:layout_marginRight="15dip" 237 android:gravity="center" 238 /> 239 <TextView android:id="@+id/textview" 240 android:layout_height="wrap_content" 241 android:layout_width="wrap_content" 242 android:textSize="24dip" 243 android:text="@string/textview_latin_text" 244 android:minWidth="200dip" 245 android:drawableLeft="@drawable/start" 246 android:drawableRight="@drawable/end" 247 android:paddingLeft="5dip" 248 android:paddingRight="15dip" 249 android:drawablePadding="3dip" 250 android:background="#884" 251 android:layout_marginLeft="5dip" 252 android:layout_marginRight="15dip" 253 android:gravity="center" 254 /> 255 <TextView android:id="@+id/textview" 256 android:layout_height="wrap_content" 257 android:layout_width="wrap_content" 258 android:textSize="24dip" 259 android:text="@string/textview_multiline_text" 260 android:minWidth="200dip" 261 android:drawableLeft="@drawable/start" 262 android:drawableRight="@drawable/end" 263 android:paddingLeft="5dip" 264 android:paddingRight="15dip" 265 android:drawablePadding="3dip" 266 android:background="#884" 267 android:layout_marginLeft="5dip" 268 android:layout_marginRight="15dip" 269 android:gravity="center" 270 /> 271 272 </LinearLayout> 273 274 275 </FrameLayout> 276