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

Commit 3ae7be62 authored by Andrew Cole's avatar Andrew Cole
Browse files

Fixing an issue with the drop target font becoming very small for removing and...

Fixing an issue with the drop target font becoming very small for removing and uninstalling. I also verified that this doesnt break a fix presented in b/264732627

Fix: 274402490
Test: Manual
Change-Id: Id61cf7e33f83e0cb25c82b5e7b167b04657fd612
parent 90259a6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
    <dimen name="drop_target_text_size">20sp</dimen>
    <dimen name="dynamic_grid_drop_target_size">72dp</dimen>
    <dimen name="drop_target_button_drawable_horizontal_padding">24dp</dimen>
    <dimen name="drop_target_button_drawable_vertical_padding">20dp</dimen>
    <dimen name="drop_target_button_drawable_vertical_padding">8dp</dimen>
    <dimen name="drop_target_button_gap">32dp</dimen>
    <dimen name="drop_target_button_workspace_edge_gap">32dp</dimen>
    <dimen name="drop_target_top_margin">110dp</dimen>
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ public abstract class ButtonDropTarget extends TextView
        getPaint().getTextBounds(mText.toString(), 0, mText.length(), mTempRect);
        // Add bounds bottom to height, as text bounds height measures from the text baseline and
        // above, which characters can descend below
        return mTempRect.bottom + mTempRect.height() <= availableHeight;
        return mTempRect.bottom + mTempRect.height() >= availableHeight;
    }

    /**