Skip to content

yixiaolunhui/SuspendedBall

Repository files navigation

SuspendedBall

悬浮球

效果图

app:showPercent="1"

image image

app:showPercent="0.5"

image image

##使用

    <com.dl.draggable.DraggableFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
                        xmlns:tools="http://schemas.android.com/tools"
                        xmlns:app="http://schemas.android.com/apk/res-auto"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:orientation="vertical"
                        app:showPercent="1"
                        app:direction="all"
                        tools:context="com.dalong.suspendedball.MainActivity">
                    
                             <!- view-->
                    
    </com.dl.draggable.DraggableFrameLayout>   

##Attributes

name format description
showPercent float 设置显示百分比
direction int 方向位置显示 none left right all

About

悬浮球

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages