mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Add start to widget app name layout gravity
This fixes the alignment issue in RTL. Seems like the default is start if layout_gravity isn't set, but if you set layout_gravity to center_vertical, you need to explicitly set start or it will go to the left. Bug: 188147009 Test: validated locally and in AS layout preview Change-Id: Ic4b4d7e6dfe03e1e6dd3ead5c3821e77261b4bb5
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
android:id="@+id/app_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
tools:text="App name" />
|
||||
|
||||
Reference in New Issue
Block a user