There seems to be some hidden padding in the RelativLayout, I'm I right?
I've got this TextView:
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@color/green"
android:text="LOG IN"/>
in a RelativeLayout.
What I cant understand is why
android:layout_alignParentBottom="true"
doesn't place the TextView all the way down. ref image:
Is there any way to remove this padding?
The solution to my question was very easy and provided by @Marco Dufal.
Go in the dimens.xml in the res/values folder and set the margin to 0dp:
<dimen name="activity_horizontal_margin">0dp</dimen>
<dimen name="activity_vertical_margin">0dp</dimen>