i have tablelayout , have ads on app, ads go under last button on screen, how can ad stick bottom of screen?
<textview android:id="@+id/textview1" android:layout_height="wrap_content" android:text="@string/time" android:layout_width="wrap_content"> </textview> <button android:layout_height="wrap_content" android:layout_centerinparent="true" android:id="@+id/totime" android:layout_width="wrap_content"> </button> <button android:layout_height="wrap_content" android:text="save" android:id="@+id/save" android:layout_width="wrap_content"> </button> <com.mobfox.sdk.mobfoxview
android:id="@+id/mobfoxview" android:layout_width="fill_parent" android:layout_height="50dp" publisherid="**********" />
then, use relativelayout
, , put like:
<com.mobfox.sdk.mobfoxview android:id="@+id/mobfoxview" android:layout_width="fill_parent" android:layout_height="50dp" android:layout_alignparentbottom="true" publisherid="**********" />
you have modify widgets above mobfoxview
... maybe can leave them inside tablelayout
, , put tablelayout inside relativelayout
:
<relativelayout> <tablelayout> other stuff </tablelayout> <mobfoxstuff/> </relativelayout>
Comments
Post a Comment