Commit 537c148e authored by 周文华's avatar 周文华

【新增】新增部分样式

parent e4bdfb96
......@@ -3,4 +3,39 @@
<declare-styleable name="NativeParentView">
<attr name="removeAll" format="boolean" />
</declare-styleable>
<declare-styleable name="MyProgressBar">
<attr name="progress" format="integer"/>
<attr name="max" format="integer"/>
<attr name="cRadius" format="dimension"/>
<attr name="pColor" format="color"/>
<attr name="pBgColor" format="color"/>
<attr name="pStartColor" format="color"/>
<attr name="pEndColor" format="color"/>
<attr name="pText" format="string"/>
<attr name="pTextColor" format="color"/>
<attr name="progressDirection" format="integer"/>
</declare-styleable>
<declare-styleable name="TripleSeekBar">
<attr name="default_color" format="color"/>
<attr name="selected_color" format="color"/>
<attr name="pHeight" format="dimension" />
<attr name="width" format="dimension" />
</declare-styleable>
<declare-styleable name="RoundProgressBar">
<attr name="ringColor" format="color" />
<attr name="ringProgressColor" format="color" />
<attr name="textColor" format="color" />
<attr name="ringWidth" format="dimension" />
<attr name="textSize" format="dimension" />
<attr name="maxpro" format="integer" />
<attr name="progresspro" format="integer" />
<attr name="showTextProgress" format="boolean" />
<attr name="style">
<enum name="STROKE" value="0" />
<enum name="FULL" value="1" />
</attr>
</declare-styleable>
</resources>
\ No newline at end of file
......@@ -69,4 +69,14 @@
<item name="android:textColor">#17A1FF</item>
</style>
<style name="BottomSheetDialog" parent="Theme.Design.Light.BottomSheetDialog">
<item name="bottomSheetStyle">@style/BottomSheetStyleWrapper</item>
</style>
<style name="BottomSheetStyleWrapper" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@android:color/transparent</item>
</style>
<style name="CustomDialogStyle" parent="android:Theme.Material.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment