| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2017 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 6 xmlns:tools="http://schemas.android.com/tools" | 6 xmlns:tools="http://schemas.android.com/tools" |
| 7 android:id="@+id/content_layer" | 7 android:id="@+id/content_layer" |
| 8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
| 9 android:layout_height="match_parent" | 9 android:layout_height="match_parent" |
| 10 android:minWidth="280dp" | 10 android:minWidth="280dp" |
| 11 android:orientation="vertical"> | 11 android:orientation="vertical"> |
| 12 <LinearLayout | 12 <LinearLayout |
| 13 android:id="@+id/context_header_layout" | 13 android:id="@+id/context_header_layout" |
| 14 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
| 15 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
| 16 android:layout_marginTop="20dp" | 16 android:paddingTop="20dp" |
| 17 android:layout_marginStart="20dp" | 17 android:paddingStart="20dp" |
| 18 android:layout_marginEnd="20dp" | 18 android:paddingEnd="20dp" |
| 19 android:layout_marginBottom="10dp" | 19 android:paddingBottom="10dp" |
| 20 android:layout_gravity="center" | 20 android:layout_gravity="center" |
| 21 android:orientation="vertical" | 21 android:orientation="vertical" |
| 22 tools:ignore="UseCompoundDrawables"> | 22 tools:ignore="UseCompoundDrawables"> |
| 23 <!-- Cannot use a compound drawable since it does not allow a change in
maxHeight and | 23 <!-- Cannot use a compound drawable since it does not allow a change in
maxHeight and |
| 24 background to the image. --> | 24 background to the image. --> |
| 25 <ImageView | 25 <ImageView |
| 26 android:id="@+id/context_header_image" | 26 android:id="@+id/context_header_image" |
| 27 android:layout_width="wrap_content" | 27 android:layout_width="wrap_content" |
| 28 android:layout_height="wrap_content" | 28 android:layout_height="wrap_content" |
| 29 android:layout_gravity="center" | 29 android:layout_gravity="center" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 53 android:background="#1e000000"/> | 53 android:background="#1e000000"/> |
| 54 <ListView | 54 <ListView |
| 55 android:id="@+id/selectable_items" | 55 android:id="@+id/selectable_items" |
| 56 android:layout_width="match_parent" | 56 android:layout_width="match_parent" |
| 57 android:layout_height="wrap_content" | 57 android:layout_height="wrap_content" |
| 58 android:paddingTop="8dp" | 58 android:paddingTop="8dp" |
| 59 android:paddingBottom="8dp" | 59 android:paddingBottom="8dp" |
| 60 android:dividerHeight="0dp" | 60 android:dividerHeight="0dp" |
| 61 android:divider="@null"/> | 61 android:divider="@null"/> |
| 62 </LinearLayout> | 62 </LinearLayout> |
| OLD | NEW |