summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTony Tam <engineer.tonytam@pm.me>2020-02-21 09:47:12 -0800
committerGitHub <noreply@github.com>2020-02-21 18:47:12 +0100
commit324672444cdb4d19c4d73138f4fe57a71fe7b576 (patch)
treeb90aa0cefd71367692d2fad6666fb2050c709a2a /app
parent4e26749757088a9f32fd1b6f89c28a186a9d32dd (diff)
downloadAntennaPod-324672444cdb4d19c4d73138f4fe57a71fe7b576.zip
min and max width of piechart (#3873)
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/layout/statistics_listitem_total.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/res/layout/statistics_listitem_total.xml b/app/src/main/res/layout/statistics_listitem_total.xml
index f24f13398..2efe37bfe 100644
--- a/app/src/main/res/layout/statistics_listitem_total.xml
+++ b/app/src/main/res/layout/statistics_listitem_total.xml
@@ -7,10 +7,13 @@
<de.danoeh.antennapod.view.PieChartView
android:id="@+id/pie_chart"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
+ android:maxWidth="800dp"
+ android:minWidth="460dp" />
<TextView
android:layout_width="match_parent"