From 24ce0b3708b44e738d6ee52477aa4dd917b547e7 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Tue, 14 Jan 2014 16:18:14 -0800 Subject: Fixing drop targets in phone / small tablet landscape (issue 12192781) Change-Id: I4dc8a82c8cd5ef279506e7868e33a455fba5a3be --- res/layout-land/launcher.xml | 4 +- res/layout-land/qsb.xml | 50 ++++++++++++++++++++++++ res/layout-land/search_bar.xml | 50 ------------------------ res/layout-port/launcher.xml | 4 +- res/layout-port/qsb.xml | 72 ++++++++++++++++++++++++++++++++++ res/layout-port/search_bar.xml | 73 ----------------------------------- res/layout-sw720dp/launcher.xml | 4 +- res/layout-sw720dp/qsb.xml | 72 ++++++++++++++++++++++++++++++++++ res/layout-sw720dp/search_bar.xml | 71 ---------------------------------- res/layout/qsb_bar.xml | 34 ---------------- res/layout/search_drop_target_bar.xml | 33 ++++++++++++++++ res/values-land/styles.xml | 4 -- res/values-sw720dp/styles.xml | 5 --- res/values/styles.xml | 4 -- 14 files changed, 233 insertions(+), 247 deletions(-) create mode 100644 res/layout-land/qsb.xml delete mode 100644 res/layout-land/search_bar.xml create mode 100644 res/layout-port/qsb.xml delete mode 100644 res/layout-port/search_bar.xml create mode 100644 res/layout-sw720dp/qsb.xml delete mode 100644 res/layout-sw720dp/search_bar.xml delete mode 100644 res/layout/qsb_bar.xml create mode 100644 res/layout/search_drop_target_bar.xml (limited to 'res') diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index abb19f4bb..2880c18bf 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -45,8 +45,8 @@ android:layout_gravity="end" /> + android:id="@+id/search_drop_target_bar" + layout="@layout/search_drop_target_bar" /> + + + + + + + + diff --git a/res/layout-land/search_bar.xml b/res/layout-land/search_bar.xml deleted file mode 100644 index d56e380d0..000000000 --- a/res/layout-land/search_bar.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 74005348c..574b73e46 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -57,8 +57,8 @@ android:layout_gravity="center_horizontal" /> + android:id="@+id/search_drop_target_bar" + layout="@layout/search_drop_target_bar" /> + + + + + + + + + + + diff --git a/res/layout-port/search_bar.xml b/res/layout-port/search_bar.xml deleted file mode 100644 index e993f7847..000000000 --- a/res/layout-port/search_bar.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 7dac2718c..64b0fa0d6 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -45,8 +45,8 @@ android:layout_height="match_parent" /> + android:id="@+id/search_drop_target_bar" + layout="@layout/search_drop_target_bar" /> + + + + + + + + + + + + diff --git a/res/layout-sw720dp/search_bar.xml b/res/layout-sw720dp/search_bar.xml deleted file mode 100644 index 3276f3f17..000000000 --- a/res/layout-sw720dp/search_bar.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - diff --git a/res/layout/qsb_bar.xml b/res/layout/qsb_bar.xml deleted file mode 100644 index 030acf6be..000000000 --- a/res/layout/qsb_bar.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - diff --git a/res/layout/search_drop_target_bar.xml b/res/layout/search_drop_target_bar.xml new file mode 100644 index 000000000..2d51b93ab --- /dev/null +++ b/res/layout/search_drop_target_bar.xml @@ -0,0 +1,33 @@ + + + + + + + + + + diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml index fa3801d60..87a744455 100644 --- a/res/values-land/styles.xml +++ b/res/values-land/styles.xml @@ -19,10 +19,6 @@ - - - - - - -