diff options
author | ByteHamster <info@bytehamster.com> | 2016-08-28 18:35:05 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2017-04-15 09:54:09 +0200 |
commit | 416117515c4e52727f91987e5b537256da34f09a (patch) | |
tree | ef441172cfc052f9d2674137c5cdf9a298ca046b /app/src/main/res | |
parent | 639ff81f8c4d8d4648fe4a52bd1c7d05b439d7e2 (diff) | |
download | AntennaPod-416117515c4e52727f91987e5b537256da34f09a.zip |
Allow choosing between getDuration and getPlayedDuration
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/calculation_type.xml | 19 | ||||
-rw-r--r-- | app/src/main/res/menu/statistics.xml | 12 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app/src/main/res/layout/calculation_type.xml b/app/src/main/res/layout/calculation_type.xml new file mode 100644 index 000000000..9b422beb9 --- /dev/null +++ b/app/src/main/res/layout/calculation_type.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<RadioGroup xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="16dp"> + + <RadioButton + android:id="@+id/calculation_type_normal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/calculation_type_normal" /> + + <RadioButton + android:id="@+id/calculation_type_count_all" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/calculation_type_count_all" /> +</RadioGroup> diff --git a/app/src/main/res/menu/statistics.xml b/app/src/main/res/menu/statistics.xml new file mode 100644 index 000000000..bc36bbb38 --- /dev/null +++ b/app/src/main/res/menu/statistics.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:custom="http://schemas.android.com/apk/res-auto"> + + <item + android:id="@+id/calculation_type" + android:icon="?attr/ic_filter" + android:title="@string/calculation_type" + custom:showAsAction="never"> + </item> + +</menu> |