I have tried to make only a small application, but I have a problem with its layout file.
After I placed the ad in the code, my layout has been shifted, and the background too. The edittext went downer and the two buttons too. I don't know how I can make my layout to be the same after the ad place- in too. Could you help me in this please? Here's the code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background"> <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" > <com.google.ads.AdView xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" ads:adSize="BANNER" ads:adUnitId="MY_AD_ID" android:layout_alignParentTop="true" /> <EditText android:id="@+id/et_text" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="135dp" /> <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> <Button android:text="Send" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/btn_post" android:layout_gravity="right" android:layout_alignParentRight="true"/> <Button android:text="Clear" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/btn_clear"/> </RelativeLayout> </LinearLayout> -- 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

