renaming SMS to Message in some cases for easier handling

This commit is contained in:
tibbi 2020-04-03 12:29:57 +02:00
parent 45e3d0b865
commit e6b8db6ad0
8 changed files with 87 additions and 84 deletions

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/message_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:foreground="@drawable/selector">
<RelativeLayout
android:id="@+id/message_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/activity_margin">
<TextView
android:id="@+id/message_address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textSize="@dimen/big_text_size"
tools:text="John" />
<TextView
android:id="@+id/message_body_short"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/message_address"
android:alpha="0.6"
android:ellipsize="end"
android:maxLines="1"
android:textSize="@dimen/normal_text_size"
tools:text="Hey buddy!" />
</RelativeLayout>
</FrameLayout>