Ripples patch (#5144)
* Combine ripple_dark and ripple_light Fixes AMOLED theme and doesn't require two seperate items. * Fix ripple for the new About icons * Fixes nav/tab ripple in Dark Blue and Light Blue themes * Theme some ripples using their Style instead
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
app:tabGravity="fill"
|
||||
app:tabIndicatorColor="?attr/colorAccent"
|
||||
app:tabMode="fixed"
|
||||
app:tabRippleColor="?attr/rippleNavColor"
|
||||
app:tabTextColor="@color/tabs_selector_background" />
|
||||
|
||||
<ImageButton
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
android:id="@+id/tabs"
|
||||
style="@style/Theme.Widget.Tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:tabRippleColor="?attr/rippleNavColor" />
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/downloaded_only"
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
android:id="@+id/tabs"
|
||||
style="@style/Theme.Widget.Tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:tabRippleColor="?attr/rippleNavColor" />
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/downloaded_only"
|
||||
|
||||
@@ -144,8 +144,7 @@
|
||||
app:icon="@drawable/ic_favorite_border_24dp"
|
||||
app:layout_constraintEnd_toStartOf="@+id/btn_tracking"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/manga_info"
|
||||
app:rippleColor="?attr/rippleColor" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/manga_info" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btn_tracking"
|
||||
@@ -158,7 +157,6 @@
|
||||
app:layout_constraintEnd_toStartOf="@+id/btn_webview"
|
||||
app:layout_constraintStart_toEndOf="@+id/btn_favorite"
|
||||
app:layout_constraintTop_toBottomOf="@+id/manga_info"
|
||||
app:rippleColor="?attr/rippleColor"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
@@ -173,7 +171,6 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/btn_tracking"
|
||||
app:layout_constraintTop_toBottomOf="@+id/manga_info"
|
||||
app:rippleColor="?attr/rippleColor"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
Reference in New Issue
Block a user