From 45e7b8ee00a5b338b106bcf71c3fc811d1b17910 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 3 May 2020 14:44:12 +0200 Subject: Switched to MaterialComponents theme --- app/src/main/assets/licenses.xml | 12 ++++++++++++ .../de/danoeh/antennapod/dialog/AuthenticationDialog.java | 2 +- .../antennapod/dialog/EpisodesApplyActionFragment.java | 2 +- .../de/danoeh/antennapod/fragment/DownloadLogFragment.java | 2 +- .../antennapod/preferences/NumberPickerPreference.java | 2 +- app/src/main/res/layout/feed_item_list_fragment.xml | 3 ++- app/src/main/res/layout/feedinfo.xml | 3 ++- app/src/main/res/layout/quick_feed_discovery.xml | 4 ++-- app/src/main/res/layout/searchlist_item_feed.xml | 1 + app/src/main/res/layout/subscription_item.xml | 6 +++--- 10 files changed, 26 insertions(+), 11 deletions(-) (limited to 'app') diff --git a/app/src/main/assets/licenses.xml b/app/src/main/assets/licenses.xml index c69f692cf..4f0255182 100644 --- a/app/src/main/assets/licenses.xml +++ b/app/src/main/assets/licenses.xml @@ -12,6 +12,12 @@ website="https://github.com/AntennaPod/AntennaPod-AudioPlayer/" license="Apache 2.0" licenseText="LICENSE_APACHE-2.0.txt" /> + + diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml index d2e077be1..fa6aac251 100644 --- a/app/src/main/res/layout/feedinfo.xml +++ b/app/src/main/res/layout/feedinfo.xml @@ -14,7 +14,8 @@ android:id="@+id/collapsing_toolbar" android:layout_width="match_parent" android:layout_height="match_parent" - app:contentScrim="?attr/colorPrimary" + android:background="?android:attr/windowBackground" + app:contentScrim="?android:attr/windowBackground" app:scrimAnimationDuration="200" app:layout_scrollFlags="scroll|exitUntilCollapsed"> diff --git a/app/src/main/res/layout/quick_feed_discovery.xml b/app/src/main/res/layout/quick_feed_discovery.xml index 78a59c7eb..a274fcdc7 100644 --- a/app/src/main/res/layout/quick_feed_discovery.xml +++ b/app/src/main/res/layout/quick_feed_discovery.xml @@ -25,8 +25,8 @@ android:minHeight="0dp" android:minWidth="0dp" android:text="@string/discover_more" - android:id="@+id/discover_more" - style="?android:attr/buttonBarButtonStyle"/> + style="@style/Widget.MaterialComponents.Button.TextButton" + android:id="@+id/discover_more"/> diff --git a/app/src/main/res/layout/subscription_item.xml b/app/src/main/res/layout/subscription_item.xml index 43c3d99fa..a01b6d070 100644 --- a/app/src/main/res/layout/subscription_item.xml +++ b/app/src/main/res/layout/subscription_item.xml @@ -11,7 +11,7 @@ android:id="@+id/imgvCover" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:scaleType="centerCrop" + android:scaleType="fitCenter" tools:src="@mipmap/ic_launcher_round" squareImageView:direction="width"/> @@ -37,9 +37,9 @@ android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:layout_alignParentTop="true" - app:backgroundColor="?attr/colorAccent" + app:backgroundColor="?attr/colorSecondary" app:corner="rightTop" app:primaryText="Test" - app:primaryTextColor="@color/white" + app:primaryTextColor="?attr/colorOnSecondary" app:primaryTextSize="12sp" /> -- cgit v1.2.3