| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2013 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. | |
| 5 --> | |
| 6 | |
| 7 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 android:layout_width="match_parent" | |
| 9 android:layout_height="wrap_content" | |
| 10 android:paddingBottom="15dp" | |
| 11 android:paddingStart="20dp" | |
| 12 android:paddingEnd="20dp" | |
| 13 android:paddingTop="15dp" > | |
| 14 | |
| 15 <TextView | |
| 16 android:id="@+id/title" | |
| 17 style="?android:attr/textAppearanceLarge" | |
| 18 android:layout_width="match_parent" | |
| 19 android:layout_height="wrap_content" | |
| 20 android:layout_toStartOf="@+id/selected_color_view_border" | |
| 21 android:layout_centerVertical="true" | |
| 22 android:textColor="#33B5E5" | |
| 23 android:ellipsize="end" | |
| 24 android:singleLine="true" /> | |
| 25 | |
| 26 <FrameLayout | |
| 27 android:layout_width="40dp" | |
| 28 android:layout_height="40dp" | |
| 29 android:layout_alignParentEnd="true" | |
| 30 android:id="@+id/selected_color_view_border" | |
| 31 android:background="@drawable/color_picker_border" | |
| 32 android:padding="2dp"> | |
| 33 | |
| 34 <View | |
| 35 android:id="@+id/selected_color_view" | |
| 36 android:layout_width="match_parent" | |
| 37 android:layout_height="match_parent" | |
| 38 android:background="@android:color/black" /> | |
| 39 </FrameLayout> | |
| 40 | |
| 41 </RelativeLayout> | |
| OLD | NEW |