ariane/app/src/main/res/layout/dialog_about.xml

112 lines
4.0 KiB
XML
Raw Normal View History

2020-08-18 20:21:43 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
<RelativeLayout
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/default_margin">
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/close_tab_dialog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_margin="@dimen/button_margin"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:src="@drawable/vector_close" />
</RelativeLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/header">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/default_margin_big"
android:paddingRight="@dimen/default_margin_big"
android:paddingBottom="@dimen/default_margin_big"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_marginTop="@dimen/default_margin_big"
android:src="@drawable/vector_olab"/>
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_marginStart="@dimen/default_margin"
android:layout_marginTop="@dimen/default_margin_big"
android:src="@drawable/vector_app_icon" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/default_margin_big"
android:text="@string/about_body"/>
<TextView
android:id="@+id/version_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="1.0.0 alpha delta"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/default_margin"
android:text="@string/copyright"/>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/oppenlab_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Öppenlab.net"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/default_margin_big"
android:paddingBottom="@dimen/default_margin_big"
android:text="@string/home_icon_attribution" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/default_margin"
android:text="@string/about_lic"/>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/gnu_license_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/gnu_link"/>
<!-- OppenLab -->
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</RelativeLayout>