Hint circle for threads

Stephen Paul Weber created

Took the idea from monocles

Change summary

src/cheogram/res/drawable/thread_hint.xml     | 16 ++++++++++++++++
src/main/res/layout/fragment_conversation.xml | 11 ++++++-----
2 files changed, 22 insertions(+), 5 deletions(-)

Detailed changes

src/cheogram/res/drawable/thread_hint.xml 🔗

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
+    <corners
+        android:topLeftRadius="15dp"
+        android:topRightRadius="15dp"
+        android:bottomRightRadius="15dp"
+        android:bottomLeftRadius="15dp" />
+    <padding
+        android:bottom="2dp"
+        android:left="6dp"
+        android:right="6dp"
+        android:top="2dp" />
+    <stroke
+        android:width="1dp"
+        android:color="?attr/colorAccent" />
+</shape>

src/main/res/layout/fragment_conversation.xml 🔗

@@ -155,19 +155,20 @@
                         android:layout_alignParentStart="true"
                         android:layout_alignParentLeft="true"
                         android:layout_centerVertical="true"
-                        android:layout_marginLeft="8dp">
+                        android:layout_marginLeft="7dp"
+                        android:background="@drawable/thread_hint">
 
                         <com.lelloman.identicon.view.GithubIdenticonView
                             android:id="@+id/thread_identicon"
                             android:alpha="0"
-                            android:layout_width="24dp"
-                            android:layout_height="24dp"
+                            android:layout_width="18dp"
+                            android:layout_height="18dp"
                             android:layout_centerVertical="true"
                             android:contentDescription="Thread Marker" />
                         <ImageView
                             android:id="@+id/thread_identicon_lock"
-                            android:layout_width="12dp"
-                            android:layout_height="12dp"
+                            android:layout_width="10dp"
+                            android:layout_height="10dp"
                             android:layout_alignParentTop="true"
                             android:layout_alignParentEnd="true"
                             android:layout_alignParentRight="true"