GitNex-Android-App/app/src/main/res/layout/fragment_about.xml

168 lines
6.8 KiB
XML
Raw Normal View History

<?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" >
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
2020-01-07 13:27:05 +01:00
android:background="?attr/primaryBackgroundColor">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:fitsSystemWindows="true"
android:gravity="start"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:id="@+id/aboutFrame">
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp"
android:baselineAligned="false"
android:contentDescription="@string/logo"
2019-10-01 16:35:51 +02:00
android:src="@mipmap/app_logo" />
<TextView
android:id="@+id/appName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:textIsSelectable="true"
android:layout_marginTop="5dp"
android:textSize="24sp"
2020-01-07 13:27:05 +01:00
android:textColor="?attr/primaryTextColor"
android:layout_gravity="center_horizontal"/>
<TextView
android:id="@+id/appVerBuild"
android:text="@string/appVerBuild"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textIsSelectable="true"
android:layout_marginTop="5dp"
android:textSize="16sp"
2020-01-07 13:27:05 +01:00
android:textColor="?attr/primaryTextColor"
android:layout_gravity="center_horizontal"/>
<TextView
android:id="@+id/appDesc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/appDesc"
android:textIsSelectable="true"
android:layout_marginTop="25dp"
android:textSize="16sp"
2020-01-07 13:27:05 +01:00
android:textColor="?attr/primaryTextColor"
android:padding="5dp"
2020-01-07 13:27:05 +01:00
android:background="?attr/primaryBackgroundColor"
android:layout_gravity="center_horizontal"/>
<TextView
android:id="@+id/giteaVersion"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/commitPage"
android:layout_marginTop="15dp"
android:textSize="16sp"
2020-01-07 13:27:05 +01:00
android:textColor="?attr/primaryTextColor"
android:padding="5dp"
2020-01-07 13:27:05 +01:00
android:background="?attr/primaryBackgroundColor"
android:autoLink="web" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:orientation="vertical"
android:padding="5dp"
2020-01-07 13:27:05 +01:00
android:background="?attr/primaryBackgroundColor">
<TextView
android:id="@+id/donationLink"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/supportText"
android:textColor="@color/lightBlue"
android:textSize="16sp"
android:gravity="start"
android:autoLink="web"
android:visibility="visible"
android:layout_marginBottom="10dp"
android:textColorLink="@color/lightBlue" />
<TextView
android:id="@+id/donationLinkPatreon"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/supportTextPatreon"
android:textColor="@color/lightBlue"
android:textSize="16sp"
android:gravity="start"
android:autoLink="web"
android:visibility="visible"
2019-10-04 16:20:46 +02:00
android:layout_marginBottom="10dp"
android:textColorLink="@color/lightBlue" />
2019-10-04 16:20:46 +02:00
<TextView
android:id="@+id/translateLink"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autoLink="web"
android:gravity="start"
android:text="@string/translateText"
android:textColor="@color/lightBlue"
android:textColorLink="@color/lightBlue"
android:textSize="16sp"
android:visibility="visible" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:orientation="vertical"
android:padding="5dp"
2020-01-07 13:27:05 +01:00
android:background="?attr/primaryBackgroundColor">
<TextView
android:id="@+id/appWebsite"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/appWebsite"
android:textColor="@color/lightBlue"
android:textSize="16sp"
android:gravity="start"
android:autoLink="web"
android:visibility="visible"
android:layout_marginBottom="10dp"
android:textColorLink="@color/lightBlue" />
<TextView
android:id="@+id/appRepo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/appRepo"
android:textColor="@color/lightBlue"
android:textSize="16sp"
android:gravity="start"
android:autoLink="web"
android:visibility="visible"
android:textColorLink="@color/lightBlue" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="25dp" />
</LinearLayout>
</ScrollView>
</RelativeLayout>