mirror of https://git.suyu.dev/suyu/suyu
android: Fix popup menu going out of bounds
parent
3878c6ced1
commit
5807cf1b4d
@ -1,23 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<com.google.android.material.textview.MaterialTextView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/text_game_title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:fitsSystemWindows="true">
|
android:layout_marginTop="24dp"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
<com.google.android.material.textview.MaterialTextView
|
android:layout_marginEnd="24dp"
|
||||||
android:id="@+id/text_game_title"
|
android:textAppearance="?attr/textAppearanceHeadlineMedium"
|
||||||
android:layout_width="0dp"
|
android:textColor="?attr/colorOnSurface"
|
||||||
android:layout_height="wrap_content"
|
android:textAlignment="viewStart"
|
||||||
android:layout_margin="24dp"
|
tools:text="Super Mario Odyssey" />
|
||||||
android:textAppearance="?attr/textAppearanceHeadlineMedium"
|
|
||||||
android:textColor="?attr/colorOnSurface"
|
|
||||||
android:textAlignment="viewStart"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
tools:text="Super Mario Odyssey" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
|
Loading…
Reference in New Issue