GithubHelp home page GithubHelp logo

03050903 / flycoroundview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h07000223/flycoroundview

0.0 2.0 0.0 393 KB

A library helps Android built-in views easy and convenient to set round rectangle background and accordingly related shape resources can be reduced.

License: MIT License

Java 100.00%

flycoroundview's Introduction

#FlycoRoundView A library helps Android built-in views easy and convenient to set round rectangle background and accordingly related shape resources can be reduced. 一个扩展原生控件支持圆角矩形框背景的库,可以减少相关shape资源文件使用. ##Demo

##Gradle

dependencies{
    compile 'com.flyco.roundview:FlycoRoundView_Lib:1.1.4@aar'
}

###Attributes

name format description
rv_backgroundColor color background color
rv_backgroundPressColor color background press color
rv_cornerRadius dimension background rectangle corner radius,unit dp
rv_strokeWidth dimension background rectangle stroke width,unit dp
rv_strokeColor color background rectangle stroke color
rv_strokePressColor color background rectangle stroke press color
rv_textPressColor color text press color
rv_isRadiusHalfHeight boolean corner radius is half of height
rv_isWidthHeightEqual boolean width and height is the same size which is the max value of them
rv_cornerRadius_TL dimension corner radius top left,unit dp
rv_cornerRadius_TR dimension corner radius top right,unit dp
rv_cornerRadius_BL dimension corner radius bottom left,unit dp
rv_cornerRadius_BR dimension corner radius bottom right,unit dp
rv_isRippleEnable boolean is ripple effect enable for Api21+

flycoroundview's People

Contributors

h07000223 avatar

Watchers

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