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

Commit 39419af0 authored by Ben Lin's avatar Ben Lin
Browse files

Adjust PIP Resize handle size and margin.

Bug: 156917828
Test: Build and enter PIP
Change-Id: I0e2351fbc357d1ca60ef521886d3e7866dd91335
parent f51818a0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -84,10 +84,10 @@
    <!--TODO (b/156917828): Add content description for a11y purposes?-->
    <ImageButton
        android:id="@+id/resize_handle"
        android:layout_width="@dimen/pip_action_size"
        android:layout_height="@dimen/pip_action_size"
        android:layout_width="@dimen/pip_resize_handle_size"
        android:layout_height="@dimen/pip_resize_handle_size"
        android:layout_gravity="top|start"
        android:padding="@dimen/pip_action_padding"
        android:layout_margin="@dimen/pip_resize_handle_margin"
        android:src="@drawable/pip_resize_handle"
        android:background="?android:selectableItemBackgroundBorderless" />
</FrameLayout>
+4 −0
Original line number Diff line number Diff line
@@ -999,6 +999,10 @@
    <!-- The touchable/draggable edge size for PIP resize. -->
    <dimen name="pip_resize_edge_size">48dp</dimen>

    <!-- PIP Resize handle size and margin. -->
    <dimen name="pip_resize_handle_size">12dp</dimen>
    <dimen name="pip_resize_handle_margin">4dp</dimen>

    <!-- The corner radius for PiP window. -->
    <dimen name="pip_corner_radius">8dp</dimen>