From 0bcacafec36c27166a0e43d034279cf50224a1b6 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sat, 10 Dec 2022 19:51:43 +1100 Subject: [PATCH] Minor UI tweaks. --- app/build.gradle | 6 +++--- .../ml/docilealligator/infinityforreddit/NetworkModule.java | 6 ------ app/src/main/res/layout/exo_playback_control_view.xml | 3 ++- .../layout/fragment_view_reddit_gallery_image_or_gif.xml | 3 ++- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c4a1329a..4f53782b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -80,10 +80,10 @@ dependencies { implementation "androidx.room:room-guava:$roomVersion" implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01' implementation 'androidx.work:work-runtime:2.7.1' - implementation 'com.google.android.material:material:1.8.0-alpha02' + implementation 'com.google.android.material:material:1.8.0-alpha03' /** ExoPlayer **/ - def exoplayerVersion = "2.18.1" + def exoplayerVersion = "2.18.2" implementation "com.google.android.exoplayer:exoplayer-core:$exoplayerVersion" implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayerVersion" implementation "com.google.android.exoplayer:exoplayer-hls:$exoplayerVersion" @@ -132,7 +132,7 @@ dependencies { implementation 'com.google.code.gson:gson:2.8.9' // Java library for zip files and streams - implementation 'net.lingala.zip4j:zip4j:2.9.0' + implementation 'net.lingala.zip4j:zip4j:2.11.2' // IO functionality implementation 'commons-io:commons-io:2.5' diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java b/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java index bed19e97..8af8fdb6 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java @@ -77,12 +77,6 @@ abstract class NetworkModule { .build(); } - @Provides - @Named("rpan") - static OkHttpClient provideRPANOkHttpClient(OkHttpClient httpClient) { - return httpClient; - } - @Provides @Named("oauth_without_authenticator") @Singleton diff --git a/app/src/main/res/layout/exo_playback_control_view.xml b/app/src/main/res/layout/exo_playback_control_view.xml index 28ee2d9a..ff97f5dc 100644 --- a/app/src/main/res/layout/exo_playback_control_view.xml +++ b/app/src/main/res/layout/exo_playback_control_view.xml @@ -88,7 +88,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" - android:backgroundTint="#80000000" + android:backgroundTint="#00000000" + app:elevation="0dp" android:visibility="gone" style="@style/Widget.MaterialComponents.BottomAppBar"> diff --git a/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml b/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml index fef3671d..66c250dd 100644 --- a/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml +++ b/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml @@ -47,7 +47,8 @@ android:layout_gravity="bottom" android:minHeight="0dp" app:paddingBottomSystemWindowInsets="false" - android:backgroundTint="#80000000"> + android:backgroundTint="#80000000" + app:elevation="0dp">