1
0
Fork 0

For #6607 Update button theming in no tab pane

master
mcarare 2020-03-03 17:37:56 +02:00 committed by Emily Kager
parent cfe4f11864
commit f9e85e78af
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class NoContentMessageWithActionViewHolder(
with(view.context) { with(view.context) {
if (buttonIcon != 0 || buttonText != 0) { if (buttonIcon != 0 || buttonText != 0) {
view.add_tab_button.apply { view.add_new_tab_button.apply {
isVisible = true isVisible = true
setIcon(getDrawable(buttonIcon)) setIcon(getDrawable(buttonIcon))
text = getString(buttonText) text = getString(buttonText)

View File

@ -37,7 +37,7 @@
tools:text="@tools:sample/lorem" /> tools:text="@tools:sample/lorem" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/add_tab_button" android:id="@+id/add_new_tab_button"
style="@style/ThemeIndependentMaterialGreyButton" style="@style/ThemeIndependentMaterialGreyButton"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"