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

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

Issue 802553003: Autofill dropdown icons: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ownership Created 6 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:orientation="horizontal" 9 android:orientation="horizontal"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="wrap_content" 11 android:layout_height="wrap_content"
12 android:gravity="center_vertical"> 12 android:gravity="center_vertical">
13 13
14 <!-- These layout params are overwritten in DropdownAdapter.java -->
14 <LinearLayout android:id="@+id/dropdown_label_wrapper" 15 <LinearLayout android:id="@+id/dropdown_label_wrapper"
15 android:layout_weight="1" 16 android:layout_weight="1"
16 android:layout_width="0dp" 17 android:layout_width="0dp"
17 android:layout_height="wrap_content" 18 android:layout_height="0dp"
18 android:orientation="vertical" 19 android:orientation="vertical"
19 android:gravity="center_vertical"> 20 android:gravity="center_vertical">
20 21
21 <TextView android:id="@+id/dropdown_label" 22 <TextView android:id="@+id/dropdown_label"
22 android:layout_width="wrap_content" 23 android:layout_width="wrap_content"
23 android:layout_height="wrap_content" 24 android:layout_height="wrap_content"
24 android:layout_marginStart="10dp" 25 android:layout_marginStart="10dp"
25 android:layout_marginEnd="10dp" 26 android:layout_marginEnd="10dp"
26 android:ellipsize="end" 27 android:ellipsize="end"
27 android:singleLine="true" 28 android:singleLine="true"
(...skipping 12 matching lines...) Expand all
40 android:textAlignment="viewStart" 41 android:textAlignment="viewStart"
41 android:includeFontPadding="false"/> 42 android:includeFontPadding="false"/>
42 </LinearLayout> 43 </LinearLayout>
43 44
44 <ImageView android:id="@+id/dropdown_icon" 45 <ImageView android:id="@+id/dropdown_icon"
45 android:layout_width="wrap_content" 46 android:layout_width="wrap_content"
46 android:layout_height="wrap_content" 47 android:layout_height="wrap_content"
47 android:layout_margin="8dp"/> 48 android:layout_margin="8dp"/>
48 49
49 </LinearLayout> 50 </LinearLayout>
OLDNEW
« no previous file with comments | « components/resources/autofill_scaled_resources.grdp ('k') | ui/android/java/src/org/chromium/ui/DropdownAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698