230 lines
10 KiB
XML
230 lines
10 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<android.support.v4.widget.NestedScrollView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginBottom="64dp"
|
||
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
||
|
android:paddingBottom="@dimen/activity_horizontal_margin"
|
||
|
tools:context="org.disroot.disrootapp.ui.AboutActivity$LicenseFragment">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<!-- Maintainers -->
|
||
|
<android.support.v7.widget.CardView
|
||
|
tools:style="@style/CardView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="16dp"
|
||
|
card_view:cardCornerRadius="5dp"
|
||
|
card_view:cardElevation="5dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="@dimen/horizontal_half_margin"
|
||
|
android:layout_marginStart="@dimen/horizontal_half_margin"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/maintainersText"
|
||
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/maintainersTitle" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/maintainers"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/maintainersText" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/disroot"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/disroot" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/disrootUrl"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/disrootUrl"
|
||
|
android:textColor="@color/bg_primary_blue_dark"
|
||
|
android:clickable="true"
|
||
|
android:focusable="true" />
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
<!-- Contibutors -->
|
||
|
<android.support.v7.widget.CardView
|
||
|
tools:style="@style/CardView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
card_view:cardCornerRadius="5dp"
|
||
|
card_view:cardElevation="5dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="@dimen/horizontal_half_margin"
|
||
|
android:layout_marginStart="@dimen/horizontal_half_margin"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/contibutors"
|
||
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/contributorsTitle" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/mastext"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/contributors" />
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
<!-- License -->
|
||
|
<android.support.v7.widget.CardView
|
||
|
tools:style="@style/CardView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="@dimen/activity_vertical_margin"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
card_view:cardCornerRadius="5dp"
|
||
|
card_view:cardElevation="5dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginRight="@dimen/activity_vertical_margin">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="@dimen/horizontal_half_margin"
|
||
|
android:layout_marginStart="@dimen/horizontal_half_margin"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/licenseText"
|
||
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/licenseTitle" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/license"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/licenseText"
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/license_button"
|
||
|
style="?android:attr/buttonBarButtonStyle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:text="@string/license_button" />
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<!-- Third Party Libraries -->
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
style="?android:attr/buttonBarStyle"
|
||
|
card_view:cardElevation="5dp"
|
||
|
card_view:cardCornerRadius="5dp">
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
||
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half">
|
||
|
|
||
|
<TextView
|
||
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/thirdparty"
|
||
|
android:layout_marginBottom="8dp"/>
|
||
|
|
||
|
<TextView
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/thirdpartyText"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<!-- Miscellaneous -->
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginBottom="64dp"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
style="?android:attr/buttonBarStyle"
|
||
|
card_view:cardElevation="5dp"
|
||
|
card_view:cardCornerRadius="5dp">
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
||
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half"
|
||
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
||
|
|
||
|
<TextView
|
||
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/misc"
|
||
|
android:layout_marginBottom="8dp"/>
|
||
|
|
||
|
<TextView
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/miscDio"/>
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/dioBtn"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
style="?android:attr/buttonBarButtonStyle"
|
||
|
android:text="@string/miscDioBtn"/>
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
</LinearLayout>
|
||
|
</android.support.v4.widget.NestedScrollView>
|