aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/list_item_status.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/list_item_status.xml')
-rw-r--r--app/src/main/res/layout/list_item_status.xml27
1 files changed, 17 insertions, 10 deletions
diff --git a/app/src/main/res/layout/list_item_status.xml b/app/src/main/res/layout/list_item_status.xml
index e6d7fecd..de12cf49 100644
--- a/app/src/main/res/layout/list_item_status.xml
+++ b/app/src/main/res/layout/list_item_status.xml
@@ -24,16 +24,21 @@
~ SOFTWARE.
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="5dp">
+<net.lacolaco.smileessence.view.ColoredRelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="5dp"
+ app:accent_color="?attr/color_status_text_mine"
+ app:highlight_none="?attr/color_status_bg_normal"
+ app:highlight_type1="?attr/color_status_bg_mention"
+ app:highlight_type2="?attr/color_status_bg_retweet">
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/imageview_status_icon"
android:layout_width="36dp"
android:layout_height="36dp"
- android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
<TextView
@@ -43,7 +48,8 @@
android:layout_alignParentTop="true"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@+id/imageview_status_icon"
- android:gravity="top" />
+ android:gravity="top"
+ android:textColor="?attr/color_status_text_header" />
<TextView
android:id="@+id/textview_status_text"
@@ -62,7 +68,8 @@
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textview_status_text"
android:layout_below="@+id/textview_status_text"
- android:layout_marginRight="2dp" />
+ android:layout_marginRight="2dp"
+ android:textColor="?attr/color_status_text_footer" />
<ImageView
android:id="@+id/imageview_status_favorited"
@@ -82,6 +89,6 @@
android:layout_alignLeft="@+id/textview_status_text"
android:layout_below="@+id/textview_status_footer"
android:layout_marginRight="1dp"
- android:layout_marginTop="3dp"
- android:textColor="?attr/color_status_text_footer" />
-</RelativeLayout> \ No newline at end of file
+ android:layout_marginTop="3dp" />
+
+</net.lacolaco.smileessence.view.ColoredRelativeLayout> \ No newline at end of file