Fix Magnification shortcut option content overlap with top and bottom dialog container
Problem: After SuW theme applied, the scrollview viewport seems can draw outside of bounds. Solution: Define whether a child is limited to draw inside of its bounds or not. Test: Run initBCTestEnv_S.sh and apply different color Bug: 187007290 Change-Id: Ie3a27616d7f30804c30e5101d2488216df516578
This commit is contained in:
@@ -15,8 +15,12 @@
|
|||||||
limitations under the License
|
limitations under the License
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:clipChildren="true">
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/container_layout"
|
android:id="@+id/container_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
@@ -38,5 +42,5 @@
|
|||||||
layout="@layout/accessibility_edit_shortcut_component" />
|
layout="@layout/accessibility_edit_shortcut_component" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
</FrameLayout>
|
@@ -15,7 +15,12 @@
|
|||||||
limitations under the License
|
limitations under the License
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:clipChildren="true">
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
android:id="@+id/container_layout"
|
android:id="@+id/container_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
@@ -74,5 +79,5 @@
|
|||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
</FrameLayout>
|
Reference in New Issue
Block a user