Skip to content

Commit

Permalink
新增参数,废弃旧方法
Browse files Browse the repository at this point in the history
  • Loading branch information
FJ917 committed Sep 21, 2017
1 parent 503aa74 commit 7cbad83
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions FJEditTextCountLib/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="FJEditTextCount">
<!--设置默认文字-->
<attr name="etText" format="string" />
<!--设置提示文字-->
<attr name="etHint" format="string" />
<!--设置提示文字颜色-->
<attr name="etHintColor" format="color" />
<!--设置最小高度-->
<attr name="etMinHeight" format="dimension" />
<!--设置最大长度-->
<attr name="etMaxLength" format="integer" />
<!--设置横线颜色-->
<attr name="etLineColor" format="color" />
<!--设置输入文字大小-->
<attr name="etTextSize" format="dimension" />
<!--设置输入文字颜色-->
<attr name="etTextColor" format="color" />
<!--设置提示统计文字大小-->
<attr name="etPromptTextSize" format="dimension" />
<!--设置提示统计文字颜色-->
<attr name="etPromptTextColor" format="color" />
<!--设置提示统计显示类型-->
<attr name="etType">
<!--单数类型-->
<enum name="singular" value="0" />
<!--百分比类型-->
<enum name="percentage" value="1" />
</attr>
</declare-styleable>
</resources>

0 comments on commit 7cbad83

Please sign in to comment.