Files
brave-core/android/java/res/values/shimmer_attrs.xml
T
Simone Arpe 43321aacfb Integrate Shimmer library source code (#18618)
Adds a reduced and improved version of the Shimmer library
2023-05-26 09:47:07 +02:00

38 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ShimmerFrameLayout">
<attr name="shimmer_clip_to_children" format="boolean"/>
<attr name="shimmer_colored" format="boolean"/>
<attr name="shimmer_base_color" format="color"/>
<attr name="shimmer_highlight_color" format="color"/>
<attr name="shimmer_base_alpha" format="float"/>
<attr name="shimmer_highlight_alpha" format="float"/>
<attr name="shimmer_auto_start" format="boolean"/>
<attr name="shimmer_duration" format="integer"/>
<attr name="shimmer_repeat_count" format="integer"/>
<attr name="shimmer_repeat_delay" format="integer"/>
<attr name="shimmer_repeat_mode" format="enum">
<enum name="restart" value="1"/>
<enum name="reverse" value="2"/>
</attr>
<attr name="shimmer_start_delay" format="integer"/>
<attr name="shimmer_direction" format="enum">
<enum name="left_to_right" value="0"/>
<enum name="top_to_bottom" value="1"/>
<enum name="right_to_left" value="2"/>
<enum name="bottom_to_top" value="3"/>
</attr>
<attr name="shimmer_dropoff" format="float"/>
<attr name="shimmer_fixed_width" format="dimension"/>
<attr name="shimmer_fixed_height" format="dimension"/>
<attr name="shimmer_intensity" format="float"/>
<attr name="shimmer_width_ratio" format="float"/>
<attr name="shimmer_height_ratio" format="float"/>
<attr name="shimmer_shape" format="enum">
<enum name="linear" value="0"/>
<enum name="radial" value="1"/>
</attr>
<attr name="shimmer_tilt" format="float"/>
</declare-styleable>
</resources>