diff options
author | Tony Tam <engineer.tonytam@pm.me> | 2020-02-21 09:47:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 18:47:12 +0100 |
commit | 324672444cdb4d19c4d73138f4fe57a71fe7b576 (patch) | |
tree | b90aa0cefd71367692d2fad6666fb2050c709a2a /app | |
parent | 4e26749757088a9f32fd1b6f89c28a186a9d32dd (diff) | |
download | AntennaPod-324672444cdb4d19c4d73138f4fe57a71fe7b576.zip |
min and max width of piechart (#3873)
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/res/layout/statistics_listitem_total.xml | 7 |
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" |