Loading res/layout/all_apps_search_market.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ android:id="@+id/search_market_text" android:layout_width="match_parent" android:layout_height="48dp" android:gravity="start|center_vertical" android:gravity="center" android:paddingLeft="@dimen/container_fastscroll_thumb_max_width" android:paddingRight="@dimen/container_fastscroll_thumb_max_width" android:fontFamily="sans-serif-medium" Loading src/com/android/launcher3/allapps/AllAppsGridAdapter.java +1 −3 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter. public static final int VIEW_TYPE_PREDICTION_ICON = 1 << 2; // The message shown when there are no filtered results public static final int VIEW_TYPE_EMPTY_SEARCH = 1 << 3; // A divider that separates the apps list and the search market button // The message to continue to a market search when there are no filtered results public static final int VIEW_TYPE_SEARCH_MARKET = 1 << 4; // We use various dividers for various purposes. They share enough attributes to reuse layouts, Loading Loading @@ -528,8 +528,6 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter. TextView searchView = (TextView) holder.mContent; if (mMarketSearchIntent != null) { searchView.setVisibility(View.VISIBLE); searchView.setGravity(mApps.hasNoFilteredResults() ? Gravity.CENTER : Gravity.START | Gravity.CENTER_VERTICAL); } else { searchView.setVisibility(View.GONE); } Loading Loading
res/layout/all_apps_search_market.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ android:id="@+id/search_market_text" android:layout_width="match_parent" android:layout_height="48dp" android:gravity="start|center_vertical" android:gravity="center" android:paddingLeft="@dimen/container_fastscroll_thumb_max_width" android:paddingRight="@dimen/container_fastscroll_thumb_max_width" android:fontFamily="sans-serif-medium" Loading
src/com/android/launcher3/allapps/AllAppsGridAdapter.java +1 −3 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter. public static final int VIEW_TYPE_PREDICTION_ICON = 1 << 2; // The message shown when there are no filtered results public static final int VIEW_TYPE_EMPTY_SEARCH = 1 << 3; // A divider that separates the apps list and the search market button // The message to continue to a market search when there are no filtered results public static final int VIEW_TYPE_SEARCH_MARKET = 1 << 4; // We use various dividers for various purposes. They share enough attributes to reuse layouts, Loading Loading @@ -528,8 +528,6 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter. TextView searchView = (TextView) holder.mContent; if (mMarketSearchIntent != null) { searchView.setVisibility(View.VISIBLE); searchView.setGravity(mApps.hasNoFilteredResults() ? Gravity.CENTER : Gravity.START | Gravity.CENTER_VERTICAL); } else { searchView.setVisibility(View.GONE); } Loading