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

Commit 97de09f9 authored by Andrej Karadžić's avatar Andrej Karadžić Committed by Android (Google) Code Review
Browse files

Merge "Make "Learn more" link horizontally centered in CollapsableTextView" into main

parents 3a641657 56f4e644
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -44,10 +44,11 @@

    <com.android.settingslib.widget.LinkableTextView
        android:id="@+id/settingslib_expressive_learn_more"
        android:layout_width="wrap_content"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toBottomOf="@android:id/title"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:paddingTop="@dimen/settingslib_expressive_space_extrasmall6"
        android:textAlignment="viewStart"
        android:clickable="true"
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ class CollapsableTextView @JvmOverloads constructor(
                Gravity.CENTER_VERTICAL, Gravity.CENTER, Gravity.CENTER_HORIZONTAL -> {
                    centerHorizontally(titleTextView)
                    centerHorizontally(collapseButton)
                    centerHorizontally(learnMoreTextView)
                }
            }
            isCollapsable = getBoolean(isCollapsableAttr, DEFAULT_COLLAPSABLE)