android linear layout float center code example Example: linear layout element to center android:gravity="center"