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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user