Magisk/app/src/main/res/layout/activity_about.xml

135 lines
5.7 KiB
XML
Raw Normal View History

2016-08-23 15:02:32 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/toolbar"/>
<ScrollView
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="fill_parent"
android:layout_height="wrap_content"
android:padding="8dp"
tools:ignore="UseCompoundDrawables,ContentDescription">
<LinearLayout
android:id="@android:id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.CardView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="8dp"
2016-09-25 15:11:57 +00:00
style="?attr/cardStyle"
2016-08-23 15:02:32 +00:00
app:cardUseCompatPadding="true">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="72dp"
android:orientation="horizontal"
android:padding="16dp">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center_vertical"
android:src="@mipmap/ic_launcher"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="@string/app_name"
android:textAppearance="@style/TextAppearance.AppCompat.Headline"/>
</LinearLayout>
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-08-23 15:02:32 +00:00
android:id="@+id/app_version_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_info_outline"
app:text="@string/app_version"/>
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-08-23 15:02:32 +00:00
android:id="@+id/app_changelog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_history"
app:text="@string/app_changelog"/>
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-08-23 15:02:32 +00:00
android:id="@+id/app_developers"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_person"
app:text="@string/app_developers"/>
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-08-23 15:02:32 +00:00
android:id="@+id/app_translators"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_language"
app:text="@string/app_translators"/>
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-08-23 15:02:32 +00:00
android:id="@+id/app_source_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_github"
app:text="@string/app_source_code"/>
</LinearLayout>
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="8dp"
2016-09-25 15:11:57 +00:00
style="?attr/cardStyle"
2016-08-23 15:02:32 +00:00
app:cardUseCompatPadding="true">
2016-09-29 15:24:31 +00:00
<LinearLayout
android:layout_width="fill_parent"
2016-08-23 15:02:32 +00:00
android:layout_height="wrap_content"
2016-09-29 15:24:31 +00:00
android:layout_marginBottom="8dp"
android:orientation="vertical">
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-09-29 15:24:31 +00:00
android:id="@+id/support_thread"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_xda"
app:text="@string/support_thread"/>
2016-11-07 13:06:18 +00:00
<com.topjohnwu.magisk.AboutCardRow
2016-09-29 15:24:31 +00:00
android:id="@+id/donation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_attach_money"
app:text="@string/donation"/>
</LinearLayout>
2016-08-23 15:02:32 +00:00
</android.support.v7.widget.CardView>
</LinearLayout>
</ScrollView>
</LinearLayout>