aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res/layout/kau_about_section_main.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-28 17:08:20 -0700
committerAllan Wang <me@allanwang.ca>2017-06-28 17:08:20 -0700
commitd52c787508bf5ba0023946228468731a82a1132d (patch)
treea5048581dc74c9f0a87d43d83eb7e7d2c69ff309 /library/src/main/res/layout/kau_about_section_main.xml
parent0d7bf678f84f60a11e7c7cdbaa31bfe6ef21166c (diff)
downloadkau-d52c787508bf5ba0023946228468731a82a1132d.tar.gz
kau-d52c787508bf5ba0023946228468731a82a1132d.tar.bz2
kau-d52c787508bf5ba0023946228468731a82a1132d.zip
Beginning of overlaying about activity
Diffstat (limited to 'library/src/main/res/layout/kau_about_section_main.xml')
-rw-r--r--library/src/main/res/layout/kau_about_section_main.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/library/src/main/res/layout/kau_about_section_main.xml b/library/src/main/res/layout/kau_about_section_main.xml
new file mode 100644
index 0000000..32b3f19
--- /dev/null
+++ b/library/src/main/res/layout/kau_about_section_main.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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="match_parent"
+ android:layout_height="match_parent"
+ android:nestedScrollingEnabled="true"
+ tools:showIn="@layout/kau_activity_about">
+
+ <android.support.constraint.ConstraintLayout
+ android:id="@+id/about_main_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <ca.allanwang.kau.views.KauCutoutTextView
+ android:id="@+id/about_main_cutout"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/kau_about_header_height"
+ android:minHeight="@dimen/kau_about_header_height"
+ app:kau_foregroundColor="?android:colorAccent"
+ app:kau_heightPercentageToScreen="0.5"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <FrameLayout
+ android:id="@+id/about_main_bottom_container"
+ android:layout_width="0dp"
+ android:layout_height="2000dp"
+ android:background="?android:attr/colorBackground"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/about_main_cutout">
+
+ <TextView
+ android:id="@+id/about_main_bottom_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_margin="@dimen/activity_horizontal_margin" />
+
+ </FrameLayout>
+
+ </android.support.constraint.ConstraintLayout>
+
+</ScrollView>