android custom scroll view with ad at bottom
I have an internal custom view set up and that part seems to be working perfectly - what i'm wondering is ... is it possible to limit the height of the custom view similar to something along the lines of in Swing where you have a Scroll Pane in the Center of a Border Layout and another Panel in the South of the Border Layout.

I have 4 text views in the north, then my custom scroll view in the center, and i'd like to have the app remain static at the bottom

I tried doing the following 3 in the xml: (pseudo xml - most deleted for readability)

1.

    <LinearLayout ...> // vertical
	    <TextView ...></TextView>
	    <LinearLayout ...> // horizontal
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
	    </LinearLayout>
	    <ScrollView...>
		    <LinearLayout ...>
			    <view class="blah.blah.blah.CustomView" ...>
			    </view>
		    </LinearLayout>
	    </ScrollView>
	    <RelativeLayout ...>
		    <com.google.ads.AdView ... />
	    </RelativeLayout>
    </LinearLayout>

2.

    <LinearLayout ...> // vertical
	    <TextView ...></TextView>
	    <LinearLayout ...> // horizontal
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
	    </LinearLayout>
	    <ScrollView...>
		    <LinearLayout ...>
			    <view class="blah.blah.blah.CustomView" ...>
			    </view>
                <RelativeLayout ...>
		            <com.google.ads.AdView ... />
	            </RelativeLayout>
		    </LinearLayout>
	    </ScrollView>
    </LinearLayout>


3.

    <LinearLayout ...> // vertical
	    <TextView ...></TextView>
	    <LinearLayout ...> // horizontal
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
	    </LinearLayout>
	    <ScrollView...>
		    <LinearLayout ...>
			    <view class="blah.blah.blah.CustomView" ...>
			    </view>
		    </LinearLayout>
	    </ScrollView>
    </LinearLayout>
    <LinearLayout ...>
        <com.google.ads.AdView .../>
    </LinearLayout>



any help as to what i can do to make this work would be greatly appreciated
android custom scroll view with ad at bottom
===

I have an internal custom view set up and that part seems to be working perfectly - what i'm wondering is ... is it possible to limit the height of the custom view similar to something along the lines of in Swing where you have a Scroll Pane in the Center of a Border Layout and another Panel in the South of the Border Layout.

I have 4 text views in the north, then my custom scroll view in the center, and i'd like to have the app remain static at the bottom

I tried doing the following 3 in the xml: (pseudo xml - most deleted for readability)

1.

    <LinearLayout ...> // vertical
	    <TextView ...></TextView>
	    <LinearLayout ...> // horizontal
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
	    </LinearLayout>
	    <ScrollView...>
		    <LinearLayout ...>
			    <view class="blah.blah.blah.CustomView" ...>
			    </view>
		    </LinearLayout>
	    </ScrollView>
	    <RelativeLayout ...>
		    <com.google.ads.AdView ... />
	    </RelativeLayout>
    </LinearLayout>

2.

    <LinearLayout ...> // vertical
	    <TextView ...></TextView>
	    <LinearLayout ...> // horizontal
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
	    </LinearLayout>
	    <ScrollView...>
		    <LinearLayout ...>
			    <view class="blah.blah.blah.CustomView" ...>
			    </view>
                <RelativeLayout ...>
		            <com.google.ads.AdView ... />
	            </RelativeLayout>
		    </LinearLayout>
	    </ScrollView>
    </LinearLayout>


3.

    <LinearLayout ...> // vertical
	    <TextView ...></TextView>
	    <LinearLayout ...> // horizontal
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
		    <TextView ...></TextView>
	    </LinearLayout>
	    <ScrollView...>
		    <LinearLayout ...>
			    <view class="blah.blah.blah.CustomView" ...>
			    </view>
		    </LinearLayout>
	    </ScrollView>
    </LinearLayout>
    <LinearLayout ...>
        <com.google.ads.AdView .../>
    </LinearLayout>



any help as to what i can do to make this work would be greatly appreciated