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

Commit d4de6d4b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Avoid hotseat edu button overlapping" into ub-launcher3-rvc-dev

parents 3b803988 9058e305
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>