How to maintain the responsive layout by replacing marginTop
in constraint-layout
?
Asked
Active
Viewed 474 times
0
2 Answers
0
Try this into EditText
.
android:drawableLeft="@drawable/ic_launcher_foreground" // pass image name
android:drawableRight="@drawable/ic_launcher_foreground"

AskNilesh
- 67,701
- 16
- 123
- 163
-
it work. now how to make drawable image to small size according to textbox? – UnityTaru Nov 16 '18 at 09:12
-
1it create icon according to device. – Nov 16 '18 at 09:13
-
1https://icons8.com/ – Nov 16 '18 at 09:14