diff options
Diffstat (limited to 'res/layout/all_apps.xml')
-rw-r--r-- | res/layout/all_apps.xml | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/res/layout/all_apps.xml b/res/layout/all_apps.xml index d6bdac2f0..f3539dcfa 100644 --- a/res/layout/all_apps.xml +++ b/res/layout/all_apps.xml @@ -59,38 +59,16 @@ <!-- Fast scroller popup --> <TextView style="@style/FastScrollerPopup" - android:layout_below="@+id/search_container" + android:layout_alignTop="@+id/apps_list_view" android:id="@+id/fast_scroller_popup" android:layout_alignParentEnd="true" android:layout_marginEnd="@dimen/container_fastscroll_popup_margin" /> - <FrameLayout - android:id="@+id/search_container" - android:layout_width="match_parent" - android:layout_height="@dimen/all_apps_search_bar_height" - android:layout_gravity="center|top" - android:gravity="center|bottom" - android:orientation="horizontal" - android:saveEnabled="false"> - - <com.android.launcher3.ExtendedEditText - android:id="@+id/search_box_input" - android:layout_width="match_parent" - android:layout_height="@dimen/all_apps_search_bar_field_height" - android:background="@android:color/transparent" - android:layout_gravity="bottom" - android:focusableInTouchMode="true" - android:gravity="center" - android:imeOptions="actionSearch|flagNoExtractUi" - android:inputType="text|textNoSuggestions|textCapWords" - android:maxLines="1" - android:scrollHorizontally="true" - android:singleLine="true" - android:textColor="?android:attr/textColorSecondary" - android:hint="@string/all_apps_search_bar_hint" - android:textColorHint="@drawable/all_apps_search_hint" - android:textSize="16sp" /> - </FrameLayout> + <!-- Note: we are reusing/repurposing a system attribute for search layout, because of a + platform bug, which prevents using custom attributes in <include> tag --> + <include + layout="?android:attr/keyboardLayout" + android:id="@+id/search_container" /> </com.android.launcher3.allapps.AllAppsRecyclerViewContainerView> <View |