Add timestamps to conversations

This commit is contained in:
Moez Bhatti
2017-09-26 02:10:11 -04:00
parent 67ca4f5477
commit 48e2f5e4c1
4 changed files with 37 additions and 8 deletions
@@ -23,18 +23,34 @@
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/title"
style="@style/TextPrimary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
tools:text="Moez Bhatti" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/title"
style="@style/TextPrimary"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_weight="1"
tools:text="Moez Bhatti" />
<TextView
android:id="@+id/date"
style="@style/TextTertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Oct 11" />
</LinearLayout>
<TextView
android:id="@+id/snippet"
style="@style/TextSecondary"
android:layout_width="wrap_content"
android:ellipsize="end"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="2dp"
+5
View File
@@ -21,4 +21,9 @@
<item name="android:textSize">14sp</item>
</style>
<style name="TextTertiary">
<item name="android:textColor">@color/textTertiary</item>
<item name="android:textSize">12sp</item>
</style>
</resources>