aboutsummaryrefslogtreecommitdiff
path: root/about/src/main/res/layout/kau_activity_about.xml
blob: 626adda0df602945cbf03ac0a5f940177eba0c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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">

    <androidx.viewpager.widget.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>