pulled from Omnilib repo from omnirom for history/authors check https://github.com/omnirom/android_packages_apps_OmniLib/commits/android-10 Change-Id: I5999c551ce0273f5c3b25ff45179a10a9969bbe8
77 lines
3.1 KiB
XML
77 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2010 Daniel Nilsson
|
|
Copyright (C) 2012 THe CyanogenMod Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="@dimen/alert_dialog_padding_material"
|
|
android:paddingStart="@dimen/alert_dialog_padding_material"
|
|
android:paddingEnd="@dimen/alert_dialog_padding_material" >
|
|
<com.cherish.settings.ui.ColorPickerView
|
|
android:id="@+id/color_picker_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginStart="10dp" />
|
|
<LinearLayout
|
|
android:id="@+id/color_panel_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="4dp"
|
|
android:orientation="horizontal" >
|
|
<EditText
|
|
android:id="@+id/hex_color_input"
|
|
android:layout_width="0px"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.5"
|
|
android:digits="0123456789ABCDEFabcdef"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLength="6" />
|
|
<com.cherish.settings.ui.ColorPanelView
|
|
android:id="@+id/color_panel"
|
|
android:layout_width="0px"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_weight="0.5" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/color_list_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="4dp"
|
|
android:orientation="horizontal" >
|
|
<Spinner
|
|
android:id="@+id/color_list_spinner"
|
|
android:layout_width="0px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="0.5" />
|
|
<com.cherish.settings.ui.ColorPanelView
|
|
android:id="@+id/color_list_panel"
|
|
android:layout_width="0px"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_weight="0.5" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|