summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2020-01-12 09:52:04 +0100
committerGitHub <noreply@github.com>2020-01-12 09:52:04 +0100
commit2f0c627b15af26aace320e1984d6f398a7ee0abe (patch)
tree6c7b98b7de7b83bffd6ecd5220145c60d10aa5ff /app/src/main/res
parent9b50cbbe0ee7903f7d4ce23aa9b5a163b6d46e19 (diff)
parent6817c00491e911988586d6ed7e14942c88ef2435 (diff)
downloadAntennaPod-2f0c627b15af26aace320e1984d6f398a7ee0abe.zip
Merge pull request #3523 from wseemann/develop
Show storage size of downloaded episodes
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/statistics_fragment.xml22
-rw-r--r--app/src/main/res/layout/statistics_listitem.xml2
-rw-r--r--app/src/main/res/layout/statistics_listitem_total.xml (renamed from app/src/main/res/layout/statistics_listitem_total_time.xml)3
3 files changed, 24 insertions, 3 deletions
diff --git a/app/src/main/res/layout/statistics_fragment.xml b/app/src/main/res/layout/statistics_fragment.xml
new file mode 100644
index 000000000..e69bc1a70
--- /dev/null
+++ b/app/src/main/res/layout/statistics_fragment.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+
+ <com.google.android.material.tabs.TabLayout
+ android:id="@+id/sliding_tabs"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:tabGravity="fill"
+ app:tabMode="fixed" />
+
+ <androidx.viewpager.widget.ViewPager
+ android:id="@+id/viewpager"
+ android:layout_width="match_parent"
+ android:layout_height="0px"
+ android:layout_weight="1" />
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/statistics_listitem.xml b/app/src/main/res/layout/statistics_listitem.xml
index 6bd2a907e..8e0a7bf81 100644
--- a/app/src/main/res/layout/statistics_listitem.xml
+++ b/app/src/main/res/layout/statistics_listitem.xml
@@ -41,7 +41,7 @@
tools:text="Feed title"/>
<TextView
- android:id="@+id/txtvTime"
+ android:id="@+id/txtvValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:lines="1"
diff --git a/app/src/main/res/layout/statistics_listitem_total_time.xml b/app/src/main/res/layout/statistics_listitem_total.xml
index 2e0ae54d6..f24f13398 100644
--- a/app/src/main/res/layout/statistics_listitem_total_time.xml
+++ b/app/src/main/res/layout/statistics_listitem_total.xml
@@ -15,9 +15,8 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:id="@+id/total_time_description"
+ android:id="@+id/total_description"
android:textSize="14sp"
- android:text="@string/total_time_listened_to_podcasts"
android:gravity="center_horizontal"
android:layout_above="@+id/total_time"/>