I'm unable to change the layout_gravity of a Button programmatically,
does anybody know how to do this?
The gravity attribute is easily changed using Button.gravity(), Ie it
changes the gravity of the text inside the button I cannot change the
gravity of the button itself.
I also cannot seem to
Hi,
I can't seem to find anywhere a way to programmatically change the the
alignment of the button.
In the XML it is simply layout_gravity=Center or something.
How do we do this in the code?
LayoutParams do not seem to cater for this.
--
You received this message because you are subscribed
Does this happen to be an assignment based question.
On Oct 1, 4:33 pm, Seth Mould sethmo...@yahoo.com wrote:
Carl, that's brilliant. The XML can be adapted to use bars and blocks
as I described earlier, then overlayed with text boxes and hey presto!
On Sep 28, 4:39 pm, Carl Whalley
Are we not able to reassign Bitmaps? I get OOM just by doing something
like
Bitmap a;
a = network.downloadimage();
a = network.downloadimage();
a = network.downloadimage();// -- crash
Do I have to :
a.recycle() ;
a= null;
everytime?
On Aug 25, 2:25 pm, freeanderson freeander...@gmail.com
4 matches
Mail list logo