mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-18 11:58:52 +01:00
Restrict swatch to bounds of SL picker
This commit is contained in:
@@ -31,23 +31,23 @@
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/swatch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="18dp">
|
||||
|
||||
<View
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/circle" />
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="1dp"
|
||||
android:layout_margin="18dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/hue"
|
||||
app:layout_constraintEnd_toEndOf="@id/hue"
|
||||
app:layout_constraintStart_toStartOf="@id/hue"
|
||||
app:layout_constraintTop_toTopOf="@id/hue">
|
||||
|
||||
<View
|
||||
android:id="@+id/swatchPreview"
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/circle"
|
||||
tools:backgroundTint="@color/tools_theme" />
|
||||
android:backgroundTint="@color/tools_theme" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user