OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <LinearLayout | 6 <LinearLayout |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="wrap_content" | 9 android:layout_height="wrap_content" |
10 android:layout_marginTop="@dimen/payments_section_large_spacing" | 10 android:layout_marginTop="@dimen/payments_section_large_spacing" |
11 android:layout_marginBottom="@dimen/payments_section_large_spacing" | 11 android:layout_marginBottom="@dimen/payments_section_large_spacing" |
12 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" | 12 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" |
13 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" | 13 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" |
14 android:orientation="vertical"> | 14 android:orientation="vertical"> |
15 | 15 |
16 <TextView | 16 <TextView |
17 android:id="@+id/label" | 17 android:id="@+id/label" |
18 android:layout_width="match_parent" | 18 android:layout_width="match_parent" |
19 android:layout_height="wrap_content" | 19 android:layout_height="wrap_content" |
20 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /
> | 20 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /
> |
21 | 21 |
22 <LinearLayout | 22 <org.chromium.chrome.browser.payments.ui.ExpandableGridView |
23 android:id="@+id/icons_container" | 23 android:id="@+id/icons_container" |
24 android:layout_width="match_parent" | 24 android:layout_width="match_parent" |
25 android:layout_height="wrap_content" | 25 android:layout_height="wrap_content" |
| 26 android:columnWidth="@dimen/payments_section_logo_width" |
26 android:layout_marginTop="@dimen/payments_section_small_spacing" | 27 android:layout_marginTop="@dimen/payments_section_small_spacing" |
27 android:orientation="horizontal" /> | 28 android:verticalSpacing="@dimen/payments_section_small_spacing" |
| 29 android:horizontalSpacing="@dimen/payments_section_small_spacing" |
| 30 android:stretchMode="none" |
| 31 android:numColumns="auto_fit" /> |
28 | 32 |
29 </LinearLayout> | 33 </LinearLayout> |
OLD | NEW |