For #6607 Update button theming in no tab pane
parent
cfe4f11864
commit
f9e85e78af
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue