forked from upstream-mirrors/quik
Fix QKSMS+ theme preview
This commit is contained in:
@@ -33,7 +33,9 @@ import io.reactivex.subjects.BehaviorSubject
|
||||
import io.reactivex.subjects.Subject
|
||||
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()
|
||||
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
<corners android:radius="4dp" />
|
||||
|
||||
<gradient
|
||||
android:angle="0"
|
||||
android:endColor="#ff000000"
|
||||
android:startColor="#00000000" />
|
||||
|
||||
</shape>
|
||||
</shape>
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/rounded_rectangle_4dp"
|
||||
android:backgroundTint="@color/white"
|
||||
android:rotation="90"
|
||||
app:layout_constraintBottom_toBottomOf="@id/saturation"
|
||||
app:layout_constraintEnd_toEndOf="@id/saturation"
|
||||
app:layout_constraintStart_toStartOf="@id/saturation"
|
||||
|
||||
Reference in New Issue
Block a user