OSDN Git Service

Fix overlapping in TrustedCredentialsSettings
authorMill Chen <millchen@google.com>
Wed, 2 Oct 2019 16:00:45 +0000 (00:00 +0800)
committerMill Chen <millchen@google.com>
Wed, 2 Oct 2019 16:00:45 +0000 (00:00 +0800)
It's a side effect caused by making scrollView extend below navbar.
Set both of clipToPadding and clipChildren true to fix overlapping.

Fixes: 138962899
Test: visual
Change-Id: Icf696a151055d4be76cafe44d5cb95b67bc2ea9f

res/layout/trusted_credential_list_container.xml

index aca0bc8..42dbfd9 100644 (file)
@@ -16,6 +16,8 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
               android:layout_width="match_parent"
               android:layout_height="match_parent"
+              android:clipToPadding="true"
+              android:clipChildren="true"
               android:orientation="vertical">
     <LinearLayout
         android:id="@+id/header_view"