diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2018-04-26 13:34:40 +0200 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2018-04-26 13:34:40 +0200 |
commit | 9ecffe7854da65b39ae13b18be7da425777f1ee8 (patch) | |
tree | 431c18a13684d54c656c935ef4fdfcc93e0e81fc /app/src/main/res/layout/fragment_about.xml | |
parent | 4de306375a33b2abd067e65658a46d45cba5e56e (diff) |
Riced the app, added Atlas and About views
Diffstat (limited to 'app/src/main/res/layout/fragment_about.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_about.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml new file mode 100644 index 0000000..002813c --- /dev/null +++ b/app/src/main/res/layout/fragment_about.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.constraint.ConstraintLayout + 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="match_parent" + android:layout_height="match_parent"> + + <ImageView + android:id="@+id/about_logo" + android:layout_width="64dp" + android:layout_height="64dp" + android:layout_gravity="center_horizontal" + android:layout_marginEnd="8dp" + android:layout_marginRight="8dp" + android:layout_marginTop="16dp" + app:srcCompat="@drawable/ic_logo" + app:layout_constraintEnd_toStartOf="@+id/about_title" + app:layout_constraintTop_toTopOf="parent" + android:contentDescription="@string/liberavem_logo" /> + + <TextView + android:id="@+id/about_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" + android:layout_marginLeft="72dp" + android:layout_marginRight="8dp" + android:layout_marginStart="72dp" + android:layout_marginTop="16dp" + android:text="Liberavem" + android:textSize="36sp" + app:layout_constraintBottom_toTopOf="@+id/about_author" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <TextView + android:id="@+id/about_author" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_marginStart="8dp" + android:text="@string/author" + app:layout_constraintStart_toEndOf="@+id/about_logo" + app:layout_constraintTop_toBottomOf="@+id/about_title" /> + + <ScrollView + android:layout_width="0dp" + android:layout_height="0dp" + android:layout_marginEnd="16dp" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/about_author"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:id="@+id/about_license" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="16dp" + android:text="TextView" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/about_author" /> + </LinearLayout> + </ScrollView> + +</android.support.constraint.ConstraintLayout>
\ No newline at end of file |