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

Commit 2fbff9b6 authored by Joy Babafemi's avatar Joy Babafemi
Browse files

Fix missing open button under preferred service in credman settings screen

Bug: 368690798
Test: manual test
Flag: EXEMPT minor xml changes
Change-Id: I27047b4e27f171436d96cff5bba1364053dcaa7a
parent b8f13aa4
Loading
Loading
Loading
Loading
+15 −3
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
<!-- Based off preference_single_target.xml with buttons added below text. -->
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
@@ -95,18 +96,29 @@
        android:gravity="center"
        android:orientation="vertical" />

    <LinearLayout
    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/credman_button_frame"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:gravity="start|center_vertical"
        android:minWidth="56dp"
        android:orientation="horizontal"
        android:clipToPadding="false"
        android:paddingTop="4dp"
        android:paddingLeft="76dp"
        android:paddingBottom="4dp">

        <androidx.constraintlayout.helper.widget.Flow
            android:id="@+id/button_flow"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:constraint_referenced_ids="change_button, open_button"
            app:flow_horizontalStyle="spread_inside"
            app:flow_wrapMode="chain"
            app:flow_verticalGap = "16dp"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

            <Button
                android:id="@+id/change_button"
                android:layout_width="match_parent"
@@ -122,6 +134,6 @@
                android:visibility="gone"
                android:text="@string/credman_button_open"/>

    </LinearLayout>
    </androidx.constraintlayout.widget.ConstraintLayout>

</LinearLayout>
 No newline at end of file