kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix 4.4 crash in image editor.
rodzic
cc36f83d77
commit
8936d81bc7
|
@ -181,6 +181,7 @@ class ImageEditorHudV2 @JvmOverloads constructor(
|
|||
|
||||
@SuppressLint("ClickableViewAccessibility")
|
||||
private fun setupWidthSeekBar() {
|
||||
widthSeekBar.progressDrawable = AppCompatResources.getDrawable(context, R.drawable.ic_width_slider_bg)
|
||||
widthSeekBar.thumb = HSVColorSlider.createThumbDrawable(Color.WHITE)
|
||||
widthSeekBar.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener {
|
||||
override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) {
|
||||
|
|
|
@ -228,7 +228,6 @@
|
|||
app:layout_constraintBottom_toBottomOf="@id/image_editor_hud_draw_color_bar"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/image_editor_hud_draw_color_bar"
|
||||
app:srcCompat="@drawable/ic_draw_white_24"
|
||||
tools:alpha="1"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
@ -255,7 +254,6 @@
|
|||
android:id="@+id/image_editor_hud_draw_width_bar"
|
||||
android:layout_width="174dp"
|
||||
android:layout_height="48dp"
|
||||
android:progressDrawable="@drawable/ic_width_slider_bg"
|
||||
android:rotation="270"
|
||||
android:splitTrack="false"
|
||||
android:visibility="gone"
|
||||
|
|
Ładowanie…
Reference in New Issue