forked from melod1n/fast-messenger
fix voice messages waveform and padding
This commit is contained in:
@@ -324,7 +324,7 @@ class AttachmentInflater constructor(
|
|||||||
|
|
||||||
if (message.isOut)
|
if (message.isOut)
|
||||||
binding.root.updatePadding(
|
binding.root.updatePadding(
|
||||||
bottom = AndroidUtils.px(5).roundToInt(),
|
bottom = AndroidUtils.px(6).roundToInt(),
|
||||||
left = AndroidUtils.px(6).roundToInt()
|
left = AndroidUtils.px(6).roundToInt()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -28,10 +28,11 @@
|
|||||||
|
|
||||||
<com.masoudss.lib.WaveformSeekBar
|
<com.masoudss.lib.WaveformSeekBar
|
||||||
android:id="@+id/waveform"
|
android:id="@+id/waveform"
|
||||||
android:layout_width="100dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="20dp"
|
android:layout_height="30dp"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_weight="1"
|
||||||
app:wave_background_color="@color/a2_300"
|
app:wave_background_color="@color/a2_300"
|
||||||
app:wave_corner_radius="40dp"
|
app:wave_corner_radius="40dp"
|
||||||
app:wave_gap="2dp"
|
app:wave_gap="2dp"
|
||||||
|
|||||||
Reference in New Issue
Block a user