From 9de0ed43c3005f10c945180d38611f4c7de79ba1 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Tue, 4 Dec 2012 18:52:20 -0800 Subject: [PATCH] Fix bug #7663550 ActionBar menu items should probably use android:textAlignment="viewStart" - add "viewStart" for popup and list menu items Change-Id: I3adf1a17080056e6d0e5fc8b9c9c95dcaafa90f6 --- core/res/res/layout/list_menu_item_layout.xml | 6 ++++-- core/res/res/layout/popup_menu_item_layout.xml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/res/res/layout/list_menu_item_layout.xml b/core/res/res/layout/list_menu_item_layout.xml index 0f37c71d588d7..e8d4983416a5d 100644 --- a/core/res/res/layout/list_menu_item_layout.xml +++ b/core/res/res/layout/list_menu_item_layout.xml @@ -40,7 +40,8 @@ android:singleLine="true" android:duplicateParentState="true" android:ellipsize="marquee" - android:fadingEdge="horizontal" /> + android:fadingEdge="horizontal" + android:textAlignment="viewStart" /> + android:duplicateParentState="true" + android:textAlignment="viewStart" /> diff --git a/core/res/res/layout/popup_menu_item_layout.xml b/core/res/res/layout/popup_menu_item_layout.xml index f67ed4ed56c7f..452f85d9cc0a4 100644 --- a/core/res/res/layout/popup_menu_item_layout.xml +++ b/core/res/res/layout/popup_menu_item_layout.xml @@ -41,7 +41,8 @@ android:singleLine="true" android:duplicateParentState="true" android:ellipsize="marquee" - android:fadingEdge="horizontal" /> + android:fadingEdge="horizontal" + android:textAlignment="viewStart" /> + android:duplicateParentState="true" + android:textAlignment="viewStart" />