Merge "Fix fgs_footer layout params"
This commit is contained in:
committed by
Android (Google) Code Review
commit
fe8022f27b
@@ -16,9 +16,8 @@
|
||||
-->
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/qs_security_footer_single_line_height"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:clickable="true"
|
||||
android:visibility="gone">
|
||||
|
||||
@@ -191,6 +191,10 @@ internal class FooterActionsController @Inject constructor(
|
||||
reformatForNewFooter(securityFooter)
|
||||
val fgsFooter = fgsManagerFooterController.view
|
||||
securityFootersContainer?.addView(fgsFooter)
|
||||
(fgsFooter.layoutParams as LinearLayout.LayoutParams).apply {
|
||||
width = 0
|
||||
weight = 1f
|
||||
}
|
||||
|
||||
val visibilityListener =
|
||||
VisibilityChangedDispatcher.OnVisibilityChangedListener { visibility ->
|
||||
|
||||
Reference in New Issue
Block a user