From a475fb1e06d61ec755e000218654d5af997310ba Mon Sep 17 00:00:00 2001 From: Mihai Nita Date: Mon, 22 Feb 2016 15:44:40 -0800 Subject: [PATCH] Fix various UX bugs. * In the drag & drop list align numbers with the + in the "+ Add a language" button * Keep the "+ Add a language" button under the list * Shadow cell while drag & drop * Updated various strings for dialog titles and messages Bug: 26557242 Bug: 26710677 Bug: 26712004 Bug: 27070104 Change-Id: I10d26eac9581c955328e667d7309b5f0ac649110 --- res/layout/locale_drag_cell.xml | 5 +- res/layout/locale_order_list.xml | 57 ++++++++++--------- res/values/strings.xml | 26 +++++---- .../LocaleDragAndDropAdapter.java | 48 +++++++++++++++- .../localepicker/LocaleListEditor.java | 24 ++++---- 5 files changed, 106 insertions(+), 54 deletions(-) diff --git a/res/layout/locale_drag_cell.xml b/res/layout/locale_drag_cell.xml index eb26d2c3e39..522f28428e9 100644 --- a/res/layout/locale_drag_cell.xml +++ b/res/layout/locale_drag_cell.xml @@ -40,12 +40,11 @@ diff --git a/res/layout/locale_order_list.xml b/res/layout/locale_order_list.xml index a5021d15e7d..d2ad072b69f 100644 --- a/res/layout/locale_order_list.xml +++ b/res/layout/locale_order_list.xml @@ -14,33 +14,38 @@ limitations under the License. --> - + - + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingTop="8dp" + android:paddingBottom="8dp"> -