I have the same problem with including an EditText into a
RelativeLayout. All layout parameters are ignored, or at least not
recognized properly. The width/height fix doesn't work for me,
because the included view must not have fixed width or height.
The included view:
?xml version=1.0
Correction:
Passing the layout_* params to include works, but you MUST provide
them there, not in the included view. If you pre-define them in the
included view, then they get ignored, so there is no point in defining
defaults and only overriding the ones you need to change; you always
have to
Ok, I found a solution but I'm still not sure why this doesn't work.
I had to use within the included view
android:height=100dp
android:width=50dp
instead of
android:layout_height=100dp
android:layout_width=50dp
cheers
simon
On May 6, 10:56 pm, longhairedsi longhaire...@googlemail.com
3 matches
Mail list logo