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

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

Issue 2627153007: Fix styling of Form-Not-Secure warnings on Android (Closed)
Patch Set: actually set the icon size Created 3 years, 11 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
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 15 <ImageView
16 android:id="@+id/start_dropdown_icon" 16 android:id="@+id/start_dropdown_icon"
17 android:layout_width="wrap_content" 17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
19 android:layout_margin="8dp" 19 android:layout_margin="@dimen/dropdown_icon_margin"
20 android:contentDescription="@null" /> 20 android:contentDescription="@null" />
21 21
22 <LinearLayout 22 <LinearLayout
23 android:id="@+id/dropdown_label_wrapper" 23 android:id="@+id/dropdown_label_wrapper"
24 android:layout_width="0dp" 24 android:layout_width="0dp"
25 android:layout_height="0dp" 25 android:layout_height="0dp"
26 android:layout_weight="1" 26 android:layout_weight="1"
27 android:gravity="center_vertical" 27 android:gravity="center_vertical"
28 android:orientation="vertical" > 28 android:orientation="vertical" >
29 29
(...skipping 14 matching lines...) Expand all
44 android:id="@+id/dropdown_sublabel" 44 android:id="@+id/dropdown_sublabel"
45 android:layout_width="wrap_content" 45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content" 46 android:layout_height="wrap_content"
47 android:layout_marginEnd="10dp" 47 android:layout_marginEnd="10dp"
48 android:layout_marginStart="10dp" 48 android:layout_marginStart="10dp"
49 android:ellipsize="end" 49 android:ellipsize="end"
50 android:includeFontPadding="false" 50 android:includeFontPadding="false"
51 android:singleLine="true" 51 android:singleLine="true"
52 android:textAlignment="viewStart" 52 android:textAlignment="viewStart"
53 android:textColor="#646464" 53 android:textColor="#646464"
54 android:textSize="14sp" /> 54 android:textSize="@dimen/dropdown_item_sublabel_font_size" />
55 </LinearLayout> 55 </LinearLayout>
56 56
57 <ImageView 57 <ImageView
58 android:id="@+id/end_dropdown_icon" 58 android:id="@+id/end_dropdown_icon"
59 android:layout_width="wrap_content" 59 android:layout_width="wrap_content"
60 android:layout_height="wrap_content" 60 android:layout_height="wrap_content"
61 android:layout_margin="8dp" 61 android:layout_margin="8dp"
62 android:contentDescription="@null" /> 62 android:contentDescription="@null" />
63 63
64 </LinearLayout> 64 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698