Fix QKSMS+ theme preview

This commit is contained in:
Moez Bhatti
2020-01-12 20:50:55 -05:00
parent d0251d2295
commit f2e754e47f
3 changed files with 5 additions and 3 deletions
@@ -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"