2013年8月10日星期六

android button style

button size is fixed, and the height a little small, so I set up the button on the big point font can not display completely, if the font is set smaller and not see the above text, and how you can make the text on the button above can be Display entirely see very clearly.
------ Solution ---------------------------------------- ----
good esoteric. . . . . . .
------ Solution ---------------------------------------- ----
the height is set wrap_content
------ Solution --------------------------- -----------------
This
------ Solution ------------------------------- -------------
Since you do not want to wrap_content it can only adjust the size of the font.
------ For reference only -------------------------------------- -
solving. . . . Thank you. . . .
------ For reference only ---------------------------------------

------ For reference only ------ ---------------------------------

------ For reference only ------------- --------------------------
wooden someone to help him. . . .
------ For reference only -------------------------------------- -

I fixed width and height are required. . . . .
------ For reference only ---------------------------------------
have no one to help him , button text will not be displayed on the full, irritability death of me. . . .
------ For reference only -------------------------------------- -
to come help out. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
------ For reference only -------------------------------------- -
you put padding piecemeal point is not finished Well
------ For reference only ------------------------ ---------------
amount. . . Has been resolved, I wrote the word TextView, and then put on the Button TextView, so that the size of the text would not be too small, thank you. . . . .
------ For reference only -------------------------------------- -
you can try to set a relative placement on the outside, and then add a TextView set the background transparent. And set Align.

没有评论:

发表评论