I have an activity that comes up over another activity. I'd like to
position the overlying activity at the bottom of the screen without
using an absolute layout, just like the soft keyboard.

I can't figure out if this can be done in an XML layout, and if so,
where does it go?

I have a theme created, and the manifest is set to use it (this
works). But overlaying activity is always positioned in the center of
the screen. This is what I have:

In themes.xml:
    <style name="Theme.MyTheme">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimAmount">0</item>
    </style>

And in my layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_alignParentBottom="true"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:gravity="bottom"
        >
   [....]

How do I get the layout to show up aligned to the bottom for the
overlaying window?

-- 
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