Fix bug with long strings not aligning left on menu items
This CL sets gravity="start" and ellipsize="end" so that longer strings in the Overview app dropdown menu are still left-aligned and ellipsized when they are longer than the container.
Fixes: 330426535
Flag: N/A
Test: Manual
Change-Id: I1e62412c9b8be41a8dbb6b0597a69a283a56e3f0
(cherry picked from commit 6867b18db2)
This commit is contained in:
1 parent
d6b0dc8970
commit
5f9329dccd
1 file changed
+3
-1
@@ -41,6 +41,8 @@
|
||||
android:layout_marginStart="@dimen/task_menu_option_text_start_margin"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?androidprv:attr/materialColorOnSurface"
|
||||
android:focusable="false" />
|
||||
android:focusable="false"
|
||||
android:gravity="start"
|
||||
android:ellipsize="end" />
|
||||
|
||||
</LinearLayout>
|
||||
Reference in new issue
Block a user