app/src/main/res/values/attrs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ImageCarousel">
<attr name="showCaption" format="boolean" />
<attr name="captionTextSize" format="dimension" />
<attr name="showIndicator" format="boolean" />
<attr name="showNavigationButtons" format="boolean" />
<attr name="imageScaleType" format="enum">
<enum name="matrix" value="0" />
<enum name="fitXY" value="1" />
<enum name="fitStart" value="2" />
<enum name="fitCenter" value="3" />
<enum name="fitEnd" value="4" />
<enum name="center" value="5" />
<enum name="centerCrop" value="6" />
<enum name="centerInside" value="7" />
</attr>
<attr name="imagePlaceholder" format="reference|color" />
<attr name="itemLayout" format="reference" />
<attr name="imageViewId" format="reference" />
<attr name="showLayoutSwitchButton" format="boolean" />
<attr name="layoutCarousel" format="boolean" />
</declare-styleable>
</resources>