141 lines
6.3 KiB
XML
141 lines
6.3 KiB
XML
<android.support.v4.widget.NestedScrollView 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"
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
tools:context="org.disroot.disrootapp.ui.AboutActivity$AboutFragment">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
<!-- About -->
|
|
<android.support.v7.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
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/app_name"/>
|
|
|
|
<TextView
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/WelcomeInfo"
|
|
android:layout_marginBottom="16dp"/>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin">
|
|
|
|
<ImageButton
|
|
android:id="@+id/fDroidBtn"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="start"
|
|
android:foreground="@drawable/ic_f_droid"
|
|
android:contentDescription="@string/fDroid" />
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/fDroidBtn"
|
|
android:text="@string/fDroid"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:layout_toRightOf="@+id/fDroidBtn"
|
|
android:layout_toEndOf="@+id/fDroidBtn">
|
|
|
|
<ImageButton
|
|
android:id="@+id/homeBtn"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:background="@color/bg_primary_blue"
|
|
android:foreground="@drawable/ic_home"
|
|
android:contentDescription="@string/DisrootWeb" /></LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:layout_toEndOf="@+id/fDroidBtn"
|
|
android:layout_below="@id/fDroidBtn"
|
|
android:layout_toRightOf="@+id/fDroidBtn">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/DisrootWeb"
|
|
android:gravity="end"/></LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
</android.support.v7.widget.CardView>
|
|
|
|
<!--Vertical padding-->
|
|
<android.support.v4.widget.Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/activity_vertical_margin" />
|
|
|
|
<!-- APP SECTION -->
|
|
<TextView
|
|
android:id="@+id/AppSection"
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/AppSection" />
|
|
|
|
<TextView
|
|
android:id="@+id/PackageName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TextView
|
|
android:id="@+id/AppVersion"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- DEVICE SECTION -->
|
|
<TextView
|
|
android:id="@+id/DeviceSection"
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:text="@string/Device"/>
|
|
|
|
<TextView
|
|
android:id="@+id/AndroidVersion"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView
|
|
android:id="@+id/Device"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/activity_vertical_margin"/>
|
|
|
|
</LinearLayout>
|
|
</android.support.v4.widget.NestedScrollView> |