aboutsummaryrefslogtreecommitdiff
path: root/core-ui/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'core-ui/src/main/res/layout')
-rw-r--r--core-ui/src/main/res/layout/kau_elastic_recycler_activity.xml51
-rw-r--r--core-ui/src/main/res/layout/kau_recycler_detached_background.xml27
-rw-r--r--core-ui/src/main/res/layout/kau_recycler_textslider.xml34
3 files changed, 0 insertions, 112 deletions
diff --git a/core-ui/src/main/res/layout/kau_elastic_recycler_activity.xml b/core-ui/src/main/res/layout/kau_elastic_recycler_activity.xml
deleted file mode 100644
index 055d61d..0000000
--- a/core-ui/src/main/res/layout/kau_elastic_recycler_activity.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?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"
- android:id="@+id/kau_draggable"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:dragDismissDistance="@dimen/kau_drag_dismiss_distance_large"
- app:dragDismissScale="0.95">
-
- <android.support.design.widget.CoordinatorLayout
- android:id="@+id/kau_coordinator"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/kau_drag_dismiss_distance"
- android:background="?android:colorBackground"
- android:orientation="vertical">
-
- <android.support.design.widget.AppBarLayout
- android:id="@+id/kau_appbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <android.support.v7.widget.Toolbar
- android:id="@+id/kau_toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
-
- </android.support.design.widget.AppBarLayout>
-
- <android.support.v7.widget.RecyclerView
- android:id="@+id/kau_recycler"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layoutManager="android.support.v7.widget.LinearLayoutManager"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/kau_fab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/kau_fab_margin"
- android:clickable="true"
- android:visibility="gone"
- app:backgroundTint="?colorAccent"
- app:layout_anchor="@id/kau_recycler"
- app:layout_anchorGravity="bottom|right|end" />
-
- </android.support.design.widget.CoordinatorLayout>
-
-</ca.allanwang.kau.ui.widgets.ElasticDragDismissFrameLayout> \ No newline at end of file
diff --git a/core-ui/src/main/res/layout/kau_recycler_detached_background.xml b/core-ui/src/main/res/layout/kau_recycler_detached_background.xml
deleted file mode 100644
index 7295d66..0000000
--- a/core-ui/src/main/res/layout/kau_recycler_detached_background.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <!-- we use a parallel view for the background rather than just setting a background on the
- recycler view for a nicer return transition. i.e. we want the background to fade and the
- list to slide out separately -->
- <View
- android:id="@+id/kau_recycler_detached_background"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="?android:colorBackground" />
-
- <!--defaults to a LinearLayoutManager-->
-
- <android.support.v7.widget.RecyclerView
- android:id="@+id/kau_recycler_detached"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- android:paddingBottom="@dimen/kau_spacing_normal"
- android:scrollbars="vertical"
- app:layoutManager="android.support.v7.widget.LinearLayoutManager" />
-
-</FrameLayout>
diff --git a/core-ui/src/main/res/layout/kau_recycler_textslider.xml b/core-ui/src/main/res/layout/kau_recycler_textslider.xml
deleted file mode 100644
index eacd5be..0000000
--- a/core-ui/src/main/res/layout/kau_recycler_textslider.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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"
- android:id="@+id/kau_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <android.support.v7.widget.Toolbar
- android:id="@+id/kau_toolbar"
- android:layout_width="0dp"
- android:layout_height="?attr/actionBarSize"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
-
- <ca.allanwang.kau.ui.widgets.TextSlider
- android:id="@+id/kau_toolbar_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- app:animation_type="slide_vertical" />
-
- </android.support.v7.widget.Toolbar>
-
- <android.support.v7.widget.RecyclerView
- android:id="@+id/kau_recycler"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/kau_toolbar" />
-
-</android.support.constraint.ConstraintLayout>