All Projects → zhanzengyu → WechatPopupWindow

zhanzengyu / WechatPopupWindow

Licence: Apache-2.0 license
高仿微信聊天界面长按弹框样式

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to WechatPopupWindow

double-avatar-view
Instagram-like double avatar view with cropping
Stars: ✭ 31 (-56.34%)
Mutual labels:  custom-view, customviews, customview, custom-views
Basepopup
Android下打造通用便捷的PopupWindow弹窗库
Stars: ✭ 4,603 (+6383.1%)
Mutual labels:  popup-window, popup, popupwindow
Xpopup
🔥XPopup2.0版本重磅来袭,2倍以上性能提升,带来可观的动画性能优化和交互细节的提升!!!功能强大,交互优雅,动画丝滑的通用弹窗!可以替代Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner等组件,自带十几种效果良好的动画, 支持完全的UI和动画自定义!(Powerful and Beautiful Popup for Android,can absolutely replace Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner. With built-in animators , very easy to custom popup v…
Stars: ✭ 6,106 (+8500%)
Mutual labels:  popup-window, popup, popupwindow
ToolTipPopupWordTV
ToolTipopupWordTV is an Open Source Android library that allows developers to easily open a popup with details by select a word from a textview.
Stars: ✭ 41 (-42.25%)
Mutual labels:  popup-window, popup, popwindow
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-54.93%)
Mutual labels:  popup-window, popup
Chat-Bot
Chatbot – is a computer program that simulates a natural human conversation. Users communicate with a chatbot via the chat interface or by voice, like how they would talk to a real person.
Stars: ✭ 26 (-63.38%)
Mutual labels:  popup-window, chatapp
AckBar
AckBar is a very lightweight and customizable android library to display brief message to user.
Stars: ✭ 14 (-80.28%)
Mutual labels:  popup-window, popupwindow
React New Window
🔲 Pop new windows in React, using `window.open`.
Stars: ✭ 281 (+295.77%)
Mutual labels:  popup-window, popup
Popbox.js
A tiny and simple stackable modal plugin for web apps
Stars: ✭ 295 (+315.49%)
Mutual labels:  popup-window, popup
Popupwindow
PopupWindow is a simple Popup using another UIWindow in Swift
Stars: ✭ 401 (+464.79%)
Mutual labels:  popup-window, popup
Needs
🌂 An easy way to implement modern permission instructions popup.
Stars: ✭ 546 (+669.01%)
Mutual labels:  popup-window, popup
Powermenu
🔥 The powerful and easiest way to implement modern material popup menu.
Stars: ✭ 822 (+1057.75%)
Mutual labels:  popup-window, popup
Colorseekbar
A colorful SeekBar for picking color
Stars: ✭ 249 (+250.7%)
Mutual labels:  custom-view, customview
Wpopup
一个简单使用并且高度定制的Popupwindow。超简单实现朋友圈点赞效果,并且只用一个WPopup!完全不用担心复用问题!点击切换动画效果等!
Stars: ✭ 269 (+278.87%)
Mutual labels:  popup-window, popup
Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+1985.92%)
Mutual labels:  custom-view, popup
Testleavesloading
Android 自定义 View 之 LeavesLoading
Stars: ✭ 55 (-22.54%)
Mutual labels:  custom-view, customview
Jalert
jQuery alert/modal/lightbox plugin
Stars: ✭ 73 (+2.82%)
Mutual labels:  popup-window, popup
Codeview Android
Display code with syntax highlighting ✨ in native way.
Stars: ✭ 748 (+953.52%)
Mutual labels:  custom-view, customview
Flutter deer
🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project. Includes a complete UI design and exercises that are closer to real projects.
Stars: ✭ 5,725 (+7963.38%)
Mutual labels:  popup-window, customview
Cdalertview
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift
Stars: ✭ 1,056 (+1387.32%)
Mutual labels:  popup-window, popup

WechatPopupWindow

高仿微信聊天界面长按弹框样式

Run Result

run result

Usage

implementation 'com.zengyu:popupwindowlist:1.0.0'
  1. do as the follow sample example show.
private PopupWindowList mPopupWindowList;
private void showPopWindows(View view){
    List<String> dataList = new ArrayList<>();
    for(int i = 0; i < 13; i++){
        dataList.add(String.valueOf(i));
    }
    if (mPopupWindowList == null){
        mPopupWindowList = new PopupWindowList(view.getContext());
    }
    mPopupWindowList.setAnchorView(view);
    mPopupWindowList.setItemData(dataList);
    mPopupWindowList.setModal(true);
    mPopupWindowList.show();
    mPopupWindowList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
        @Override
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            Log.e(TAG, "click position="+position);
            mPopupWindowList.hide();
        }
    });
}

NOTE

setAnchorView() and setItemData() is must set, or will throw Exception.

  • setAnchorView() set the view which your popwindow show.
  • setItemData() set the listview adapter data.
  • setModal() means whether make popwindow focus.
  • setOnItemClickListener() set item click listener for popwindow.
  • setPopupWindowWidth() set PopupWindow width.
  • setPopupWindowHeight() set PopupWindow height.
  • setPopAnimStyle() set PopupWindow anim style.

EXTRA

If you don't like the simple listview style, you can customize the PopupWindowList.java.

Any problem you can create issue for me.

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].