I need to create a GUI (layout + views) in my .java activity class (I know this is a much more flexible and easy to use .xml layout file, but I don't want to use it yet).
I cannot find setGravity () (but the "Gravity" object, which I cannot figure out how to use) or any setMargin () method for the "View" object.
What is the easiest way to do this?
Thanx.
android user-interface
lethargicpanda
source share