summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-04-23 21:48:51 (GMT)
committerSunny Goyal <sunnygoyal@google.com>2015-04-23 21:57:19 (GMT)
commitcabc4e5159ffa8ac6600418a204d8720fd41c913 (patch)
tree5918ef5bf115fae417d3a4f3780af6a43376c4d6
parent3748c5e73107fbfb8bd315653336083578c49026 (diff)
downloadandroid_packages_apps_Trebuchet-cabc4e5159ffa8ac6600418a204d8720fd41c913.zip
android_packages_apps_Trebuchet-cabc4e5159ffa8ac6600418a204d8720fd41c913.tar.gz
android_packages_apps_Trebuchet-cabc4e5159ffa8ac6600418a204d8720fd41c913.tar.bz2
Rearranging drop target relative positions
> It will now show either [Remove, Uninstall] or [App Info, Uninstall] Bug: 20529800 Change-Id: Ifda6f24cca5c38e84c68560cbeb5f29bade75b6a
-rw-r--r--res/layout/search_drop_target_bar.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/res/layout/search_drop_target_bar.xml b/res/layout/search_drop_target_bar.xml
index 9b0da1d..fe18edc 100644
--- a/res/layout/search_drop_target_bar.xml
+++ b/res/layout/search_drop_target_bar.xml
@@ -45,26 +45,26 @@
style="@style/DropTargetButtonContainer"
android:layout_weight="1" >
- <!-- Uninstall target -->
+ <!-- Info target -->
- <com.android.launcher3.UninstallDropTarget
- android:id="@+id/uninstall_target_text"
+ <com.android.launcher3.InfoDropTarget
+ android:id="@+id/info_target_text"
style="@style/DropTargetButton"
- android:drawableStart="@drawable/uninstall_target_selector"
- android:text="@string/delete_target_uninstall_label" />
+ android:drawableStart="@drawable/info_target_selector"
+ android:text="@string/info_target_label" />
</FrameLayout>
<FrameLayout
style="@style/DropTargetButtonContainer"
android:layout_weight="1" >
- <!-- Info target -->
+ <!-- Uninstall target -->
- <com.android.launcher3.InfoDropTarget
- android:id="@+id/info_target_text"
+ <com.android.launcher3.UninstallDropTarget
+ android:id="@+id/uninstall_target_text"
style="@style/DropTargetButton"
- android:drawableStart="@drawable/info_target_selector"
- android:text="@string/info_target_label" />
+ android:drawableStart="@drawable/uninstall_target_selector"
+ android:text="@string/delete_target_uninstall_label" />
</FrameLayout>
</LinearLayout>