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

Side by Side Diff: ui/android/java/res/layout/dropdown_item.xml

Issue 2531223003: Expanded Autofill Credit Card Popup Layout Experiment in Android. (Closed)
Patch Set: Fix merge error in AutofillSuggestion.java Created 4 years 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
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 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 7
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 10 android:layout_height="wrap_content"
11 android:gravity="center_vertical" 11 android:gravity="center_vertical"
12 android:orientation="horizontal" > 12 android:orientation="horizontal" >
13 13
14 <!-- These layout params are overwritten in DropdownAdapter.java --> 14 <!-- These layout params are overwritten in DropdownAdapter.java -->
15 <ImageView
16 android:id="@+id/start_dropdown_icon"
17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content"
19 android:layout_margin="8dp"
20 android:contentDescription="@null" />
15 21
16 <LinearLayout 22 <LinearLayout
17 android:id="@+id/dropdown_label_wrapper" 23 android:id="@+id/dropdown_label_wrapper"
18 android:layout_width="0dp" 24 android:layout_width="0dp"
19 android:layout_height="0dp" 25 android:layout_height="0dp"
20 android:layout_weight="1" 26 android:layout_weight="1"
21 android:gravity="center_vertical" 27 android:gravity="center_vertical"
22 android:orientation="vertical" > 28 android:orientation="vertical" >
23 29
24 <TextView 30 <TextView
(...skipping 17 matching lines...) Expand all
42 android:layout_marginStart="10dp" 48 android:layout_marginStart="10dp"
43 android:ellipsize="end" 49 android:ellipsize="end"
44 android:includeFontPadding="false" 50 android:includeFontPadding="false"
45 android:singleLine="true" 51 android:singleLine="true"
46 android:textAlignment="viewStart" 52 android:textAlignment="viewStart"
47 android:textColor="#646464" 53 android:textColor="#646464"
48 android:textSize="14sp" /> 54 android:textSize="14sp" />
49 </LinearLayout> 55 </LinearLayout>
50 56
51 <ImageView 57 <ImageView
52 android:id="@+id/dropdown_icon" 58 android:id="@+id/end_dropdown_icon"
53 android:layout_width="wrap_content" 59 android:layout_width="wrap_content"
54 android:layout_height="wrap_content" 60 android:layout_height="wrap_content"
55 android:layout_margin="8dp" 61 android:layout_margin="8dp"
56 android:contentDescription="@null" /> 62 android:contentDescription="@null" />
57 63
58 </LinearLayout> 64 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698