diff options
author | Tom Hennen <tom.hennen@gmail.com> | 2016-03-26 14:03:38 -0400 |
---|---|---|
committer | Tom Hennen <tom.hennen@gmail.com> | 2016-03-26 14:03:38 -0400 |
commit | 193f58376d23381b108a33c1a1a5132ae41e154f (patch) | |
tree | 1524ee7ade85c429410717577cbb12f8bc0398d0 /app/src/main/res/layout | |
parent | df587ec5af9c5180e195de094218c15e091646c7 (diff) | |
download | AntennaPod-193f58376d23381b108a33c1a1a5132ae41e154f.zip |
add label that shows count
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/subscription_item.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/layout/subscription_item.xml b/app/src/main/res/layout/subscription_item.xml index 25e376f18..ffbcc33f1 100644 --- a/app/src/main/res/layout/subscription_item.xml +++ b/app/src/main/res/layout/subscription_item.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> @@ -30,4 +31,17 @@ android:background="#55000000" tools:text="@string/app_name" /> + <jp.shts.android.library.TriangleLabelView + android:id="@+id/triangleCountView" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + android:layout_alignParentTop="true" + app:backgroundColor="#bbbfbfbf" + app:corner="rightTop" + app:primaryText="Test" + app:primaryTextColor="@color/grey600" + app:primaryTextSize="12sp" + android:layout_gravity="right|top"/> + </FrameLayout> |