Open cergo123 opened 3 years ago
I can change the background and other attributes but setting a whole style is not working for the button and it keeps displaying the default android button style:
<?xml version="1.0" encoding="utf-8"?> <com.allattentionhere.fabulousfilter.AAH_FilterView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <RelativeLayout android:background="@color/fancy_btn" android:id="@+id/rl_content" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentBottom="true" android:visibility="invisible" tools:ignore="MissingPrefix" tools:visibility="visible"> <LinearLayout android:background="@color/white" android:id="@+id/ll_buttons" android:layout_width="match_parent" android:layout_height="56dp" android:layout_alignParentBottom="true" android:orientation="horizontal"> <androidx.appcompat.widget.AppCompatButton android:text="@string/ok_got_it" android:id="@+id/btn_close" style="@style/ButtonCloseStyle" /> <!-- NOT WORKING --> </LinearLayout> </RelativeLayout> </com.allattentionhere.fabulousfilter.AAH_FilterView>
I can change the background and other attributes but setting a whole style is not working for the button and it keeps displaying the default android button style: