Basic voice message
parent
ce5f923b25
commit
ac718a425d
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape
|
||||||
android:shape="oval">
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="oval">
|
||||||
<solid android:color="@color/white" />
|
<solid android:color="@color/white" />
|
||||||
</shape>
|
</shape>
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="10dp"/>
|
||||||
|
<solid android:color="@color/white" />
|
||||||
|
</shape>
|
@ -1,16 +1,41 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="160dp"
|
||||||
|
android:layout_height="36dp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
android:padding="@dimen/small_spacing"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:background="@drawable/circle_tintable"
|
||||||
|
android:backgroundTint="@color/white">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="16dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:src="@drawable/exo_icon_play"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
app:tint="@color/black" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="84dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:background="@color/white" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView"
|
android:layout_width="40dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="20dp"
|
||||||
android:layout_height="wrap_content"
|
android:text="0:08"
|
||||||
android:textSize="@dimen/medium_font_size"
|
android:gravity="center"
|
||||||
android:textColor="@color/text" />
|
android:textColor="@color/black"
|
||||||
|
android:textSize="@dimen/small_font_size"
|
||||||
|
android:background="@drawable/view_voice_message_duration_text_view_background"
|
||||||
|
android:backgroundTint="@color/white" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Reference in New Issue