Margin does not impact in “include”

You should add the android:layout_width and android:layout_height attributes in the include tag. Otherwise, the margins are not taken into consideration.

However, if you want to override layout attributes using the <include> tag, you must override both android:layout_height and android:layout_width in order for other layout attributes to take effect.

https://developer.android.com/training/improving-layouts/reusing-layouts.html#Include

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)