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
This commit is contained in:
@@ -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"
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user