Giter Club home page Giter Club logo

qqnaviview's Introduction

QQNaviView

模仿手机QQ底部导航栏Icon拖拽效果

介绍:http://blog.csdn.net/kobeyxd123/article/details/72829288

效果图

image

Gradle

/build.gradle

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

/app/build.gradle

dependencies {
	compile 'com.github.XingdongYu:QQNaviView:v1.0.1'
}

使用

<com.robog.library.QQNaviView
	android:id="@+id/qq_view_bubble"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:gravity="center"
	app:bigIconSrc="@drawable/pre_bubble_big"
	app:smallIconSrc="@drawable/pre_bubble_small"
	app:iconWidth="50dp"
	app:iconHeight="50dp"
	app:range="1.2">

 	<TextView
		android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="12sp"
                android:text="消息"/>           

</com.robog.library.QQNaviView>

支持属性

name format description
bigIconSrc reference 大图标资源
smallIconSrc reference 小图标资源
iconWidth dimension 图标宽度
iconHeight dimension 图标高度
range float 可拖动范围

qqnaviview's People

Contributors

xingdongyu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.