aboutsummaryrefslogtreecommitdiff
path: root/about/src/main/res/layout/kau_activity_about.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-08 20:25:23 -0700
committerAllan Wang <me@allanwang.ca>2017-07-08 20:25:23 -0700
commit81996038462de1be86643e95d262933c4b96c551 (patch)
tree39423b28217251e7051f86e9e4f80c47bcba20b2 /about/src/main/res/layout/kau_activity_about.xml
parent880d433e475e5be4e5d91afac145b490f9a959b7 (diff)
downloadkau-81996038462de1be86643e95d262933c4b96c551.tar.gz
kau-81996038462de1be86643e95d262933c4b96c551.tar.bz2
kau-81996038462de1be86643e95d262933c4b96c551.zip
Move components to separate modules
Diffstat (limited to 'about/src/main/res/layout/kau_activity_about.xml')
-rw-r--r--about/src/main/res/layout/kau_activity_about.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/about/src/main/res/layout/kau_activity_about.xml b/about/src/main/res/layout/kau_activity_about.xml
new file mode 100644
index 0000000..3d1f9ab
--- /dev/null
+++ b/about/src/main/res/layout/kau_activity_about.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ca.allanwang.kau.ui.widgets.ElasticDragDismissFrameLayout 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:id="@+id/about_draggable_frame"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:dragDismissDistance="@dimen/kau_drag_dismiss_distance"
+ app:dragDismissScale="0.95"
+ tools:context=".ui.about.AboutActivityBase">
+
+ <android.support.v4.view.ViewPager
+ android:id="@+id/about_pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ <ca.allanwang.kau.ui.widgets.InkPageIndicator
+ android:id="@+id/about_indicator"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top|center_horizontal"
+ android:layout_marginTop="@dimen/kau_padding_normal"
+ app:currentPageIndicatorColor="@color/kau_about_page_indicator_dark_selected"
+ app:pageIndicatorColor="@color/kau_about_page_indicator_dark" />
+
+</ca.allanwang.kau.ui.widgets.ElasticDragDismissFrameLayout>