Skip to content
プロジェクト

概要

Android標準Viewに角丸長方形の背景を簡単かつ手軽に設定でき、関連するshapeリソースも削減できるライブラリです。

学習・教育

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…