From 8187ac3365fc72c7ab675e0f45594747cb8458dd Mon Sep 17 00:00:00 2001 From: Seigo Nonaka Date: Thu, 25 Feb 2016 14:49:57 +0900 Subject: [PATCH] Fix suggestion window issues. - Unable to commit suggestion by tap at the right edge of the row. It turned out that the ListView doesn't fill the entire width of the window. Fix this issue by specifying match_parent instead of wrap_content. The Holo theme already has a match_parent attribute. - Follow up of I03e0f602970b3b8f638f6c7b8cdff7be07ec17a6 Unexpected trancation happens on Matrial suggestion window was fixed, but same issue happens on the Holo suggestion window. Fixing by removing ellipsize=marquee. Bug: 15347319 Bug: 27341560 Change-Id: Ic8445022634e9130f9462e02bfb08d4877396ba3 --- core/res/res/layout/text_edit_suggestion_container_material.xml | 2 +- core/res/res/values/styles_holo.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/res/res/layout/text_edit_suggestion_container_material.xml b/core/res/res/layout/text_edit_suggestion_container_material.xml index 20a80489239d9..15b18dd057e84 100644 --- a/core/res/res/layout/text_edit_suggestion_container_material.xml +++ b/core/res/res/layout/text_edit_suggestion_container_material.xml @@ -31,7 +31,7 @@ android:showDividers="middle"> @color/white 8dip - marquee start|center_vertical start|center_vertical wrap_content