1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-17 23:15:10 -05:00
k-9/res/layout/colorpicker_dialog.xml
Jesse Vincent 52e2a437fb Imported a variant of http://code.google.com/p/android-color-picker/ into k-9
- Ported to the ColorPickerDialog API
- Translated the API and Internals from Indonesian to English
- Moved to use K-9 strings rather than custom strings.

In an ideal world, we should use ambilwarna as an android library
project, like it was intended.
2010-11-08 02:21:32 +00:00

60 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_horizontal"
>
<include
android:layout_width="296dp"
android:layout_height="256dp"
android:id="@+id/colorpicker_includeChooser"
layout="@layout/colorpicker_chooser" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:paddingBottom="8dp"
>
<AbsoluteLayout
android:layout_width="200dp"
android:layout_height="40dp"
>
<View
android:layout_width="80dp"
android:layout_height="40dp"
android:layout_x="0dp"
android:layout_y="0dp"
android:id="@+id/colorpicker_colorOld"
android:background="#faa"
/>
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_x="80dp"
android:layout_y="0dp"
android:src="@drawable/colorpicker_menjadi"
/>
<View
android:layout_width="80dp"
android:layout_height="40dp"
android:layout_x="120dp"
android:layout_y="0dp"
android:id="@+id/colorpicker_colorNew"
android:background="#aaf"
/>
</AbsoluteLayout>
</LinearLayout>
</LinearLayout>