Skip to content
프로젝트

소개

Android 기본 뷰에 둥근 사각형 배경을 쉽고 편리하게 설정하고, 이에 따라 관련 shape 리소스도 줄일 수 있도록 돕는 라이브러리입니다.

학습 및 교육

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

#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+

관련 프로젝트 살펴보기

불러오는 중…