summaryrefslogtreecommitdiffstats
path: root/chromium/overlay/frameworks/base/core/res/res/layout/webviewchromium_color_picker_dialog_content.xml
blob: 42d8af40b2a118ab14660cd0b704d249a2341112 (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.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:padding="15dp">

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

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

    <com.android.org.chromium.ui.ColorPickerSimple
        android:id="@+id/webviewchromium_color_picker_simple"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:divider="@color/webviewchromium_color_picker_border_color"
        android:dividerHeight="1px"
        android:paddingStart="1px"
        android:paddingEnd="1px"
        android:paddingTop="1px"
        android:background="@drawable/webviewchromium_color_picker_border" />

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

        <com.android.org.chromium.ui.ColorPickerMoreButton
            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="48dp"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:text="@string/webviewchromium_color_picker_button_more" />
    </FrameLayout>
</LinearLayout>