-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
/
attrs.xml
33 lines (32 loc) · 1.59 KB
/
attrs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="lottieAnimationViewStyle" format="reference" />
<declare-styleable name="LottieAnimationView">
<attr name="lottie_fileName" format="string" />
<attr name="lottie_rawRes" format="reference" />
<attr name="lottie_url" format="string" />
<attr name="lottie_fallbackRes" format="reference" />
<attr name="lottie_autoPlay" format="boolean" />
<attr name="lottie_loop" format="boolean" />
<attr name="lottie_repeatMode" format="enum">
<enum name="restart" value="1" />
<enum name="reverse" value="2" />
</attr>
<attr name="lottie_repeatCount" format="integer" />
<attr name="lottie_imageAssetsFolder" format="string" />
<attr name="lottie_progress" format="float" />
<attr name="lottie_enableMergePathsForKitKatAndAbove" format="boolean" />
<attr name="lottie_colorFilter" format="color" />
<attr name="lottie_scale" format="float" />
<attr name="lottie_speed" format="float" />
<attr name="lottie_cacheComposition" format="boolean" />
<attr name="lottie_ignoreDisabledSystemAnimations" format="boolean" />
<!-- These values must be kept in sync with the RenderMode enum -->
<attr name="lottie_renderMode" format="enum">
<enum name="automatic" value="0" />
<enum name="hardware" value="1" />
<enum name="software" value="2" />
</attr>
<attr name="lottie_clipToCompositionBounds" format="boolean" />
</declare-styleable>
</resources>