Skip to content

hdheyou/SuspendedBall

 
 

Repository files navigation

SuspendedBall

悬浮球

效果图

app:showPercent="1"

image image

app:showPercent="0.5"

image image

##使用 <com.dalong.suspendlayout.SuspendLayout 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" tools:context="com.dalong.suspendedball.MainActivity">

        <WebView
            android:id="@+id/webview"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />
    
        <ImageView
            android:src="@mipmap/feitian"
            android:visibility="visible"
            android:layout_alignParentBottom="true"
            android:layout_alignParentRight="true"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />
    
    </com.dalong.suspendlayout.SuspendLayout>

##Attributes

name format description
showPercent float 设置显示百分比

##gradle

dependencies {
     compile 'com.dalong:suspendlayout:1.0.0'
}

About

悬浮球

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%