What is android:gravity attribute in the view tag?
it is to align the view either right/top/bottom/center in its parent layout
it is to align the view content either right/top/bottom/center with in that view.
it is to align the parent layout of the view either in right/top/bottom/center.
it is to weigh the view with respect to other views in that layout
android:gravity property is used to align the view content either right/top/bottom/center/.. with in that view.
Back To Top