OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
Yuwei
2016/09/30 20:47:10
There is also a "navigation_list_item.xml" in java
Lambros
2016/10/03 21:10:03
SGTM. Can do that here or in a separate CL.
Yuwei
2016/10/03 22:06:21
Done here.
| |
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 | 6 |
7 <TextView xmlns:android="http://schemas.android.com/apk/res/android" | 7 <TextView xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:drawablePadding="32dp" | 8 android:drawablePadding="32dp" |
9 android:drawableStart="@drawable/ic_info" | |
10 android:gravity="center_vertical" | 9 android:gravity="center_vertical" |
11 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
12 android:layout_width="match_parent" | 11 android:layout_width="match_parent" |
13 android:paddingStart="16dp" | 12 android:paddingStart="16dp" |
14 android:paddingEnd="16dp" | 13 android:paddingEnd="16dp" |
15 android:paddingTop="16dp" | 14 android:paddingTop="16dp" |
16 android:paddingBottom="20dp" | 15 android:paddingBottom="20dp" |
17 android:text="@string/credits" | |
18 style="@style/NavigationTextStyle"/> | 16 style="@style/NavigationTextStyle"/> |
OLD | NEW |