summaryrefslogtreecommitdiffstats
path: root/chromium/overlay/frameworks/base/core/res/res/layout/webviewchromium_color_picker_dialog_content.xml
blob: 5de9f1f9bfbb9a453e76bd657369703d6b2ec5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright 2013 The Chromium Authors. All rights reserved.
     Use of this source code is governed by a BSD-style license that can be
     found in the LICENSE file.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="15dp">

    <com.android.org.chromium.ui.ColorPickerAdvanced
        android:id="@+id/webviewchromium_color_picker_advanced"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <FrameLayout
        android:id="@+id/webviewchromium_color_picker_simple_border"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/webviewchromium_color_picker_border"
        android:paddingStart="1px"
        android:paddingEnd="1px"
        android:paddingTop="1px">


        <com.android.org.chromium.ui.ColorPickerSimple
            android:id="@+id/webviewchromium_color_picker_simple"
            android:layout_width="match_parent"
            android:layout_height="100dp"/>
    </FrameLayout>

    <FrameLayout
        android:id="@+id/webviewchromium_color_picker_more_colors_button_border"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/webviewchromium_color_picker_simple_border"
        android:background="@drawable/webviewchromium_color_picker_border"
        android:padding="1px">

        <Button
            android:id="@+id/webviewchromium_color_picker_more_colors_button"
            style="?android:attr/buttonBarButtonStyle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:minHeight="60dip"
            android:text="@string/webviewchromium_color_picker_button_more" />
    </FrameLayout>

</RelativeLayout>