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

Commit 9271f66c authored by Aaron Liu's avatar Aaron Liu
Browse files

[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
parent 9ce60a5a
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -98,15 +98,17 @@
            android:singleLine="true"
            android:ellipsize="marquee"
            android:focusable="true" />
    </LinearLayout>

    <FrameLayout android:id="@+id/keyguard_bouncer_container"
                     android:layout_height="0dp"
        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" />
    </LinearLayout>

    <com.android.systemui.biometrics.AuthRippleView
        android:id="@+id/auth_ripple"