0
I want to remove those marginsazul for my line verde catch the layout and not be left with any margin, but without removing the padding of RelativeLayout
It is the Actionbar vermelho who is with a margim bottom or my View verde who is with a margin top?

xml layout.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".Home">
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#ACD10A"
/>
</RelativeLayout>
Exception, in general to
ActionBardoes not interfere with the content layout. Because it modifies its layout to take theViewfrom within theRelativeLayout, encompassing in aLinearLayout?– Wakim
@Wakim can give an example?
– Leonardo