update:2020.04.22
fix: add:
This commit is contained in:
39
RecyclerBanner/src/main/res/values/attr.xml
Normal file
39
RecyclerBanner/src/main/res/values/attr.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<attr name="interval" format="integer"/>
|
||||
<attr name="showIndicator" format="boolean"/>
|
||||
<attr name="orientation" format="enum">
|
||||
<enum name="horizontal" value="0"/>
|
||||
<enum name="vertical" value="1"/>
|
||||
</attr>
|
||||
<attr name="autoPlaying" format="boolean"/>
|
||||
<declare-styleable name="RecyclerViewBannerBase">
|
||||
<attr name="interval"/>
|
||||
<attr name="showIndicator" />
|
||||
<attr name="orientation" />
|
||||
<attr name="autoPlaying"/>
|
||||
<attr name="indicatorSelectedSrc" format="color|reference"/>
|
||||
<attr name="indicatorUnselectedSrc" format="color|reference"/>
|
||||
<attr name="indicatorSpace" format="dimension|reference"/>
|
||||
<attr name="indicatorMarginLeft" format="dimension|reference"/>
|
||||
<attr name="indicatorMarginRight" format="dimension|reference"/>
|
||||
<attr name="indicatorMarginBottom" format="dimension|reference"/>
|
||||
<attr name="indicatorGravity" format="enum">
|
||||
<enum name="left" value="0"/>
|
||||
<enum name="center" value="1"/>
|
||||
<enum name="right" value="2"/>
|
||||
</attr>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="BannerLayout">
|
||||
<attr name="interval" />
|
||||
<attr name="showIndicator" />
|
||||
<attr name="orientation" />
|
||||
<attr name="autoPlaying"/>
|
||||
<attr name="itemSpace" format="integer"/>
|
||||
<attr name="centerScale" format="float"/>
|
||||
<attr name="moveSpeed" format="float"/>
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
</resources>
|
||||
3
RecyclerBanner/src/main/res/values/strings.xml
Normal file
3
RecyclerBanner/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">library</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user