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

Commit 9058e305 authored by Samuel Fufa's avatar Samuel Fufa
Browse files

Avoid hotseat edu button overlapping

Screenshot: https://screenshot.googleplex.com/cCNn6hdrqu1
Bug: 158194467
Change-Id: I465ab73be2079f20994b3f2bbe57f64e46d05777
parent 42dd4f4a
Loading
Loading
Loading
Loading
+27 −18
Original line number Diff line number Diff line
@@ -72,33 +72,42 @@
                android:layout_height="0dp"
                launcher:containerType="hotseat" />

            <FrameLayout
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingLeft="@dimen/bottom_sheet_edu_padding"
                android:paddingTop="8dp"
                android:paddingRight="@dimen/bottom_sheet_edu_padding">

                <FrameLayout
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:layout_weight=".4">
                    <Button
                    android:id="@+id/turn_predictions_on"
                        android:id="@+id/no_thanks"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                    android:layout_gravity="end"
                        android:background="?android:attr/selectableItemBackground"
                    android:text="@string/hotseat_edu_accept"
                    android:textAlignment="textEnd"
                        android:text="@string/hotseat_edu_dismiss"
                        android:textColor="@android:color/white"/>

                </FrameLayout>
                <FrameLayout
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:layout_weight=".6">
                    <Button
                        android:id="@+id/turn_predictions_on"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                    android:id="@+id/no_thanks"
                    android:text="@string/hotseat_edu_dismiss"
                    android:layout_gravity="start"
                        android:background="?android:attr/selectableItemBackground"
                        android:gravity="end"
                        android:text="@string/hotseat_edu_accept"
                        android:textColor="@android:color/white"/>

                </FrameLayout>

            </LinearLayout>
        </LinearLayout>
    </LinearLayout>