File tree 1 file changed +14
-0
lines changed
textfieldboxes/src/main/java/studio/carbonylgroup/textfieldboxes
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -782,6 +782,14 @@ public void setIconSignifier(int resourceID) {
782
782
} else removeIconSignifier ();
783
783
}
784
784
785
+ public void setIconSignifier (Drawable drawable ) {
786
+
787
+ removeIconSignifier ();
788
+ this .iconImageButton .setImageDrawable (drawable );
789
+ this .iconImageButton .setVisibility (View .VISIBLE );
790
+
791
+ }
792
+
785
793
/**
786
794
* remove the icon by setting the visibility of the image view to View.GONE
787
795
*/
@@ -800,6 +808,12 @@ public void setEndIcon(int resourceID) {
800
808
} else removeEndIcon ();
801
809
}
802
810
811
+ public void setEndIcon (Drawable drawable ) {
812
+ removeEndIcon ();
813
+ this .endIconImageButton .setImageDrawable (drawable );
814
+ this .endIconImageButton .setVisibility (View .VISIBLE );
815
+ }
816
+
803
817
/**
804
818
* remove the end icon by setting the visibility of the end image view to View.GONE
805
819
*/
You can’t perform that action at this time.
0 commit comments