Files
vtosters/smali/res/layout/attach_audio_message.xml
T
gdlbo b50f56a5d4 Oh, fixes?
-Added styles list for dark and light themes
-Updated libs
-Auto refactored resources for easy editing
-Improved amoled theme
2022-04-23 21:36:08 +03:00

42 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingLeft="?attach_left_right_padding"
android:paddingTop="8.0dip"
android:paddingRight="?attach_left_right_padding"
android:paddingBottom="8.0dip"
android:layout_width="fill_parent"
android:layout_height="56.0dip"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.vtosters.lite.ui.widget.WaveformView
android:id="@id/attach_waveform"
android:paddingBottom="16.0dip"
android:layout_width="fill_parent"
android:layout_height="40.0dip"
android:layout_marginLeft="12.0dip"
android:layout_toRightOf="@id/play_button"
android:layout_alignTop="@id/play_button"
app:primaryColor="?accent"
app:progressColor="@color/waveform_light" />
<TextView
android:textSize="12.0sp"
android:textColor="?accent"
android:id="@id/attach_subtitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:layout_alignLeft="@id/attach_waveform"
android:layout_alignParentBottom="true" />
<ImageView
android:id="@id/play_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_attachment_audio_play"
android:scaleType="centerCrop"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:contentDescription="@null"
android:layout_alignParentStart="true" />
</RelativeLayout>