I'm trying to put a copyright image in the bottom of my LinearLayout
with an "include tag". I am doing it successfully, but when I'm trying to add android:layout_marginTop="330dp"
or android:layout_marginBottom="20dp"
for instance to my include - it doesn't show in the UI.
What is the problem ?
Here is my code: copyrights.xml:
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView
android:src="@drawable/copyrights"
android:id="@+id/copyrights"
android:layout_width="fill_parent"
android:layout_height="40dip"/>
</merge>
mylayout.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:padding="10dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<include layout="@layout/copyrights" android:layout_marginTop="330dp"/>
</LinearLayout>