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

Side by Side Diff: ui/android/java/res/layout/color_picker_dialog_content.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
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="match_parent"
10 android:layout_height="wrap_content"
11 android:orientation="vertical"
12 android:padding="15dp">
13
14 <ScrollView
15 android:layout_width="match_parent"
16 android:layout_height="wrap_content">
17
18 <org.chromium.ui.ColorPickerAdvanced
19 android:id="@+id/color_picker_advanced"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content" />
22 </ScrollView>
23
24 <org.chromium.ui.ColorPickerSimple
25 android:id="@+id/color_picker_simple"
26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
28 android:divider="@color/color_picker_border_color"
29 android:dividerHeight="1px"
30 android:paddingStart="1px"
31 android:paddingEnd="1px"
32 android:paddingTop="1px"
33 android:background="@drawable/color_picker_border" />
34
35 <FrameLayout
36 android:id="@+id/more_colors_button_border"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:background="@drawable/color_picker_border"
40 android:padding="1px">
41
42 <org.chromium.ui.ColorPickerMoreButton
43 android:id="@+id/more_colors_button"
44 style="?android:attr/buttonBarButtonStyle"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:minHeight="48dp"
48 android:textAppearance="?android:attr/textAppearanceSmall"
49 android:text="@string/color_picker_button_more" />
50 </FrameLayout>
51 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698