summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/statistics_year_listitem.xml
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-02-22 19:44:09 +0100
committerGitHub <noreply@github.com>2022-02-22 19:44:09 +0100
commitbe9093911ff5aac392e483a61e5aaca38782d723 (patch)
tree3cb1943e5640e65f8876e4053d131f88a3df66fe /app/src/main/res/layout/statistics_year_listitem.xml
parentb6d23168707bd55e5bb4060a9cd8e8ecf96a9716 (diff)
parent7ab6d08ea589aae7db2f7bdf1b28833f45ba9943 (diff)
downloadAntennaPod-be9093911ff5aac392e483a61e5aaca38782d723.zip
Merge pull request #5735 from ByteHamster/statistics-line-graph
Add line graph to statistics screen
Diffstat (limited to 'app/src/main/res/layout/statistics_year_listitem.xml')
-rw-r--r--app/src/main/res/layout/statistics_year_listitem.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/app/src/main/res/layout/statistics_year_listitem.xml b/app/src/main/res/layout/statistics_year_listitem.xml
new file mode 100644
index 000000000..48b910c7f
--- /dev/null
+++ b/app/src/main/res/layout/statistics_year_listitem.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:paddingTop="16dp"
+ android:paddingBottom="8dp"
+ android:background="?android:attr/selectableItemBackground">
+
+ <TextView
+ android:id="@+id/yearLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lines="1"
+ android:textColor="?android:attr/textColorPrimary"
+ android:textSize="16sp"
+ tools:text="2020" />
+
+ <TextView
+ android:id="@+id/hoursLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lines="1"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="14sp"
+ tools:text="23 hours" />
+
+</LinearLayout>