mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-26 00:56:45 +00:00
a79eab9564
- remove leftovers - update script to update all Eden related icons - using base_named rather than base on About page - TODO: Reduce size of the icons even more and add Monochrome variation Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3184 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-committed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
274 lines
13 KiB
XML
274 lines
13 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:id="@+id/coordinator_about"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar_about"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fitsSystemWindows="true"
|
|
android:touchscreenBlocksFocus="false"
|
|
android:background="@android:color/transparent"
|
|
app:elevation="0dp">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar_about"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:touchscreenBlocksFocus="false"
|
|
app:navigationIcon="@drawable/ic_back"
|
|
app:title="@string/about" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/scroll_about"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fadeScrollbars="false"
|
|
android:scrollbars="vertical"
|
|
android:defaultFocusHighlightEnabled="false"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/content_about"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
android:padding="24dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/image_logo"
|
|
android:layout_width="200dp"
|
|
android:layout_height="200dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="32dp"
|
|
android:src="@drawable/ic_yuzu_named" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardBackgroundColor="?attr/colorSurface"
|
|
app:strokeColor="?attr/colorOutline"
|
|
app:strokeWidth="1dp"
|
|
app:cardElevation="0dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="24dp"
|
|
android:paddingVertical="20dp">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about"
|
|
android:textAlignment="viewStart" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.BodyMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:text="@string/about_app_description"
|
|
android:textAlignment="viewStart" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/button_contributors"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardBackgroundColor="?attr/colorSurface"
|
|
app:strokeColor="?attr/colorOutline"
|
|
app:strokeWidth="1dp"
|
|
app:cardElevation="0dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="24dp"
|
|
android:paddingVertical="20dp">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/contributors"
|
|
android:textAlignment="viewStart" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.BodyMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:text="@string/contributors_description"
|
|
android:textAlignment="viewStart" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/button_licenses"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardBackgroundColor="?attr/colorSurface"
|
|
app:strokeColor="?attr/colorOutline"
|
|
app:strokeWidth="1dp"
|
|
app:cardElevation="0dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="24dp"
|
|
android:paddingVertical="20dp">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/licenses"
|
|
android:textAlignment="viewStart" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.BodyMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:text="@string/licenses_description"
|
|
android:textAlignment="viewStart" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/button_version_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardBackgroundColor="?attr/colorSurface"
|
|
app:strokeColor="?attr/colorOutline"
|
|
app:strokeWidth="1dp"
|
|
app:cardElevation="0dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="24dp"
|
|
android:paddingVertical="20dp">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.Material3.TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/build"
|
|
android:textAlignment="viewStart" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/text_version_name"
|
|
style="@style/TextAppearance.Material3.BodyMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:textAlignment="viewStart"
|
|
tools:text="abc123" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:gravity="start"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/button_discord"
|
|
style="@style/EdenButton.Secondary"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_marginEnd="12dp"
|
|
app:icon="@drawable/ic_discord"
|
|
app:iconGravity="textStart"
|
|
app:iconSize="24dp"
|
|
app:iconPadding="0dp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/button_stoat"
|
|
style="@style/EdenButton.Secondary"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_marginEnd="12dp"
|
|
app:icon="@drawable/ic_stoat"
|
|
app:iconGravity="textStart"
|
|
app:iconSize="24dp"
|
|
app:iconPadding="0dp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/button_x"
|
|
style="@style/EdenButton.Secondary"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_marginEnd="12dp"
|
|
app:icon="@drawable/ic_x"
|
|
app:iconGravity="textStart"
|
|
app:iconSize="24dp"
|
|
app:iconPadding="0dp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/button_website"
|
|
style="@style/EdenButton.Secondary"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_marginEnd="12dp"
|
|
app:icon="@drawable/ic_website"
|
|
app:iconGravity="textStart"
|
|
app:iconSize="24dp"
|
|
app:iconPadding="0dp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/button_github"
|
|
style="@style/EdenButton.Secondary"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
app:icon="@drawable/ic_github"
|
|
app:iconGravity="textStart"
|
|
app:iconSize="24dp"
|
|
app:iconPadding="0dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|