Android library which allows you to swipe down from an activity to close it.

Overview

Android Sliding Activity Library

Preview Preview Landscape Preview Inbox Animation

Easily create activities that can slide vertically on the screen and fit well into the Material Design age.

Features

Sliding activities allow for you to easily set header content, menus, and data onto a slidable screen. The library currently supports a variety of custom features that allow you to make the screen unique. Currently support are the following:

  • Set the title and have this title shrink into the toolbar as you scroll
  • Set a header image that disappears into the toolbar as you scroll
  • Set colors that will affect the header and status bar color
  • Add a floating action button to the bottom of the header that will animate and show/hide itself at the correct time
  • Disable the header and show only content that is scrollable
  • Works with PeekView out of the box, to provide a "3D Touch" effect on your views. See example usage in the TalonActivity sample.

Preview Talon/PeekView

Installation

Include the following in your gradle script:

dependencies {
    compile 'com.klinkerapps:sliding-activity:1.5.2'
}

and resync the project.

Example Usage

Sliding activities are very easy to implement. Here is a simple example:

public class NormalActivity extends SlidingActivity {

    @Override
    public void init(Bundle savedInstanceState) {
        setTitle("Activity Title");

        setPrimaryColors(
                getResources().getColor(R.color.primary_color),
                getResources().getColor(R.color.primary_color_dark)
        );

        setContent(R.layout.activity_content);
    }
}

This will create an activity with the given title, the primary colors, and whatever is included in the activity_content layout.

You also need to reference the activity into your AndroidManifest.xml:

<activity
    android:name=".NormalActivity"
    android:excludeFromRecents="true"
    android:taskAffinity=""
    android:theme="@style/Theme.Sliding.Light"/>

More Details: First, extend SlidingActivity. Instead of overriding onCreate(), instead override init() and set all of your options for the app there. These options include:

  • setTitle()
  • setImage()
  • setContent()
  • setPrimaryColors()
  • setFab()
  • disableHeader()
  • enableFullscreen()

More examples of possible activities can be found in the sample application and code snippets will be shown below.

You can configure the scroller before it's initialised by overriding configureScroller(scroller)

@Override
    protected void configureScroller(MultiShrinkScroller scroller) {
        super.configureScroller(scroller);
        scroller.setIntermediateHeaderHeightRatio(1);
    }

Activity Options

Most activity options should be implemented inside init(). You can implement setImage() anywhere after init(), but none of the others should be outside of this method.

setTitle()

Setting the title so that it fades into the toolbar as the scrolling occurs is very easy. You can either do:

setTitle(R.string.title);

or

setTitle("Activity Title");

setImage()

You can either set a drawable resource id or a bitmap as the image:

setImage(R.drawable.header_image);
setImage(mBitmap);

When setting the image for the image, there are two options:

  1. Set it inside init()
  2. Set it outside init()

Both of these have very different functionality, so it is important to understand the difference.

If you have a drawable included in your project or already have a bitmap loaded in memory, then it would be best to set the image inside of init(). This will cause the activity colors to change based off of the image and it will show the image when the activity is scrolling up from the bottom.

If you need to load the image from a url or memory, you should not do this on the main thread. This means you need to set it after you've already initialized the activity. When doing this, the image will be animated in with a circular reveal animation (for lollipop+ users) or a fade in animation. Also, the activity will not look at the image and extract colors from it. It will instead use whatever colors you've set as your primary colors.

setContent()

Setting content is handled the same way as setting content in a normal activity. You can either pass a layout resource id or a View:

setContent(R.layout.activity_layout);
setContent(mView);

After you have set the content, it will be available with findViewById(), same as it would with a normal activity.

setPrimaryColors()

The primary color will be used to color the header when no image is present and the primary color dark will be used to color the status bar when the activity has been scrolled all the way to the top of the screen.

setPrimaryColors(primaryColor, primaryColorDark);

One thing to note here, setting an image inside of init() will override these colors. If you wish to continue specifying your own custom colors instead of using the image's extracted colors, call setPrimaryColors() AFTER setImage().

setFab()

A floating action button can be shown at the bottom of the expanded toolbar and acted on if you need that for your activity.

setFab(mBackgroundColor, R.drawable.fab_image, onClickListener);

When the user scrolls and the header begins to shrink, the FAB will be hidden from view. When the header has returned to its original size, the FAB will be shown again.

disableHeader()

If you would like to not show the header on the screen and only have your scrolling content animate up, you can call disableHeader() inside init().

enableFullscreen()

If you would like to not have the scrolling content animate up onto the screen and leave a little bit of extra room at the top, you can call enableFullscreen() inside init(). After doing this, the activity can still be slid down to dismiss it.

expandFromPoints(int,int,int,int)

This property creates an Inbox style expansion from anywhere on the screen. As with many methods, the parameters are left offset, top offset, width, and height, which describe the size of the box that you want to expand from.

Intent intent = getIntent();
if (intent.getBooleanExtra(SampleActivity.ARG_USE_EXPANSION, false)) {
    expandFromPoints(
            intent.getIntExtra(SampleActivity.ARG_EXPANSION_LEFT_OFFSET, 0),
            intent.getIntExtra(SampleActivity.ARG_EXPANSION_TOP_OFFSET, 0),
            intent.getIntExtra(SampleActivity.ARG_EXPANSION_VIEW_WIDTH, 0),
            intent.getIntExtra(SampleActivity.ARG_EXPANSION_VIEW_HEIGHT, 0)
    );
}

My suggestion: in the SampleActivity.addExpansionArgs(Intent) function, you can see that I pass the expansion parameters as extras on the intent. I would recommend using this method to pass the view from the activity under the SlidingActivity, to the SlidingActivity.

Theming

Two themes are included with the library that are specifically created for a SlidingActivity. You can use either Theme.Sliding or Theme.Sliding.Light when registering your sliding activity in the AndroidManifest.xml file. You can also use these themes as a parent to your own custom themes and use those instead if you would like.

Current Apps Using Sliding Activities

If you're using the library and want to be included in the list, email me at [email protected] and I'll get your app added to the list!

APK Download

If you'd like to check out the sample app first, you can download an APK here.

YouTube

Much higher quality than the GIFs above and more options shown: https://www.youtube.com/watch?v=fWcmy7q09aM

Contributing

Please fork this repository and contribute back using pull requests. Features can be requested using issues. All code, comments, and critiques are appreciated.

Changelog

The full changelog for the library can be found here.

Credits

Credit to the good folks who work on Android. In the contacts app on Lollipop, there is a quick contact activity that was the base implementation for this library. Check it out here.

License

Copyright (C) 2016 Jacob Klinker

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.
Comments
  • Recycler view is not scrolling inside the Sliding Activity

    Recycler view is not scrolling inside the Sliding Activity

    I have added a fragment inside my SlidingActivity. Inside the fragment, there is a RecyclerView. Now the recycler view is not scrolling inside the sliding activity but if I add this fragment to an AppCompatActivity, then the scrolling is working fine.

    duplicate 
    opened by koleshop 5
  • Translucent header, how disable?

    Translucent header, how disable?

    Hello! Thanks you, for your awesome work! I use your library and i have transperent header (+fab) :(

    2015-08-31 03-19-32

    How i can remove transparency from header?

    My Activity have only 3 lines: setTitle(app.getTitle()); setPrimaryColors(R.color.primary, R.color.primary_dark); setContent(R.layout.activity_detail);

    R.color.primary - not transperent :o

    opened by objque 3
  • Crash when opening SlidingActivity from Widget

    Crash when opening SlidingActivity from Widget

    This only happens when the app isn't active. I did everything like in the ReadMe and I'm opening the activity from the widget via a PendingIntent. Do I have to add sth special to the Intent, do I have to change something in the Manifest or what did I wrong?

    opened by jlelse 3
  • Crash while inflating XML

    Crash while inflating XML

    java.lang.RuntimeException: Unable to start activity ComponentInfo{me.seasonyuu.douban.movie/me.seasonyuu.douban.movie.ui.ViewMovieActivity}: android.view.InflateException: Binary XML file line #51: Binary XML file line #18: Error inflating class com.klinker.android.sliding.TouchlessScrollView
                 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2760)
                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2846)
                 at android.app.ActivityThread.-wrap12(ActivityThread.java)
                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1550)
                 at android.os.Handler.dispatchMessage(Handler.java:102)
                 at android.os.Looper.loop(Looper.java:154)
                 at android.app.ActivityThread.main(ActivityThread.java:6322)
                 at java.lang.reflect.Method.invoke(Native Method)
                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
              Caused by: android.view.InflateException: Binary XML file line #51: Binary XML file line #18: Error inflating class com.klinker.android.sliding.TouchlessScrollView
              Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class com.klinker.android.sliding.TouchlessScrollView
              Caused by: java.lang.reflect.InvocationTargetException
                 at java.lang.reflect.Constructor.newInstance0(Native Method)
                 at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
                 at android.view.LayoutInflater.createView(LayoutInflater.java:645)
                 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:787)
                 at android.view.LayoutInflater.parseInclude(LayoutInflater.java:964)
                 at android.view.LayoutInflater.rInflate(LayoutInflater.java:854)
                 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
                 at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
                 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
                 at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
                 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
                 at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
                 at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
                 at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
                 at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:292)
                 at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
                 at com.klinker.android.sliding.SlidingActivity.onCreate(SlidingActivity.java:107)
                 at android.app.Activity.performCreate(Activity.java:6760)
                 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)
                 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2713)
                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2846)
                 at android.app.ActivityThread.-wrap12(ActivityThread.java)
                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1550)
                 at android.os.Handler.dispatchMessage(Handler.java:102)
                 at android.os.Looper.loop(Looper.java:154)
                 at android.app.ActivityThread.main(ActivityThread.java:6322)
                 at java.lang.reflect.Method.invoke(Native Method)
                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
              Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 13: TypedValue{t=0x2/d=0x7f03007c a=-1}
                 at android.content.res.TypedArray.getDrawable(TypedArray.java:925)
                 at android.view.View.<init>(View.java:4213)
                 at android.view.ViewGroup.<init>(ViewGroup.java:579)
                 at android.widget.FrameLayout.<init>(FrameLayout.java:92)
                 at android.widget.ScrollView.<init>(ScrollView.java:184)
                 at android.widget.ScrollView.<init>(ScrollView.java:180)
                 at com.klinker.android.sliding.TouchlessScrollView.<init>(TouchlessScrollView.java:57)
    E/AndroidRuntime:     at com.klinker.android.sliding.TouchlessScrollView.<init>(TouchlessScrollView.java:47)
                                                                                   	... 29 more
    
    compileSdkVersion 25
    buildToolsVersion "25.0.3"
    
    implementation 'com.android.support:appcompat-v7:25.4.0'
    

    Code of Activity

    class ViewMovieActivity : SlidingActivity() {
    
        override fun init(savedInstanceState: Bundle?) {
            setContent(R.layout.activity_view_movie)
        }
    }
    
    opened by seasonyuu 2
  • Cannot start this animator on a detached view

    Cannot start this animator on a detached view

    When I open the activity from a RecyclerView works ok, but when I open it again with the same image drops an IllegalStateException. I add the Logcat:

     Caused by: java.lang.IllegalStateException: Cannot start this animator on a detached view!
    at android.view.RenderNode.addAnimator(RenderNode.java:817)
    at android.view.RenderNodeAnimator.setTarget(RenderNodeAnimator.java:300)
    at android.view.RenderNodeAnimator.setTarget(RenderNodeAnimator.java:282)
    at android.animation.RevealAnimator.<init>(RevealAnimator.java:37)
    at android.view.ViewAnimationUtils.createCircularReveal(ViewAnimationUtils.java:53)
    at com.klinker.android.sliding.SlidingActivity.setImage(SlidingActivity.java:345)
    at com.vvss.noticiasanime.DetailNewDark$2$override.onResourceReady(DetailNewDark.java:129)
    at com.vvss.noticiasanime.DetailNewDark$2$override.access$dispatch(DetailNewDark.java)
    at com.vvss.noticiasanime.DetailNewDark$2.onResourceReady(DetailNewDark.java:0)
    at com.vvss.noticiasanime.DetailNewDark$2.onResourceReady(DetailNewDark.java:126)
    at com.bumptech.glide.request.GenericRequest.onResourceReady(GenericRequest.java:525)
    

    I add my code:

    target = new SimpleTarget<Bitmap>() {
                @Override
                public void onResourceReady(Bitmap resource, GlideAnimation<? super Bitmap> glideAnimation) {
                    setImage(resource);           
                }
            };
    
    

    Seems that the problem is in the setImage() :

    public void setImage(Bitmap bitmap) {
    
            photoView.setImageBitmap(bitmap);
    
            if (isStarting) {
                Palette palette = Palette.from(bitmap).generate();
                setPrimaryColors(palette.getVibrantColor(DEFAULT_PRIMARY_COLOR),
                        palette.getDarkVibrantColor(DEFAULT_PRIMARY_DARK_COLOR));
            } else {
                photoViewTempBackground.setBackgroundDrawable(photoView.getBackground());
                photoViewTempBackground.setVisibility(View.VISIBLE);
    
                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
                    final int cx = (int) photoView.getX() + photoView.getMeasuredWidth() / 2;
                    final int cy = (int) photoView.getY() + photoView.getMeasuredHeight() / 2;
                    final int finalRadius = photoView.getWidth();
    
    
                    Animator anim = ViewAnimationUtils.createCircularReveal(photoView, cx, cy,
                            0, finalRadius);
                    anim.setDuration(500);
                    anim.addListener(new AnimatorListenerAdapter() {
                        @Override
                        public void onAnimationEnd(Animator animation) {
                            super.onAnimationEnd(animation);
                            photoViewTempBackground.setVisibility(View.GONE);
                        }
                    });
                    anim.start();
    
    
                } else {
                    photoView.setAlpha(0f);
                    photoView.animate()
                            .alpha(1f)
                            .setListener(new AnimatorListenerAdapter() {
                                @Override
                                public void onAnimationEnd(Animator animation) {
                                    super.onAnimationEnd(animation);
                                    photoView.setAlpha(1f);
                                    photoViewTempBackground.setVisibility(View.GONE);
                                }
                            })
                            .start();
                }
            }
        }
    

    Specially in the line Animator anim = ViewAnimationUtils.createCircularReveal(photoView, cx, cy, 0, finalRadius);. How can I solve it? Thanks.

    opened by VictorBG 2
  • Getting error in SlidingActiving

    Getting error in SlidingActiving

    Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class com.klinker.android.sliding.TouchlessScrollView

    Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f010000 a=-1}

    opened by kunal131987 2
  • Disable scroll on WebView

    Disable scroll on WebView

    Can't not scroll content on WebView

    public void init(Bundle bundle) {
        disableHeader();
        setPrimaryColors(getResources().getColor(R.color.app_theme), getResources().getColor(R.color.app_theme));
        mWebView = new WebView(this);
        WebSettings settings = mWebView.getSettings();
        settings.setJavaScriptEnabled(true);
        settings.setUseWideViewPort(true);
        settings.setSupportZoom(false);
        settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
        settings.setBuiltInZoomControls(false);
        settings.setDomStorageEnabled(true);
        settings.setLoadWithOverviewMode(true);
    
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB && Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) {
            mWebView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);
        }
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            mWebView.getSettings().setLayoutAlgorithm(WebSettings.LayoutAlgorithm.TEXT_AUTOSIZING);
        } else {
            mWebView.getSettings().setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL);
        }
        mWebView.setVerticalScrollBarEnabled(true);
                mWebView.loadUrl("http://weixin.qq.com/agreement?lang=zh_CN");
    
        setContent(mWebView);
    }
    
    opened by darin-lao 2
  • Any way to minimise and activity than destroy it by swiping down?

    Any way to minimise and activity than destroy it by swiping down?

    Is there any way to utilise this library or extend it to only minimise an activity on swipe down and keep as a snackbar when swiped down? I'm talking about similar functionality to youtube app where if you swipe down while watching a video, you can view other video lists while the currently playing video is minimised but not stopped.

    opened by jacob-abe 1
  • Coordinator layout appbar scroll behavior not working in sliding activity

    Coordinator layout appbar scroll behavior not working in sliding activity

    i have a recycler view below the appbar layout. The same is working in appCompatactivity but not in sliding activity. The recycler view isnt scrolling. i have also set recycler view to wrap_content

    opened by apgapg 1
  • How to change title color manipulate with imageView of slider?

    How to change title color manipulate with imageView of slider?

    How to change title color manipulate with imageView of slider?

    <style name="Theme.MyGreenTheme" parent="Theme.Sliding.Light"> <item name="android:titleTextColor">@color/colorAccent</item> </style>

    Thank you for the greatest lib I ever see. Just have this question

    opened by gigantz 1
  • How to add fab at bottom of the screen in Sliding Activity like a fab in cordinator layout?

    How to add fab at bottom of the screen in Sliding Activity like a fab in cordinator layout?

    @klinker41 please help me . I tried using cordinator layout as the sliding Activity content and kept FAB in that cordinator layout. But as activity scrolls, fab also scrolling up and down.

    opened by codeByAvi 1
  • Cannot set 'scaleX' to Float.NaN

    Cannot set 'scaleX' to Float.NaN

    Im using the latest android studio version and gradle and this exception happened.

    E/AndroidRuntime: FATAL EXCEPTION: main Process: com.tajos.iccnotes, PID: 28374 java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN at android.view.View.sanitizeFloatPropertyValue(View.java:18167) at android.view.View.sanitizeFloatPropertyValue(View.java:18141) at android.view.View.setScaleX(View.java:17494) at com.klinker.android.sliding.MultiShrinkScroller.updateHeaderTextSizeAndMargin(MultiShrinkScroller.java:1304) at com.klinker.android.sliding.MultiShrinkScroller.setHeaderHeight(MultiShrinkScroller.java:974) at com.klinker.android.sliding.MultiShrinkScroller$8.run(MultiShrinkScroller.java:372) at com.klinker.android.sliding.SchedulingUtils$1.onPreDraw(SchedulingUtils.java:39) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1102) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3310) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2200) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8999) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:996) at android.view.Choreographer.doCallbacks(Choreographer.java:794) at android.view.Choreographer.doFrame(Choreographer.java:729) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:981) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:7814) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

    opened by DareAngeL 0
  • Illegal argument exception in scaleX

    Illegal argument exception in scaleX

    After updating android support libraries to AndroidX library crashes when starting SlidingActivity. Library crashes in MultiShrinkScroller class when passing NaN to scaleX method. Please consider updating a library to prevent apps using your library from crashing. I try fx below and app is working just fine with this change. try { largeTextView.setScaleX(scale); largeTextView.setScaleY(scale); } catch (IllegalArgumentException ignored) {} Thanks.

    opened by cernfr1993 0
  • No option to restrict scroll height

    No option to restrict scroll height

    I am using content description and below content description, I am using tabLayout. I want the behavior when user scroll up the sliding activity then it should only scroll until the tabLayout comes, once tabLayout comes at the top then I want to stop the scrolling of Sliding activity

    opened by ghost 0
  • Possible to customize FAB?

    Possible to customize FAB?

    I would like to use one of the various "FAB progress" libraries that allow you to either wrap an existing FAB object, such as this one or use the library directly as a FAB object, such as this one.

    The SlidingActivity appears to handle the lifecycle of all its views directly (which is very convenient for the most part); I do not see a way to easily customize the FAB or any other view for that matter, other than the normal setContent().

    I attempted the following in init(), and it "works" in the sense that it does not crash, but it loses all the layout information of the FAB, which now appears in the top-left corner. With more work I could probably get it fairly well integrated, but it would be nicer to have a first-party solution.

            val fab = findViewById(R.id.fab)
            val fabParent = fab.parent as ViewGroup
            fabParent.removeView(fab)
    
            val fabWrapper = FABProgressCircle(this)
            fabWrapper.addView(fab)
            fabParent.addView(fabWrapper)
    

    Is there a good way to use SlidingActivity with these kinds of extras?

    opened by thirtythreeforty 1
  • Best way to remove image

    Best way to remove image

    Hello, what's the best way to remove an image after you've set it using setImage(...) ?

    Using setImage(null) throws java.lang.RuntimeException: [...] java.lang.IllegalArgumentException: Bitmap is not valid

    opened by AngeloAvv 0
Owner
Jake Klinker
Founder of @klinker-apps, now building cool stuff at @google.
Jake Klinker
Simple tool which help you to implement activity and fragment transition for pre-Lollipop devices.

PreLollipopTransition Simple tool which help you to implement activity and fragment transition for pre-Lollipop devices. Download In your app build.gr

Takahiro Menju 1.3k Nov 28, 2022
Lightweight Android library for cool activity transition animations

Bungee min SDK 16 (Android Jellybean 4.1) written in Java A lightweight, easy-to-use Android library that provides awesome activity transition animati

Dean Spencer 172 Nov 18, 2022
A simple and customizable Android full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" gestures

Stfalcon ImageViewer A simple and customizable full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" g

Stfalcon LLC 1.9k Jan 5, 2023
[] An Android library which allows developers to easily add animations to ListView items

DEPRECATED ListViewAnimations is deprecated in favor of new RecyclerView solutions. No new development will be taking place, but the existing versions

Niek Haarman 5.6k Dec 30, 2022
🌠 Transform into a different view or activity using morphing animations.

TransformationLayout ?? Transform into a different view or activity using morphing animations. Using Transformation motions of new material version. D

Jaewoong Eum 2k Jan 3, 2023
Easily add slide to dismiss functionality to an Activity

Slidr Easily add slide-to-dismiss functionality to your Activity by calling Slidr.attach(this) in your onCreate(..) method. Usage An example usage: pu

Drew Heavner 2.7k Jan 6, 2023
Wave effect of activity animation

WaveCompat Wave effect of activity animation How to use 1. Bind wave touch helper to a view which will start an activity when it clicked: WaveTouchHel

WangJie 348 Nov 29, 2022
This is a simple util to create Activity transition animation

TransitionHelper This is a simple util to create Activity transition animation API compatible with Android 2.2+ 中文说明 Screenshots How to use 1.startAct

ImmortalZ 1.6k Dec 12, 2022
A lightweight android library that allows to you create custom fast forward/rewind animations like on Netflix.

SuperForwardView About A lightweight android library that allows to you create custom fast forward/rewind animations like on Netflix. GIF Design Credi

Ertugrul 77 Dec 9, 2022
🪐 Jetpack Compose animation library that allows you to implement animations such as shared element transition.

Orbitary ?? Jetpack Compose animation library that allows you to implement animations such as shared element transition. Download Gradle Add the depen

Jaewoong Eum 503 Dec 30, 2022
🪐 Jetpack Compose animation library that allows you to implement animations such as shared element transition.

?? Jetpack Compose animation library that allows you to implement animations such as shared element transition.

Jaewoong Eum 504 Jan 2, 2023
Road Runner is a library for android which allow you to make your own loading animation using a SVG image

Road Runner Road Runner is a library for android which allow you to make your own loading animation using a SVG image Sample video View in Youtube Dem

Adrián Lomas 1.2k Nov 18, 2022
Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API

What is Postman? Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API Usage P

Cafer Mert Ceyhan 129 Dec 24, 2022
Android Country Picker is a Kotlin-first, flexible and powerful Android library that allows to integrate Country Picker with just a few lines.

1. Add dependency dependencies { implementation 'com.hbb20:android-country-picker:X.Y.Z' } For latest version, 2. Decide your use-case

Harsh B. Bhakta 65 Dec 6, 2022
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.

The article on how this library was created is now published. You can read it on this link here. →. ?? EasyFlipView Built with ❤︎ by Wajahat Karim and

Wajahat Karim 1.3k Dec 14, 2022
EtsyBlur is an Android library that allows developers to easily add a glass-like blur effect implemented in the Etsy app.

EtsyBlur EtsyBlur is an Android library that allows developers to easily add a glass-like blur effect implemented in the past Etsy app. Try out the sa

Manabu S. 755 Dec 29, 2022
💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.

?? Rich Android Path. ?? Draw as you want. ?? Animate much as you can. Download sample app: Features Full Animation Control on Paths and VectorDrawabl

Ahmed Tarek 2.3k Dec 20, 2022
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Burhanuddin Rashid 1k Jan 1, 2023
You don’t want your apps look and feel boring, do you? Add some bubbles!

#BubbleAnimationLayout Say hello to Bubble Animation Layout for Android by Cleveroad You don’t want your apps look and feel boring, do you? Add some b

Cleveroad 576 Nov 23, 2022