Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: ui/android/java/res/layout/color_picker_advanced_component.xml

Issue 2398543003: Move Android view based ColorPicker from ui/ to components/ (Closed)
Patch Set: add owners Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW
« no previous file with comments | « ui/android/java/res/drawable/color_picker_border.xml ('k') | ui/android/java/res/layout/color_picker_dialog_content.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698