Using OutlinedButton.Icon for manga details and recents

This commit is contained in:
Jay 2020-04-26 18:21:07 -04:00
parent 974eb90cd5
commit 610569cbc3
2 changed files with 4 additions and 5 deletions

View File

@ -166,7 +166,7 @@
android:id="@+id/favorite_button"
style="@style/Theme.Widget.Button.RoundedOutline"
android:text="@string/add_to_library"
app:icon="@drawable/ic_add_to_library_24dp" />
app:icon="@drawable/ic_heart_outline_24dp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/track_button"
@ -175,7 +175,6 @@
android:text="@string/tracking"
app:icon="@drawable/ic_sync_black_24dp" />
<ImageView
android:id="@+id/webview_button"
style="@style/Theme.Widget.CustomImageButton"
@ -305,8 +304,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/manga_summary"
tools:layout_height="100dp"
tools:visibility="visible" />
tools:layout_height="100dp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/less_button"

View File

@ -210,7 +210,8 @@
<item name="android:minWidth">48dip</item>
</style>
<style name="Theme.Widget.Button.RoundedOutline" parent="Widget.MaterialComponents.Button.OutlinedButton">
<style name="Theme.Widget.Button.RoundedOutline"
parent="Widget.MaterialComponents.Button.OutlinedButton.Icon">
<item name="android:layout_width">wrap_content</item>
<item name="android:textAllCaps">false</item>
<item name="android:letterSpacing">0.0</item>