I want to create an app but the Time Picker is too big. I want to make it smaller and have tried resizing it but when I do it I cuts a portion of the time picker, is there a way to make it smaller?
Asked
Active
Viewed 8,597 times
3
-
are you using the time picker from an xml? – Srikanth Pai Aug 28 '12 at 21:37
-
Possible Duplicate of this, http://stackoverflow.com/questions/11837581/how-to-make-the-timepicker-smaller/26970634#26970634 – Sanjay Bhimani Nov 17 '14 at 10:36
2 Answers
4
Android allows the user to pick date and time as ready to use dialogs.. you will not require to include the picker in the XML
Check this Android Pickers
Hope it helps you

Srikanth Pai
- 926
- 3
- 17
- 30
-
well im creating it in the XML , true but im new to android so i dont know how to work will this advanced stuff, but i will keep reading it, thanks. – baTimá Aug 29 '12 at 16:46
-
just follow the example given in the above link.. its straight forward – Srikanth Pai Aug 29 '12 at 22:08
-
if u find the example useful please mark the answer as accepted.. both will get reputation points and will help others who look at your post.-Thanks – Srikanth Pai Aug 30 '12 at 11:54
0
Try playing with weight sum inside a restricted container (such as by the screen size or forced padding). I've posted in another thread how did it work for me.