Cherish: ColorPicker: make it more user friendly

* Show RGB value instead of ARGB because most average users dont even know about alpha in hex color values
* Make edit text limited to 7 characters and one line
* Remove enter image button

Signed-off-by: 00day0 <therandomuser11@gmail.com>
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
This commit is contained in:
00day0
2019-12-11 00:02:58 +01:00
committed by unknown
parent ba9e20e869
commit e0dc6f4d7a
5 changed files with 50 additions and 64 deletions

View File

@@ -43,17 +43,11 @@
android:id="@+id/hex"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="text"
android:maxLines="1"
android:maxLength="7"
android:hint="@string/hex_hint" />
<ImageButton
android:id="@+id/enter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:background="@android:color/transparent"
android:gravity="center"
android:src="@drawable/ic_action_set" />
</LinearLayout>
<net.margaritov.preference.colorpicker.ColorPickerView