Hi, I am declaring a label as such:
Dim TextTrending As Label
TextTrending.Initialize("TextTrending")
TextTrending.Text = "Trending"
TextTrending.Padding = Array As Int (0dip, 0dip, 0dip, 0dip)
TextTrending.Gravity = Gravity.TOP
I would like to align text to the top programmatically in the...
Hi All, I decided to give BBLabel a try because i needed to be able to set the padding property, the BBLabel view works very nice for this need, however i realized that it doesn't handle the Click Event, is there a way to add that to this view, i really would like to stick to using this view...
Hi -
In the designer I've set the padding, horiz align to "center_horizontal", and vert align to "center_vertical".
And in my activity_create:
'......................padding: left, top, right, bottom
lblCard1.Padding = Array As Int(10dip,10dip,10dip,10dip)...
I had a single layout named "Play" with 4 buttons that I dinamically positioned the fields within it and it seemed visually perfect. Then I decided to use TabHosts and add an extra "About" layout.
Now the original buttons that used to be aligned based on activity.Width seems a little displaced...