I make a custom switch button and put it on AS.He his work perfect but how can i change size height and width of this switch button, I want to change it 5/6 times bigger then this
Asked
Active
Viewed 1,426 times
0

sharon2469
- 89
- 1
- 11
-
Try `android:switchMinWidth="100dp"` and `android:switchMinHeight="100dp"` – Zubin Kadva Aug 19 '16 at 23:05
-
Get error: android:switchMinHeight="100dp" This inspection highlights unknown XML attributes in Android resource files and AndroidManifest.xml And android:switchMinWidth="100dp" don't change anything – sharon2469 Aug 19 '16 at 23:22
-
Sorry it does not work for you. Try this SO answer: http://stackoverflow.com/a/24725843/5973371 – Zubin Kadva Aug 19 '16 at 23:29