is there noone who want to help me on this?
the most setter methods are documentated, but on this I get really nuts:
android:layout_height=wrap_content
thanks
darolla
2009/4/4 DaRolla netzprofi.ma...@googlemail.com:
Hi,
I need to programm this XML in JAVA. Some I figured out, some not. Can
Marco Schmitz wrote:
//android:layout_width=150px
tv.setWidth(150);
That will not reliably work AFAIK. See below.
//android:layout_height=wrap_content
???
All of the layout_ attributes are messages to the widget's *container*,
not to the widget itself.
To adjust those layout_ attributes
May We can use like this
TextView tv = new TextView(this);
tv.setLayoutParams(new
ViewGroup.layoutParams(LayoutParamas.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));
try this
in java
i think..
On Sat, Apr 4, 2009 at 1:25 PM, DaRolla netzprofi.ma...@googlemail.comwrote:
Hi,
I need to
You need to create a LayoutParams the corresponds to the actual class of the
parent, such as FrameLayout.LayoutParams.
On Sun, Apr 5, 2009 at 10:30 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote:
May We can use like this
TextView tv = new TextView(this);
tv.setLayoutParams(new
4 matches
Mail list logo