[Bouncer] Remove margin top for bouncer view.
The bouncer view has a slight scroll feedback with touch and clips the children when scrolled up too far. This is because of a parent container that has another child and has a margin top. I have moved the bouncer view to the root view. This is fine because the sibling keyguard message area is now only used when bouncer is not showing. Additionally I took the sum of those margins and set it as the padding top in the view binder. Fixes: 260477609 Test: Open bouncer. Change-Id: Icdf5a314115693d9f7188971adba1396dac105e6
This commit is contained in:
@@ -98,16 +98,18 @@
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true" />
|
||||
<FrameLayout android:id="@+id/keyguard_bouncer_container"
|
||||
android:layout_height="0dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@android:color/transparent"
|
||||
android:visibility="invisible"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false" />
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout android:id="@+id/keyguard_bouncer_container"
|
||||
android:paddingTop="@dimen/status_bar_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@android:color/transparent"
|
||||
android:visibility="invisible"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false" />
|
||||
|
||||
<com.android.systemui.biometrics.AuthRippleView
|
||||
android:id="@+id/auth_ripple"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
Reference in New Issue
Block a user