When you design, for example, a TextView view in Android, you can assign the properties android:layout_gravity="left" and / or android:gravity="left"
What is the difference between using layout_gravity or gravity over View ?