mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[android] Use Material 3 theme on linear progress bar
Signed-off-by: jeanbaptisteC <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
committed by
Konstantin Pastbin
parent
dddbfa315d
commit
ca9b3535a8
@@ -18,7 +18,7 @@
|
|||||||
tools:visibility="visible"/>
|
tools:visibility="visible"/>
|
||||||
<com.google.android.material.progressindicator.LinearProgressIndicator
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
||||||
android:id="@+id/progressbar"
|
android:id="@+id/progressbar"
|
||||||
style="@style/Widget.MaterialComponents.LinearProgressIndicator"
|
style="@style/Widget.Material3.LinearProgressIndicator"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/margin_base_plus"
|
android:layout_marginStart="@dimen/margin_base_plus"
|
||||||
@@ -37,5 +37,6 @@
|
|||||||
android:layout_marginEnd="@dimen/margin_base_plus"
|
android:layout_marginEnd="@dimen/margin_base_plus"
|
||||||
android:layout_marginBottom="@dimen/margin_base_plus"
|
android:layout_marginBottom="@dimen/margin_base_plus"
|
||||||
android:text="@string/download"
|
android:text="@string/download"
|
||||||
android:textAppearance="@style/MwmTextAppearance.Body1" />
|
android:textAppearance="@style/MwmTextAppearance.Body1"
|
||||||
|
app:backgroundTint="?colorSecondary"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.progressindicator.LinearProgressIndicator
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
||||||
android:id="@+id/navigation_progress"
|
android:id="@+id/navigation_progress"
|
||||||
style="@style/Widget.MaterialComponents.LinearProgressIndicator"
|
style="@style/Widget.Material3.LinearProgressIndicator"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:indicatorColor="?colorSecondary"
|
app:indicatorColor="?colorSecondary"
|
||||||
|
|||||||
Reference in New Issue
Block a user