Hi Developers,
Hope you all doing great with apps.
Well i came up with my first android app and about to integrate with some ADD SDK.
I am still not sure which one i will choose. For the sake of integration experience, i am trying to integrate with StartApp SDK.
I have integrated it in the code and Adds are visible on activity page. Whats the Issues ???
Well i spent around more than a day to adjust the position of the add with my SCROLL VIEW and landed nowhere
My app uses Scroll view(with Relative layout child’s inside). To show the ADD’s at the Bottom of the Application, i wrapped the Scroll view and another Linear Layout(Containing ADD View) inside Linear Parent. Means i have a Linear Parent with 2 child’s(Scroll View and Linear View) inside.
While testing it on device, it shows only Scroll section, Add section is disappeared :-((
There is no problem with Add SDK, i have tested it without scroll bar. I strongly feel it’s XML level position adjustment.
Please Help.
Following is my activity XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="40dp"
android:fillViewport="true">
<RelativeLayout
android:id="@+id/footer2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingLeft="1dp"
android:paddingRight="1dp" >
<ImageButton
android:id="@+id/ImageButton1"/>
<TextView
android:id="@+id/TextView1"/>
<Button
android:id="@+id/Button1"/>
<ImageButton
android:id="@+id/ImageButton1"/>
<TextView
android:id="@+id/TextView1"/>
<Button
android:id="@+id/Button1"/>
.
.
.
</RelativeLayout>
</ScrollView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@android:drawable/bottom_bar"
android:gravity="center_vertical">
<!-- Add shit will go here-->
<com.startapp.android.publish.banner.Banner
android:id="@+id/startAppBanner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true" />
</LinearLayout>
</LinearLayout>