| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- | |
| 3 Copyright 2013 The Chromium Authors. All rights reserved. | |
| 4 Use of this source code is governed by a BSD-style license that can be | |
| 5 found in the LICENSE file. | |
| 6 --> | |
| 7 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 android:layout_width="wrap_content" | |
| 9 android:layout_height="wrap_content"> | |
| 10 | |
| 11 <TextView | |
| 12 android:id="@+id/text" | |
| 13 android:layout_width="match_parent" | |
| 14 android:layout_height="wrap_content" | |
| 15 android:layout_marginStart="@dimen/color_picker_gradient_margin" | |
| 16 android:layout_marginEnd="@dimen/color_picker_gradient_margin" | |
| 17 android:textAppearance="@android:style/TextAppearance.Medium" | |
| 18 android:textIsSelectable="false" /> | |
| 19 | |
| 20 <FrameLayout | |
| 21 android:id="@+id/gradient_border" | |
| 22 android:layout_width="match_parent" | |
| 23 android:layout_height="50dp" | |
| 24 android:layout_below="@id/text" | |
| 25 android:layout_marginStart="@dimen/color_picker_gradient_margin" | |
| 26 android:layout_marginEnd="@dimen/color_picker_gradient_margin" | |
| 27 android:layout_marginTop="3dp" | |
| 28 android:background="@drawable/color_picker_border" | |
| 29 android:padding="1dp" > | |
| 30 | |
| 31 <View | |
| 32 android:id="@+id/gradient" | |
| 33 android:layout_width="match_parent" | |
| 34 android:layout_height="match_parent" /> | |
| 35 </FrameLayout> | |
| 36 | |
| 37 <SeekBar | |
| 38 android:id="@+id/seek_bar" | |
| 39 android:layout_width="match_parent" | |
| 40 android:layout_height="75dp" | |
| 41 android:layout_below="@id/text" | |
| 42 android:progressDrawable="@android:color/transparent" | |
| 43 android:thumb="@drawable/color_picker_advanced_select_handle" | |
| 44 android:translationY="25dp" /> | |
| 45 | |
| 46 </RelativeLayout> | |
| OLD | NEW |