Makes the bottom edge of this view match the bottom edge of the given anchor view ID. Accommodates bottom margin.
1. In your main.xml file, add a RelativeLayout.
2. Add an EditText to the main.xml file.
3. Add the below line between the <EditText> tags. This will move the EditText to the bottom of the view within its parent.
android:layout_alignParentBottom = "true"
4. Compile and run!
Next Recommended Article: android:gravity - Move Text inside a EditText (center, top, bottom, right, left, and more)
Resources:
http://developer.android.com/reference/android/widget/RelativeLayout.LayoutParams.html#attr_android:layout_alignBottom
3. Add the below line between the <EditText> tags. This will move the EditText to the bottom of the view within its parent.
android:layout_alignParentBottom = "true"
4. Compile and run!
Next Recommended Article: android:gravity - Move Text inside a EditText (center, top, bottom, right, left, and more)
Resources:
http://developer.android.com/reference/android/widget/RelativeLayout.LayoutParams.html#attr_android:layout_alignBottom