Sunday, 1 March 2015

What is the minHeight and minWidth of 1x1 widget?



I'm having a problem with minHeight and minWeight. I want to make a widget in one cell. I have only one element in the widget(@drawable/ic_launcher). I set the minHeight and minWidth to 72dp, but the ic_laucher position in that ONE cell is in upper left corner. Can you tell me what should I set for minHeight and minWidth to make ic_launcher appear in center of that ONE cell? Thanks.


No comments:

Post a Comment