> basically i don't like the idea i'm using there: setting layout_marginTop in 
> panelHandle children.
>
> can it be done in some clever way?
>

hi,
actually the subject is incorrect: it should refer to LinearLayout not
FrameLayout.

i noticed that when i replace "id/panelHandle" children in my main.xml
with:
<!-- inside @+id/rightPanel -->
<Button
    android:id="@id/panelHandle"
    android:layout_width="33dip"
    android:layout_height="wrap_content"
    android:layout_gravity="top"
/>

and

<!-- inside @+id/rightPanel3 -->
<Button
    android:id="@id/panelHandle"
    android:layout_width="33dip"
    android:layout_height="wrap_content"
    android:layout_gravity="bottom"
/>

it seems that "id/rightPanel2" (with handle's android:layout_gravity
== "center") and
"id/rightPanel3" (with handle's android:layout_gravity == "bottom")
work OK,
but "id/rightPanel" (with handle's android:layout_gravity == "top")
works ONLY
when this panel is closed. when opened it DOESN'T (handle goes towards
screen
center).

i just don't understand why 'center' & 'bottom' work as expected, but
'top' fails to work.

is it a bug in LinearLayout?

if so, can anyone suggest any workarounds, how to position at top
(with possible yPadding)?

thanks,
pskink

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to