You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README_1.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,8 +97,7 @@ You can change UI with this configuration.
97
97
-`Gravity.START`
98
98
- etc.
99
99
- Change Button Background Color
100
-
-`.setButtonColor(R.color.amber_200)` you can use this only if you use `.setButtonStyle(ButtonStyle.ButtonContained)`
101
-
100
+
-`.setButtonColor(getResources().getColor(R.color.colorPrimary))` or `.setButtonColor(Color.parseColor("#03DAC5"))` you can use this only if you use .setButtonStyle(ButtonStyle.ButtonContained)
102
101
##
103
102
104
103
**Look At Orange Arrow.** you can set shape/canvas from `drawable` to `dialog` with `shape.xml`->`<shape></shape>`. in my example i am using `rounded_corner_2.xml`.
Copy file name to clipboardExpand all lines: lib/src/main/java/com/gzeinnumer/mylibsearchviewdialog/dialog/searchViewDialogNew/SearchViewDialogSetting.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -216,13 +216,13 @@ private void initDesign() {
216
216
}
217
217
218
218
if (buttonColor!=0 && btnStyle == ButtonStyle.ButtonContained){
0 commit comments