summaryrefslogtreecommitdiff
path: root/ui/statistics/src/main/res/layout/feed_statistics.xml
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-02-23 00:22:51 +0100
committerByteHamster <info@bytehamster.com>2022-02-26 19:44:17 +0100
commit7451da112145f96ecddc314eea7b90fcb03737dd (patch)
tree437ad8df931d422eb0c5deebf19d6a9e93c0310c /ui/statistics/src/main/res/layout/feed_statistics.xml
parent0d7555da8c291457cd8fe7b97036fd05c515bbd2 (diff)
downloadAntennaPod-7451da112145f96ecddc314eea7b90fcb03737dd.zip
Move statistics screens to new module
Diffstat (limited to 'ui/statistics/src/main/res/layout/feed_statistics.xml')
-rw-r--r--ui/statistics/src/main/res/layout/feed_statistics.xml95
1 files changed, 95 insertions, 0 deletions
diff --git a/ui/statistics/src/main/res/layout/feed_statistics.xml b/ui/statistics/src/main/res/layout/feed_statistics.xml
new file mode 100644
index 000000000..7897a7d5f
--- /dev/null
+++ b/ui/statistics/src/main/res/layout/feed_statistics.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TableLayout
+ 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">
+
+ <TableRow
+ android:tag="detailed">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/statistics_episodes_started_total" />
+
+ <TextView
+ android:id="@+id/startedTotalLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
+ tools:text="0 / 0" />
+
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/statistics_time_played" />
+
+ <TextView
+ android:id="@+id/timePlayedLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
+ tools:text="0 min" />
+
+ </TableRow>
+
+ <TableRow
+ android:tag="detailed">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/statistics_total_duration" />
+
+ <TextView
+ android:id="@+id/totalDurationLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
+ tools:text="0 min" />
+
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/statistics_episodes_on_device" />
+
+ <TextView
+ android:id="@+id/onDeviceLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
+ tools:text="0" />
+
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/statistics_space_used" />
+
+ <TextView
+ android:id="@+id/spaceUsedLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
+ tools:text="0 MB" />
+
+ </TableRow>
+
+</TableLayout>