Skip to content

Commit 818e9ef

Browse files
committed
feat: update ui components to material 3 expressive
1 parent f7c4cb9 commit 818e9ef

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/src/main/java/com/github/libretube/ui/extensions/SetWatchProgressLength.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fun View.setWatchProgressLength(videoId: String, duration: Long) {
3030

3131
var backgroundColor = ThemeHelper.getThemeColor(
3232
context,
33-
com.google.android.material.R.attr.colorPrimaryDark
33+
com.google.android.material.R.attr.colorPrimaryVariant
3434
)
3535
// increase the brightness for better contrast in light mode
3636
if (!ThemeHelper.isDarkMode(context)) {

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<com.google.android.material.bottomnavigation.BottomNavigationView
3131
android:id="@+id/bottomNav"
3232
android:layout_width="match_parent"
33-
android:layout_height="wrap_content"
33+
android:layout_height="80dp"
3434
app:layout_constraintBottom_toBottomOf="parent"
3535
app:layout_constraintEnd_toEndOf="parent"
3636
app:layout_constraintStart_toStartOf="parent"

app/src/main/res/values-night/themes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22

3-
<style name="BaseTheme" parent="Theme.Material3.Dark.NoActionBar">
3+
<style name="BaseTheme" parent="Theme.Material3Expressive.Dark.NoActionBar">
44

55
<item name="android:statusBarColor">@android:color/transparent</item>
66
<item name="android:windowLightStatusBar">false</item>

app/src/main/res/values/themes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22

3-
<style name="BaseTheme" parent="Theme.Material3.Light.NoActionBar">
3+
<style name="BaseTheme" parent="Theme.Material3Expressive.Light.NoActionBar">
44

55
<item name="android:statusBarColor">@android:color/transparent</item>
66
<item name="android:windowLightStatusBar">true</item>

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ksp = "1.9.25-1.0.20"
88
lifecycle = "2.8.7"
99
constraintlayout = "2.2.1"
1010
loggingInterceptor = "4.12.0"
11-
material = "1.12.0"
11+
material = "1.14.0-alpha02"
1212
navigation = "2.8.9"
1313
newpipeextractor = "31d9725"
1414
preference = "1.2.1"

0 commit comments

Comments
 (0)