/Blinds

Fold your views like Blinds .

Primary LanguageJava

Blinds

Download

Fold your views like Blinds .

Blinds Blinds

Use

implementation 'com.lovejjfg.blinds:blinds:lastedversion'

xml:

    <com.lovejjfg.blinds.BlindsLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/blinds"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:blindsFold="true"
        app:blindsFraction="60%"
        app:blindsMaxCount="4"
        app:blindsRevertDraw="true"
        tools:context="com.lovejjfg.demo.MainActivity">

code:

    blinds4.orientation = RIGHT
    blinds4.maxCount = 4
    blinds4.extraSpace = 20
    blinds4.isRevertDraw = true
    blinds4.setAnimationDuration(1000)
    blinds4.setInterpolator(BounceInterpolator())

Release

  • 0.0.1

    • support fold fraction and fold orientation
  • 0.0.2

    • add field isRevertDraw