LinearLayout in LinearLayout throw the Exception
java.lang.RuntimeException: mBaselineAlignedChildIndex of LinearLayout
set to an index that is out of bounds.
setBaselineAligned to false with parent LinearLayout can resolve this.
On Jun 25, 9:28 pm, Mr.No f.hi...@arcor.de wrote:
Hi folks,
it's wird, it's work for me,so it's a problem for you if you set the
orientation to vertical?
On Jun 25, 9:02 pm, Mr.No f.hi...@arcor.de wrote:
dont work, only if i setOrientation to vertical.
On 25 Jun., 17:21, JdbcDroid jd.bens...@gmail.com wrote:
try to use l1.setOrientation(...) just
Ive fixed it, but its strage, if i create it from xml file it dont
throws an exception.
Within the code i must turn off the baseline alginment.
On 25 Jun., 15:28, Mr.No f.hi...@arcor.de wrote:
Hi folks,
ive a little problem:
Why is the following code causing an exception?
The Code throws
You have not set any layout parameters.
http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html
l2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT));
Peli
www.openintents.org
On Jun 25, 3:28 pm, Mr.No f.hi...@arcor.de wrote:
Ive tried it with layoutparams its the same.
the default layoutarams will be assigned to the layout.
On 25 Jun., 16:26, Peli peli0...@googlemail.com wrote:
You have not set any layout
parameters.http://developer.android.com/reference/android/widget/LinearLayout.La...
l2.setLayoutParams(new
try to use l1.setOrientation(...) just before
l1.addView(...)
On Jun 25, 4:42 pm, Mr.No f.hi...@arcor.de wrote:
Ive tried it with layoutparams its the same.
the default layoutarams will be assigned to the layout.
On 25 Jun., 16:26, Peli peli0...@googlemail.com wrote:
You have not set any
dont work, only if i setOrientation to vertical.
On 25 Jun., 17:21, JdbcDroid jd.bens...@gmail.com wrote:
try to use l1.setOrientation(...) just before
l1.addView(...)
On Jun 25, 4:42 pm, Mr.No f.hi...@arcor.de wrote:
Ive tried it with layoutparams its the same.
the default layoutarams
7 matches
Mail list logo