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

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

Issue 12924002: Fix AutofillDialogMenuAdapter to support showing multiple lines and icon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Imports cleanup Created 7 years, 9 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
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <RelativeLayout 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:layout_width="match_parent" 9 android:layout_width="match_parent"
9 android:layout_height="wrap_content" > 10 android:layout_height="@dimen/autofill_menu_item_size"
11 android:minHeight="@dimen/autofill_menu_item_size"
12 android:orientation="horizontal"
13 android:gravity="center_vertical">
10 <ImageView 14 <ImageView
11 android:id="@+id/cc_icon" 15 android:id="@+id/cc_icon"
12 android:layout_width="44dp" 16 android:layout_width="@dimen/autofill_menu_item_size"
13 android:layout_height="44dp" 17 android:layout_height="@dimen/autofill_menu_item_size"
14 android:layout_marginLeft="5dp" 18 android:layout_marginLeft="5dp"/>
15 android:layout_marginRight="5dp"/> 19 <LinearLayout
16 <TextView 20 android:id="@+id/autofill_menu_text"
17 android:id="@+id/adapter_item_line_1" 21 android:layout_width="match_parent"
18 android:layout_toRightOf="@id/cc_icon"
19 android:layout_width="wrap_content"
20 android:layout_height="wrap_content" 22 android:layout_height="wrap_content"
21 android:textStyle="bold" 23 android:orientation="vertical">
22 android:textSize="14sp"/> 24 <TextView
23 <TextView 25 android:id="@+id/adapter_item_line_1"
24 android:id="@+id/adapter_item_line_2" 26 android:layout_width="match_parent"
25 android:layout_below="@+id/adapter_item_line_1" 27 android:layout_height="wrap_content"
26 android:layout_toRightOf="@id/cc_icon" 28 android:textStyle="bold"
27 android:layout_width="wrap_content" 29 android:textSize="14sp"
28 android:layout_height="wrap_content" 30 android:layout_marginLeft="5dp"/>
29 android:textSize="12sp"/> 31 <TextView
30 </RelativeLayout> 32 android:id="@+id/adapter_item_line_2"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:textSize="12sp"
36 android:layout_marginLeft="5dp"/>
37 </LinearLayout>
38 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698