mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-10-25 00:25:41 +00:00
cbbf599e4e
- Save/resume state when closing/starting. - Error reporting - hopefully can figure out why it's not starting on some devices. - Reduce startup latency. - Add more options and descriptions to settings.
57 lines
2.3 KiB
XML
57 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
|
tools:context=".MainActivity">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="64dp"
|
|
android:layout_height="match_parent"
|
|
app:srcCompat="@mipmap/ic_launcher_foreground" />
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<include layout="@layout/content_main" />
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/fab_resume"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_marginBottom="@dimen/fab_margin"
|
|
android:layout_marginRight="96dp"
|
|
app:backgroundTint="@android:color/background_light"
|
|
app:srcCompat="@drawable/ic_baseline_play_arrow_24" />
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/fab_add_game_directory"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="@dimen/fab_margin"
|
|
app:backgroundTint="@android:color/background_light"
|
|
app:srcCompat="@android:drawable/ic_input_add" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |