mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -04:00
Shrink title bar in landscape UI
This commit is contained in:
parent
4a6eea08fc
commit
c73893ab99
@ -0,0 +1,64 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/transparent">
|
||||
|
||||
<com.kdt.mcgui.mcAccountSpinner
|
||||
android:id="@+id/account_spinner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/_42sdp"
|
||||
|
||||
android:dropDownWidth="wrap_content"
|
||||
android:dropDownVerticalOffset="@dimen/_42sdp"
|
||||
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/setting_button"
|
||||
android:layout_width="@dimen/_52sdp"
|
||||
android:layout_height="@dimen/_42sdp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:src="@drawable/ic_menu_settings"
|
||||
android:scaleType="fitCenter"
|
||||
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/delete_account_button"
|
||||
android:layout_width="@dimen/_52sdp"
|
||||
android:layout_height="@dimen/_42sdp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:src="@drawable/ic_menu_delete_forever"
|
||||
android:scaleType="fitCenter"
|
||||
|
||||
|
||||
app:layout_constraintEnd_toStartOf="@id/setting_button"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<!-- Holding most of the dynamic content -->
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:id="@+id/container_fragment"
|
||||
android:name="net.kdt.pojavlaunch.fragments.MainMenuFragment"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/progress_layout"
|
||||
app:layout_constraintTop_toBottomOf="@+id/account_spinner" />
|
||||
|
||||
|
||||
<com.kdt.mcgui.ProgressLayout
|
||||
android:id="@+id/progress_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
x
Reference in New Issue
Block a user