Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a65020d authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Removing the section break UI support

This was an exploration for an alternative UI in all apps, where we
show section headers before every section. This was never released.

Change-Id: I2d36f1d078cc9a6f3ba6f0ec9655412182c9b016
parent 76303699
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@
            android:clipToPadding="false"
            android:descendantFocusability="afterDescendants"
            android:focusable="true"
            android:paddingEnd="@dimen/container_fastscroll_thumb_max_width"
            android:theme="@style/CustomOverscroll.Light" />

        <!-- Fast scroller popup -->
+0 −2
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

<resources>
<!-- All Apps -->
    <dimen name="all_apps_grid_view_start_margin">0dp</dimen>
    <dimen name="all_apps_grid_section_text_size">26sp</dimen>
    <dimen name="all_apps_background_canvas_width">850dp</dimen>
    <dimen name="all_apps_background_canvas_height">525dp</dimen>

+0 −3
Original line number Diff line number Diff line
@@ -62,9 +62,6 @@

<!-- All Apps -->
    <dimen name="all_apps_button_scale_down">0dp</dimen>
    <dimen name="all_apps_grid_view_start_margin">0dp</dimen>
    <dimen name="all_apps_grid_section_y_offset">8dp</dimen>
    <dimen name="all_apps_grid_section_text_size">24sp</dimen>
    <dimen name="all_apps_search_bar_field_height">48dp</dimen>
    <dimen name="all_apps_search_bar_height">60dp</dimen>
    <dimen name="all_apps_search_bar_icon_margin_right">4dp</dimen>
+0 −7
Original line number Diff line number Diff line
@@ -172,13 +172,6 @@ public abstract class BaseRecyclerView extends RecyclerView
        return mBackgroundPadding;
    }

    /**
     * Returns the scroll bar width when the user is scrolling.
     */
    public int getMaxScrollbarWidth() {
        return mScrollbar.getThumbMaxWidth();
    }

    /**
     * Returns the visible height of the recycler view:
     *   VisibleHeight = View height - top padding - bottom padding
+0 −4
Original line number Diff line number Diff line
@@ -177,10 +177,6 @@ public class BaseRecyclerViewFastScrollBar {
        return mThumbHeight;
    }

    public int getThumbMaxWidth() {
        return mMaxWidth;
    }

    public boolean isDraggingThumb() {
        return mIsDragging;
    }
Loading