aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-06-23 01:24:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-06-23 01:24:10 +0000
commit9437217bbb8beced9d72647469e89a4892951645 (patch)
treea655a4668977f91aed0c866f053d98b925ea1cba /app
parenta151d9841191cabd03586085674a1a875c6b3712 (diff)
downloadinfinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.tar
infinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.tar.gz
infinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.tar.bz2
infinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.tar.lz
infinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.tar.xz
infinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.tar.zst
infinity-for-reddit-9437217bbb8beced9d72647469e89a4892951645.zip
Refine ExoPlayer's DefaultTimeBar style.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout-land/fragment_view_post_detail.xml4
-rw-r--r--app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml4
-rw-r--r--app/src/main/res/layout/exo_autoplay_playback_control_view.xml4
-rw-r--r--app/src/main/res/layout/exo_playback_control_view.xml6
4 files changed, 10 insertions, 8 deletions
diff --git a/app/src/main/res/layout-land/fragment_view_post_detail.xml b/app/src/main/res/layout-land/fragment_view_post_detail.xml
index dd7e1ac5..6d0beecc 100644
--- a/app/src/main/res/layout-land/fragment_view_post_detail.xml
+++ b/app/src/main/res/layout-land/fragment_view_post_detail.xml
@@ -22,9 +22,7 @@
android:id="@+id/post_detail_recycler_view_view_post_detail_fragment"
android:layout_width="0dp"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:paddingBottom="144dp"
- android:clipToPadding="false" />
+ android:layout_weight="1" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comments_recycler_view_view_post_detail_fragment"
diff --git a/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml b/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
index dd7e1ac5..6d0beecc 100644
--- a/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
+++ b/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
@@ -22,9 +22,7 @@
android:id="@+id/post_detail_recycler_view_view_post_detail_fragment"
android:layout_width="0dp"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:paddingBottom="144dp"
- android:clipToPadding="false" />
+ android:layout_weight="1" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comments_recycler_view_view_post_detail_fragment"
diff --git a/app/src/main/res/layout/exo_autoplay_playback_control_view.xml b/app/src/main/res/layout/exo_autoplay_playback_control_view.xml
index 42382179..f4ac1f34 100644
--- a/app/src/main/res/layout/exo_autoplay_playback_control_view.xml
+++ b/app/src/main/res/layout/exo_autoplay_playback_control_view.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/linear_layout_exo_playback_control_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -85,6 +86,7 @@
<com.google.android.exoplayer2.ui.DefaultTimeBar
android:id="@id/exo_progress"
android:layout_width="wrap_content"
- android:layout_height="26dp"/>
+ android:layout_height="26dp"
+ app:bar_height="2dp" />
</LinearLayout> \ No newline at end of file
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 611c5e06..dd9bef64 100644
--- a/app/src/main/res/layout/exo_playback_control_view.xml
+++ b/app/src/main/res/layout/exo_playback_control_view.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/linear_layout_exo_playback_control_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -64,7 +65,10 @@
android:id="@id/exo_progress"
android:layout_width="0dp"
android:layout_weight="1"
- android:layout_height="26dp"/>
+ android:layout_height="26dp"
+ app:bar_height="2dp"
+ app:scrubber_color="@color/colorAccent"
+ app:played_color="@color/colorAccent" />
<TextView android:id="@id/exo_duration"
android:layout_width="wrap_content"