LinearProgressIndicator: Fixes for new M3 design

* Since 1.12.0, LinearProgressIndicator uses new M3 design that doesn't plays well with install and ratings for us
* Switch both back to old style using new Widget.Material3.LinearProgressIndicator.Legacy style
* Additionally drop trackCornerRadius and switch to custom background with clipToOutline for download as the class
  now has a bug that messes with style

Keep downloads to follow new M3 design

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-06-13 21:40:14 +05:30
parent 7c0e258d58
commit 7f32b9078e
4 changed files with 9 additions and 1 deletions

View File

@@ -38,6 +38,7 @@
<com.google.android.material.progressindicator.LinearProgressIndicator
android:id="@+id/avg_rating"
style="@style/Widget.Material3.LinearProgressIndicator.Legacy"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true"