All Projects → chuross → Flinglayout

chuross / Flinglayout

Licence: apache-2.0
This Layout provide fling dismiss effect like Twitter ImageView.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Flinglayout

Bifacialview
Stars: ✭ 355 (+338.27%)
Mutual labels:  imageview
Windowimageview
An ImageView display in RecyclerView, looks like window.
Stars: ✭ 699 (+762.96%)
Mutual labels:  imageview
Vimage
A simplistic image viewer for Windows, inspired by vjpeg.
Stars: ✭ 63 (-22.22%)
Mutual labels:  imageview
Avatarview
A circular Image View with a lot of perks. Including progress animation and highlight state with borders and gradient color.
Stars: ✭ 429 (+429.63%)
Mutual labels:  imageview
Dragscalecircleview
a custom view that provides dragged and scaled
Stars: ✭ 513 (+533.33%)
Mutual labels:  imageview
Googlemapview
android google map view - imageView to make the map display process easier by entering latitude and longitude only by static map
Stars: ✭ 36 (-55.56%)
Mutual labels:  imageview
Diagonal Imageview
A simple imageview which allows you to create diagonal cut views easily
Stars: ✭ 257 (+217.28%)
Mutual labels:  imageview
Blurredimageview
Blurred ImageView for your android designes
Stars: ✭ 75 (-7.41%)
Mutual labels:  imageview
Zoomlayout
2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
Stars: ✭ 688 (+749.38%)
Mutual labels:  imageview
Androidsvgloader
Android library for load svg from internet to imageview
Stars: ✭ 52 (-35.8%)
Mutual labels:  imageview
Continuousscrollableimageview
Library for animating images with continuous scrolling effects
Stars: ✭ 429 (+429.63%)
Mutual labels:  imageview
Flipview
Flipping views like Gmail & beyond
Stars: ✭ 477 (+488.89%)
Mutual labels:  imageview
Rwidgethelper
Android UI 快速开发,专治原生控件各种不服
Stars: ✭ 996 (+1129.63%)
Mutual labels:  imageview
Imageviewer
🔮图片浏览器,支持图片手势缩放、拖拽等操作,`自定义View`的模式显示,自定义图片加载方式,更加灵活,易于扩展,同时也适用于RecyclerView、ListView的横向和纵向列表模式,最低支持版本为Android 3.0及以上...
Stars: ✭ 363 (+348.15%)
Mutual labels:  imageview
Ariana
Provide Multiple Gradients in ImageViews and Texts. Integrate with ViewPager to change colors dynamically.
Stars: ✭ 74 (-8.64%)
Mutual labels:  imageview
Windowview
Android ImageView you pan by tilting your device.
Stars: ✭ 269 (+232.1%)
Mutual labels:  imageview
Circular Music Progressbar
Beautiful Circular Progress Bar with album art for android
Stars: ✭ 813 (+903.7%)
Mutual labels:  imageview
Abmediaview
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos.
Stars: ✭ 79 (-2.47%)
Mutual labels:  imageview
Android Circular Progress
Android custom view that loads a circular progress indicator using ImageView or FrameLayout
Stars: ✭ 75 (-7.41%)
Mutual labels:  imageview
Dragphotoview
仿微信图片展示
Stars: ✭ 46 (-43.21%)
Mutual labels:  imageview

FlingLayout

Recommend using Kotlin project

This Layout provide fling dismiss effect like Twitter ImageView.

Usage

see sample

This sample use PhothoView

In your layout

Single View into FlingLayout.

<com.github.chuross.flinglayout.FlingLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <!-- something view parent -->

</com.github.chuross.flinglayout.FlingLayout>

Using this layout

val flingLayout = findViewById<FlingLayout>(R.id.flinglayout)
flingLayout.dismissListener = { /** something your code **/ }

XMLAttributes

name type description etc
fl_isDragEnabled boolean
fl_isDismissEnabled boolean

Download

Gradle

  1. add JitPack repository to your project root build.gradle.
repositories {
    maven { url "https://jitpack.io" }
}
  1. add the dependency latest version:
dependencies {
    compile 'com.github.chuross:flinglayout:x.x.x'
}

License

Copyright 2017 chuross

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].