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

Commit c0b2d065 authored by tmfang's avatar tmfang
Browse files

Fix overlapping problem on popup window

When user clicks spinner widget, spinner creates a popup window.
So, we need to override clipToPadding and clipToChildren attributes
to prevent view from overlapping problem.

Fixes: 135030069
Test: visual
Change-Id: I4285e824437cb32ee0613961ffe417348d2538b4
parent ad363b09
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -27,7 +27,8 @@
        android:layout_width="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="16dp"
        android:layout_marginBottom="8dp"/>
        android:layout_marginBottom="8dp"
        android:theme="@style/Widget.PopupWindow.Settings"/>

    <ImageView
        android:id="@+id/filter_settings"
+6 −0
Original line number Diff line number Diff line
@@ -651,4 +651,10 @@
        <item name="android:background">?android:attr/selectableItemBackground</item>
    </style>

    <style name="Widget.PopupWindow.Settings"
           parent="@android:style/Widget.DeviceDefault.PopupWindow">
        <item name="android:clipToPadding">true</item>
        <item name="android:clipChildren">true</item>
    </style>

</resources>