Popularity
6.4
Stable
Activity
0.0
Stable
932
25
125

Code Quality Rank: L3
Programming language: Java
Tags: Other Widget    

MaryPopup alternatives and similar packages

Based on the "Other Widget" category.
Alternatively, view MaryPopup alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of MaryPopup or a related project?

Add another 'Other Widget' Package

README

MaryPopup

API Android Arsenal Build Status

Expand your view with no problem ;)

[intro](media/intro.gif)[fadeout](media/photo.gif)

Usage

Open marypopup from a view

MaryPopup marypopup = MaryPopup.with(context)
                        .cancellable(true)
                        .blackOverlayColor(Color.parseColor("#DD444444"))
                        .backgroundColor(Color.parseColor("#EFF4F5"))
                        .content(R.layout.popup_content)
                        .from(clickedView)
                        .show();
CustomView customView = LayoutInflater...
MaryPopup marypopup = MaryPopup.with(context)
                        .cancellable(true)
                        .blackOverlayColor(Color.parseColor("#DD444444"))
                        .backgroundColor(Color.parseColor("#EFF4F5"))
                        .content(customView)
                        .from(clickedView)
                        .show();

Center

[center](media/center.gif)

MaryPopup marypopup = MaryPopup.with(context)
                        ...
                        .center(true)
                        ...
                        .show();

Draggable

[draggable](media/draggable.gif)

MaryPopup.with(context)
      ...
      .draggable(true)
      ...
      .show();

[scaledown](media/scaledown.gif)

MaryPopup.with(context)
      ...
      .draggable(true)
      .scaleDownDragging(true);
      ...
      .show();

[fadeout](media/fadeout.gif)

MaryPopup.with(context)
      ...
      .draggable(true)
      .fadeOutDragging(true);
      ...
      .show();

Close

Don't forget to handle the activity's onBackPress

@Override
public void onBackPressed() {
    if(!marypopup.close(true)){
        super.onBackPressed();
    }
}

Download

Add into your build.gradle

Download

compile 'com.meetic.marypopup:marypopup:(last version)'
compile 'com.meetic.dragueur:dragueur:1.0.3'

Move your views with Dragueur !

Credits

A project initiated by Meetic

This project was first developed by Meetic and has been open-sourced since. We will continue working on it. We encourage the community to contribute to the project by opening tickets and/or pull requests.

[logo meetic](media/meetic.jpg)

Contributor: Florent Champigny

License

Copyright 2016 Meetic, Inc.

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 all licence references and agreements mentioned in the MaryPopup README section above are relevant to that project's source code only.