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

Commit d6761f1a authored by Cosmin Băieș's avatar Cosmin Băieș Committed by Android (Google) Code Review
Browse files

Merge "Enable shrinking width on the IME Switcher menu" into main

parents d3f45f4f 7cc71599
Loading
Loading
Loading
Loading
+20 −11
Original line number Diff line number Diff line
@@ -21,22 +21,31 @@
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:orientation="horizontal">

        <!-- TODO(b/357644229): Enable shrinking width without three levels of nesting. -->
        <com.android.internal.widget.MaxHeightFrameLayout
            android:layout_width="320dp"
        android:layout_height="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:maxHeight="373dp">

            <com.android.internal.widget.RecyclerView
                android:id="@+id/list"
                android:layout_width="match_parent"
            android:layout_height="wrap_content"
                android:layout_height="match_parent"
                android:paddingVertical="8dp"
                android:clipToPadding="false"
                android:layoutManager="com.android.internal.widget.LinearLayoutManager"/>

        </com.android.internal.widget.MaxHeightFrameLayout>

    </LinearLayout>

    <LinearLayout
        style="?android:attr/buttonBarStyle"
        android:id="@+id/button_bar"