Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: chrome/android/java/res/layout/autofill_menu_item.xml

Issue 14752024: [Android] [RTL] Convert Left/Right attributes to Start/End attributes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 3
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:id="@+id/autofill_menu_item" 8 android:id="@+id/autofill_menu_item"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="@dimen/autofill_menu_item_size" 10 android:layout_height="@dimen/autofill_menu_item_size"
11 android:minHeight="@dimen/autofill_menu_item_size" 11 android:minHeight="@dimen/autofill_menu_item_size"
12 android:gravity="center_vertical" 12 android:gravity="center_vertical"
13 android:orientation="horizontal"> 13 android:orientation="horizontal">
14 <LinearLayout 14 <LinearLayout
15 android:id="@+id/autofill_menu_text" 15 android:id="@+id/autofill_menu_text"
16 android:layout_width="0dp" 16 android:layout_width="0dp"
17 android:layout_height="wrap_content" 17 android:layout_height="wrap_content"
18 android:layout_weight="1" 18 android:layout_weight="1"
19 android:orientation="vertical"> 19 android:orientation="vertical">
20 <LinearLayout 20 <LinearLayout
21 android:id="@+id/autofill_menu_text" 21 android:id="@+id/autofill_menu_text"
22 android:layout_width="wrap_content" 22 android:layout_width="wrap_content"
23 android:layout_height="0dp" 23 android:layout_height="0dp"
24 android:layout_weight="1" 24 android:layout_weight="1"
25 android:orientation="horizontal"> 25 android:orientation="horizontal">
26 <ImageView 26 <ImageView
27 android:id="@+id/cc_icon" 27 android:id="@+id/cc_icon"
28 android:layout_width="@dimen/autofill_menu_icon_width" 28 android:layout_width="@dimen/autofill_menu_icon_width"
29 android:layout_height="@dimen/autofill_menu_icon_height" 29 android:layout_height="@dimen/autofill_menu_icon_height"
30 android:layout_marginLeft="5dp"/> 30 android:layout_marginStart="5dp"/>
31 <TextView 31 <TextView
32 android:id="@+id/adapter_item_line_1" 32 android:id="@+id/adapter_item_line_1"
33 android:layout_width="wrap_content" 33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content" 34 android:layout_height="wrap_content"
35 android:textStyle="bold" 35 android:textStyle="bold"
36 android:textSize="14sp" 36 android:textSize="14sp"
37 android:ellipsize="end" 37 android:ellipsize="end"
38 android:singleLine="true" 38 android:singleLine="true"
39 android:scrollHorizontally="true" 39 android:scrollHorizontally="true"
40 android:layout_marginLeft="5dp"/> 40 android:layout_marginStart="5dp"/>
41 </LinearLayout> 41 </LinearLayout>
42 <TextView 42 <TextView
43 android:id="@+id/adapter_item_line_2" 43 android:id="@+id/adapter_item_line_2"
44 android:layout_width="wrap_content" 44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content" 45 android:layout_height="wrap_content"
46 android:textSize="12sp" 46 android:textSize="12sp"
47 android:ellipsize="end" 47 android:ellipsize="end"
48 android:singleLine="true" 48 android:singleLine="true"
49 android:scrollHorizontally="true" 49 android:scrollHorizontally="true"
50 android:layout_marginLeft="5dp"/> 50 android:layout_marginStart="5dp"/>
51 </LinearLayout> 51 </LinearLayout>
52 <Button 52 <Button
53 android:id="@+id/adapter_item_edit_button" 53 android:id="@+id/adapter_item_edit_button"
54 android:layout_width="wrap_content" 54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content" 55 android:layout_height="wrap_content"
56 android:layout_marginLeft="5dp" 56 android:layout_marginStart="5dp"
57 android:textSize="12sp" 57 android:textSize="12sp"
58 android:textStyle="bold" 58 android:textStyle="bold"
59 android:focusable="false" 59 android:focusable="false"
60 android:visibility="gone"/> 60 android:visibility="gone"/>
61 <EditText 61 <EditText
62 android:layout_height="match_parent" 62 android:layout_height="match_parent"
63 android:layout_width="wrap_content" 63 android:layout_width="wrap_content"
64 android:id="@+id/cvc_challenge" 64 android:id="@+id/cvc_challenge"
65 android:visibility="gone" 65 android:visibility="gone"
66 android:drawablePadding="@dimen/autofill_menu_item_padding" 66 android:drawablePadding="@dimen/autofill_menu_item_padding"
67 android:textSize="@dimen/autofill_edit_text_size"/> 67 android:textSize="@dimen/autofill_edit_text_size"/>
68 </LinearLayout> 68 </LinearLayout>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/autofill_general_layout.xml ('k') | chrome/android/java/res/layout/autofill_text.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698