mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-18 03:48:52 +01:00
Fix QKSMS+ theme preview
This commit is contained in:
@@ -33,7 +33,9 @@ import io.reactivex.subjects.BehaviorSubject
|
|||||||
import io.reactivex.subjects.Subject
|
import io.reactivex.subjects.Subject
|
||||||
import kotlinx.android.synthetic.main.hsv_picker_view.view.*
|
import kotlinx.android.synthetic.main.hsv_picker_view.view.*
|
||||||
|
|
||||||
class HSVPickerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : ConstraintLayout(context, attrs) {
|
class HSVPickerView @JvmOverloads constructor(
|
||||||
|
context: Context, attrs: AttributeSet? = null
|
||||||
|
) : ConstraintLayout(context, attrs) {
|
||||||
|
|
||||||
val selectedColor: Subject<Int> = BehaviorSubject.create()
|
val selectedColor: Subject<Int> = BehaviorSubject.create()
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
<corners android:radius="4dp" />
|
<corners android:radius="4dp" />
|
||||||
|
|
||||||
<gradient
|
<gradient
|
||||||
|
android:angle="0"
|
||||||
android:endColor="#ff000000"
|
android:endColor="#ff000000"
|
||||||
android:startColor="#00000000" />
|
android:startColor="#00000000" />
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:background="@drawable/rounded_rectangle_4dp"
|
android:background="@drawable/rounded_rectangle_4dp"
|
||||||
android:backgroundTint="@color/white"
|
android:backgroundTint="@color/white"
|
||||||
android:rotation="90"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@id/saturation"
|
app:layout_constraintBottom_toBottomOf="@id/saturation"
|
||||||
app:layout_constraintEnd_toEndOf="@id/saturation"
|
app:layout_constraintEnd_toEndOf="@id/saturation"
|
||||||
app:layout_constraintStart_toStartOf="@id/saturation"
|
app:layout_constraintStart_toStartOf="@id/saturation"
|
||||||
|
|||||||
Reference in New Issue
Block a user