SlideLayout for Xamarin.Android
SlideLayout' children view can drag!!
Allow Directions All, Vertical, Horizontal, Top, Bottom, Left, Right.
- MonoAndroid7.0 (if older version? should update Xamarin.Android)
Install-Package Meilcli.Android.SlideLayout
How use in your Project? see sample AndroidSlideLayout.App!!!
First, add this code to root layout in xml
xmlns:app="http://schemas.android.com/apk/res-auto"
Second, add SlideLayout and child view in xml
<androidslidelayout.SlideLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
app:draggable_all_direction="true" />
</androidslidelayout.SlideLayout>
Set draggable_*_direction in SlideLayout's child view
app:draggable_all_direction="true"
app:draggable_vertical_direction="true"
app:draggable_horizontal_direction="true"
app:draggable_top_direction="true"
app:draggable_bottom_direction="true"
app:draggable_left_direction="true"
app:draggable_right_direction="true"
See sample
This library is under MIT License.
This library use Xamarin.Android.Support Library
Xamarin.Android.Support is under MIT License
Copyright (c) .NET Foundation Contributors
This library use code that ported from FrameLayout to Xamarin
FrameLayout is under Apache License v2
Copyright (C) 2006 The Android Open Source Project