集成完直播后提交代码
This commit is contained in:
710
app/src/main/res/values/themes.xml
Normal file
710
app/src/main/res/values/themes.xml
Normal file
@@ -0,0 +1,710 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<style name="AppThemePlayer" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="colorPrimary">@color/purple_500</item>
|
||||
<item name="colorPrimaryDark">@color/purple_500</item>
|
||||
<item name="colorAccent">@color/purple_500</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="android:windowBackground">@color/white</item>
|
||||
<!-- 隐藏Activity窗口的Title标题栏 -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
<!-- <item name="android:forceDarkAllowed" tools:ignore="NewApi">true</item>-->
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<!--控制dialog进出动画-->
|
||||
<style name="dialog_animation">
|
||||
<item name="android:windowEnterAnimation">@anim/dialog_enter</item>
|
||||
<!-- 进入时的动画 -->
|
||||
<item name="android:windowExitAnimation">@anim/dialog_exit</item>
|
||||
<!-- 退出时的动画 -->
|
||||
</style>
|
||||
|
||||
<style name="AppThemeStart" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
<!-- <item name="android:windowTranslucentNavigation">true</item>-->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="colorPrimary">@color/main_color</item>
|
||||
<item name="colorPrimaryDark">@color/main_color</item>
|
||||
<item name="colorAccent">@color/main_color</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="android:windowBackground">@drawable/big_bg</item>
|
||||
<item name="android:navigationBarColor">@color/main_color</item>
|
||||
<!-- 隐藏Activity窗口的Title标题栏 -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
<!-- <item name="android:forceDarkAllowed" tools:ignore="NewApi">true</item>-->
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<style name="AppThemeLogin" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="colorPrimary">@color/black</item>
|
||||
<item name="colorPrimaryDark">@color/black</item>
|
||||
<item name="colorAccent">@color/black</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
<item name="android:navigationBarColor">@color/default_bg</item>
|
||||
|
||||
<!-- 隐藏Activity窗口的Title标题栏 -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="background">@color/default_bg</item>
|
||||
</style>
|
||||
<style name="AppThemeMain" parent="@style/Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="colorPrimary">@color/main_color</item>
|
||||
<item name="colorPrimaryDark">@color/main_color</item>
|
||||
<item name="colorAccent">@color/main_color</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
<!-- 隐藏Activity窗口的Title标题栏 -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
|
||||
<item name="android:navigationBarColor">@color/main_color1</item>
|
||||
<!-- <item name="android:windowBackground">@mipmap/big_bg</item>-->
|
||||
<item name="android:forceDarkAllowed" tools:ignore="NewApi">false</item>
|
||||
<item name="android:windowBackground">@color/main_color</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="DialogTransparentTheme" parent="android:Theme.Holo.Dialog.NoActionBar">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="dialog" parent="Theme.AppCompat.Dialog">
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:backgroundDimEnabled">true</item><!--activity是否变暗-->
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:windowIsTranslucent">false</item>
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<declare-styleable name="VideoThumbnailView">
|
||||
<attr name="frameCount" format="integer" />
|
||||
<attr name="frameHeight" format="dimension|reference" />
|
||||
<attr name="coverColor" format="color|reference" />
|
||||
<attr name="pointerColor" format="color|reference" />
|
||||
<attr name="timeColor" format="color|reference" />
|
||||
<attr name="indicatorColor" format="color|reference" />
|
||||
<attr name="showTime" format="boolean" />
|
||||
<attr name="reset" format="boolean" />
|
||||
<attr name="overScrollDistance" format="dimension|reference" />
|
||||
<attr name="pointerStyle">
|
||||
<enum name="arrow" value="0" />
|
||||
<enum name="simple" value="1" />
|
||||
<enum name="simple2" value="2" />
|
||||
<enum name="circle" value="3" />
|
||||
</attr>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="NiceImageView">
|
||||
<attr name="is_circle" format="boolean" />
|
||||
<attr name="is_cover_src" format="boolean" />
|
||||
<attr name="corner_radius" format="dimension" />n
|
||||
<attr name="corner_top_left_radius" format="dimension" />
|
||||
<attr name="corner_top_right_radius" format="dimension" />
|
||||
<attr name="corner_bottom_left_radius" format="dimension" />
|
||||
<attr name="corner_bottom_right_radius" format="dimension" />
|
||||
<attr name="border_width" format="dimension" />
|
||||
<attr name="border_color" format="color" />
|
||||
<attr name="inner_border_width" format="dimension" />
|
||||
<attr name="inner_border_color" format="color" />
|
||||
<attr name="mask_color" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="IMGColorRadio">
|
||||
|
||||
<attr name="image_color" format="color" />
|
||||
<attr name="image_stroke_color" format="color" />
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<!--涟漪控件属性-->
|
||||
<declare-styleable name="mRippleView">
|
||||
<attr name="cColor" format="color"/>
|
||||
<attr name="cSpeed" format="integer"/>
|
||||
<attr name="cDensity" format="integer"/>
|
||||
<attr name="cIsFill" format="boolean"/>
|
||||
<attr name="cIsAlpha" format="boolean"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="custume_ripple_imageview">
|
||||
<attr name="show_spacing_time" format="integer"></attr>
|
||||
<attr name="imageViewWidth" format="dimension"></attr>
|
||||
<attr name="imageViewHeigth" format="dimension"></attr>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="CircleImageView">
|
||||
<attr name="ease_border_color" format="color" />
|
||||
<attr name="ease_border_width" format="dimension" />
|
||||
<attr name="ease_press_alpha" format="integer" />
|
||||
<attr name="ease_press_color" format="color" />
|
||||
<attr name="ease_radius" format="dimension" />
|
||||
<attr name="es_shape_type" format="enum">
|
||||
<enum name="none" value="0" />
|
||||
<enum name="round" value="1" />
|
||||
<enum name="rectangle" value="2" />
|
||||
</attr>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="IndicatorView">
|
||||
|
||||
<attr name="vpi_slider_checked_color" format="color" />
|
||||
<attr name="vpi_slider_normal_color" format="color" />
|
||||
<attr name="vpi_slider_radius" format="dimension" />
|
||||
<attr name="vpi_rtl" format="boolean" />
|
||||
|
||||
<attr name="vpi_orientation" format="enum">
|
||||
<enum name="horizontal" value="0" />
|
||||
<enum name="vertical" value="1" />
|
||||
<enum name="rtl" value="3"/>
|
||||
</attr>
|
||||
|
||||
<attr name="vpi_slide_mode" format="enum">
|
||||
<enum name="normal" value="0" />
|
||||
<enum name="smooth" value="2" />
|
||||
<enum name="worm" value="3" />
|
||||
<enum name="scale" value="4" />
|
||||
<enum name="color" value="5" />
|
||||
</attr>
|
||||
|
||||
<attr name="vpi_style" format="enum">
|
||||
<enum name="circle" value="0" />
|
||||
<enum name="dash" value="2" />
|
||||
<enum name="round_rect" value="4" />
|
||||
</attr>
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<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>
|
||||
|
||||
<declare-styleable name="PageGridView">
|
||||
<!--每页大小-->
|
||||
<attr name="pageSize" format="integer|reference" />
|
||||
<!--是否显示指示点-->
|
||||
<attr name="isShowIndicator" format="boolean" />
|
||||
<!--选中指示点-->
|
||||
<attr name="selectedIndicator" format="reference" />
|
||||
<!--未选中指示点-->
|
||||
<attr name="unSelectedIndicator" format="reference" />
|
||||
<!--指示器位置-->
|
||||
<attr name="indicatorGravity" format="enum">
|
||||
<enum name="left" value="0" />
|
||||
<enum name="center" value="1" />
|
||||
<enum name="right" value="2" />
|
||||
</attr>
|
||||
<!--指示器左内边距-->
|
||||
<attr name="indicatorPaddingLeft" format="dimension" />
|
||||
<!--指示器右内边距-->
|
||||
<attr name="indicatorPaddingRight" format="dimension" />
|
||||
<!--指示器上内边距-->
|
||||
<attr name="indicatorPaddingTop" format="dimension" />
|
||||
<!--指示器下内边距-->
|
||||
<attr name="indicatorPaddingBottom" format="dimension" />
|
||||
<!--指示器内边距-->
|
||||
<attr name="indicatorPadding" format="dimension" />
|
||||
<!--指示器背景颜色-->
|
||||
<attr name="indicatorBackground" format="color" />
|
||||
|
||||
<!--ViewPager背景资源-->
|
||||
<attr name="vpBackground" format="reference|color" />
|
||||
|
||||
<!--ViewPager 内边距-->
|
||||
<attr name="vpPadding" format="dimension" />
|
||||
<!--列数-->
|
||||
<attr name="numColumns" format="integer|reference" />
|
||||
<!--Item布局-->
|
||||
<attr name="itemView" format="reference" />
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="TrinityTabLayout">
|
||||
<attr name="tabIndicatorColor" format="color"/>
|
||||
<attr name="tabIndicatorHeight" format="dimension"/>
|
||||
<attr name="tabContentStart" format="dimension"/>
|
||||
<attr name="tabBackground" format="reference"/>
|
||||
<attr name="tabIndicator" format="reference"/>
|
||||
<attr name="trinityTabIndicatorGravity">
|
||||
<enum name="bottom" value="0"/>
|
||||
<enum name="center" value="1"/>
|
||||
<enum name="top" value="2"/>
|
||||
<enum name="stretch" value="3"/>
|
||||
</attr>
|
||||
<attr name="tabIndicatorAnimationDuration" format="integer"/>
|
||||
<attr name="tabIndicatorFullWidth" format="boolean"/>
|
||||
<attr name="trinityTabMode">
|
||||
<enum name="scrollable" value="0"/>
|
||||
<enum name="fixed" value="1"/>
|
||||
<enum name="auto" value="2"/>
|
||||
</attr>
|
||||
<attr name="trinityTabGravity">
|
||||
<enum name="fill" value="0"/>
|
||||
<enum name="center" value="1"/>
|
||||
</attr>
|
||||
<attr name="tabInlineLabel" format="boolean"/>
|
||||
<attr name="tabMinWidth" format="dimension"/>
|
||||
<attr name="tabMaxWidth" format="dimension"/>
|
||||
<attr name="tabTextAppearance" format="reference"/>
|
||||
<attr name="tabTextColor" format="color"/>
|
||||
<attr name="tabSelectedTextColor" format="color"/>
|
||||
<attr name="tabPaddingStart" format="dimension"/>
|
||||
<attr name="tabPaddingTop" format="dimension"/>
|
||||
<attr name="tabPaddingEnd" format="dimension"/>
|
||||
<attr name="tabPaddingBottom" format="dimension"/>
|
||||
<attr name="tabPadding" format="dimension"/>
|
||||
<attr name="tabIconTint" format="color"/>
|
||||
<attr name="trinityTabIconTintMode">
|
||||
<enum name="src_over" value="3"/>
|
||||
<enum name="src_in" value="5"/>
|
||||
<enum name="src_atop" value="9"/>
|
||||
<enum name="multiply" value="14"/>
|
||||
<enum name="screen" value="15"/>
|
||||
<enum name="add" value="16"/>
|
||||
</attr>
|
||||
<attr name="tabRippleColor" format="color"/>
|
||||
<attr name="tabUnboundedRipple" format="boolean"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="TrinityTabItem">
|
||||
<attr name="android:text"/>
|
||||
<attr name="android:icon"/>
|
||||
<attr name="android:layout"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="DYLoadingView">
|
||||
<attr name="radius1" format="dimension" />
|
||||
<attr name="radius2" format="dimension" />
|
||||
<attr name="rtlScale" format="float" />
|
||||
<attr name="ltrScale" format="float" />
|
||||
<attr name="color1" format="color" />
|
||||
<attr name="color2" format="color" />
|
||||
<attr name="mixColor" format="color" />
|
||||
<attr name="duration" format="integer" />
|
||||
<attr name="pauseDuration" format="integer" />
|
||||
<attr name="gap" format="dimension" />
|
||||
<attr name="scaleStartFraction" format="float" />
|
||||
<attr name="scaleEndFraction" format="float" />
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<!-- indicator -->
|
||||
<!-- 设置显示器颜色 -->
|
||||
<attr name="tl_indicator_color" format="color"/>
|
||||
<!-- 设置显示器高度 -->
|
||||
<attr name="tl_indicator_height" format="dimension"/>
|
||||
<!-- 设置显示器固定宽度 -->
|
||||
<attr name="tl_indicator_width" format="dimension"/>
|
||||
<!-- 设置显示器margin,当indicator_width大于0,无效 -->
|
||||
<attr name="tl_indicator_margin_left" format="dimension"/>
|
||||
<attr name="tl_indicator_margin_top" format="dimension"/>
|
||||
<attr name="tl_indicator_margin_right" format="dimension"/>
|
||||
<attr name="tl_indicator_margin_bottom" format="dimension"/>
|
||||
<!-- 设置显示器圆角弧度-->
|
||||
<attr name="tl_indicator_corner_radius" format="dimension"/>
|
||||
<!-- 设置显示器上方还是下方,只对圆角矩形有用-->
|
||||
<attr name="tl_indicator_gravity" format="enum">
|
||||
<enum name="TOP" value="48"/>
|
||||
<enum name="BOTTOM" value="80"/>
|
||||
</attr>
|
||||
<!-- 设置显示器为常规|三角形|背景色块|-->
|
||||
<attr name="tl_indicator_style" format="enum">
|
||||
<enum name="NORMAL" value="0"/>
|
||||
<enum name="TRIANGLE" value="1"/>
|
||||
<enum name="BLOCK" value="2"/>
|
||||
</attr>
|
||||
<!-- 设置显示器长度与title一样长,只有在STYLE_NORMAL并且indicatorWidth小于零有效-->
|
||||
<attr name="tl_indicator_width_equal_title" format="boolean"/>
|
||||
<!-- 设置显示器支持动画-->
|
||||
<attr name="tl_indicator_anim_enable" format="boolean"/>
|
||||
<!-- 设置显示器动画时间-->
|
||||
<attr name="tl_indicator_anim_duration" format="integer"/>
|
||||
<!-- 设置显示器支持动画回弹效果-->
|
||||
<attr name="tl_indicator_bounce_enable" format="boolean"/>
|
||||
|
||||
<!-- underline -->
|
||||
<!-- 设置下划线颜色 -->
|
||||
<attr name="tl_underline_color" format="color"/>
|
||||
<!-- 设置下划线高度 -->
|
||||
<attr name="tl_underline_height" format="dimension"/>
|
||||
<!-- 设置下划线上方还是下方-->
|
||||
<attr name="tl_underline_gravity" format="enum">
|
||||
<enum name="TOP" value="48"/>
|
||||
<enum name="BOTTOM" value="80"/>
|
||||
</attr>
|
||||
|
||||
<!-- divider -->
|
||||
<!-- 设置分割线颜色 -->
|
||||
<attr name="tl_divider_color" format="color"/>
|
||||
<!-- 设置分割线宽度 -->
|
||||
<attr name="tl_divider_width" format="dimension"/>
|
||||
<!-- 设置分割线的paddingTop和paddingBottom -->
|
||||
<attr name="tl_divider_padding" format="dimension"/>
|
||||
|
||||
<!-- tab -->
|
||||
<!-- 设置tab的paddingLeft和paddingRight -->
|
||||
<attr name="tl_tab_padding" format="dimension"/>
|
||||
<!-- 设置tab大小等分 -->
|
||||
<attr name="tl_tab_space_equal" format="boolean"/>
|
||||
<!-- 设置tab固定大小 -->
|
||||
<attr name="tl_tab_width" format="dimension"/>
|
||||
|
||||
<!-- title -->
|
||||
<!-- 设置字体大小 -->
|
||||
<attr name="tl_textsize" format="dimension"/>
|
||||
<!-- 设置字体选中颜色 -->
|
||||
<attr name="tl_textSelectColor" format="color"/>
|
||||
<!-- 设置字体未选中颜色 -->
|
||||
<attr name="tl_textUnselectColor" format="color"/>
|
||||
<!-- 设置字体加粗 -->
|
||||
<attr name="tl_textBold" format="boolean"/>
|
||||
<!-- 设置字体全大写 -->
|
||||
<attr name="tl_textAllCaps" format="boolean"/>
|
||||
|
||||
<!-- 设置字体大小 -->
|
||||
<attr name="tl_subtextsize" format="dimension" />
|
||||
<!-- 设置字体选中颜色 -->
|
||||
<attr name="tl_subtextSelectColor" format="color" />
|
||||
<!-- 设置字体未选中颜色 -->
|
||||
<attr name="tl_subtextUnselectColor" format="color" />
|
||||
<!-- 设置字体加粗 -->
|
||||
<attr name="tl_subtextBold" format="boolean" />
|
||||
<!-- 设置字体全大写 -->
|
||||
<attr name="tl_subtextAllCaps" format="boolean" />
|
||||
|
||||
<declare-styleable name="CommonTabLayout">
|
||||
<!-- indicator -->
|
||||
<attr name="tl_indicator_color"/>
|
||||
<attr name="tl_indicator_height"/>
|
||||
<attr name="tl_indicator_width"/>
|
||||
<attr name="tl_indicator_margin_left"/>
|
||||
<attr name="tl_indicator_margin_top"/>
|
||||
<attr name="tl_indicator_margin_right"/>
|
||||
<attr name="tl_indicator_margin_bottom"/>
|
||||
<attr name="tl_indicator_corner_radius"/>
|
||||
<attr name="tl_indicator_gravity"/>
|
||||
<attr name="tl_indicator_style"/>
|
||||
<attr name="tl_indicator_anim_enable"/>
|
||||
<attr name="tl_indicator_anim_duration"/>
|
||||
<attr name="tl_indicator_bounce_enable"/>
|
||||
|
||||
<!-- underline -->
|
||||
<attr name="tl_underline_color"/>
|
||||
<attr name="tl_underline_height"/>
|
||||
<attr name="tl_underline_gravity"/>
|
||||
|
||||
<!-- divider -->
|
||||
<attr name="tl_divider_color"/>
|
||||
<attr name="tl_divider_width"/>
|
||||
<attr name="tl_divider_padding"/>
|
||||
|
||||
<!-- tab -->
|
||||
<attr name="tl_tab_padding"/>
|
||||
<attr name="tl_tab_space_equal"/>
|
||||
<attr name="tl_tab_width"/>
|
||||
|
||||
<!-- title -->
|
||||
<attr name="tl_textsize"/>
|
||||
<attr name="tl_textSelectColor"/>
|
||||
<attr name="tl_textUnselectColor"/>
|
||||
<attr name="tl_textBold"/>
|
||||
<attr name="tl_textAllCaps"/>
|
||||
|
||||
<!-- subtitle -->
|
||||
<attr name="tl_subtextsize" />
|
||||
<attr name="tl_subtextSelectColor" />
|
||||
<attr name="tl_subtextUnselectColor" />
|
||||
<attr name="tl_subtextBold" />
|
||||
<attr name="tl_subtextAllCaps" />
|
||||
|
||||
<!-- icon -->
|
||||
<!-- 设置icon宽度 -->
|
||||
<attr name="tl_iconWidth" format="dimension"/>
|
||||
<!-- 设置icon高度 -->
|
||||
<attr name="tl_iconHeight" format="dimension"/>
|
||||
<!-- 设置icon是否可见 -->
|
||||
<attr name="tl_iconVisible" format="boolean"/>
|
||||
<!-- 设置icon显示位置,对应Gravity中常量值 -->
|
||||
<attr name="tl_iconGravity" format="enum">
|
||||
<enum name="LEFT" value="3"/>
|
||||
<enum name="TOP" value="48"/>
|
||||
<enum name="RIGHT" value="5"/>
|
||||
<enum name="BOTTOM" value="80"/>
|
||||
</attr>
|
||||
<!-- 设置icon与文字间距 -->
|
||||
<attr name="tl_iconMargin" format="dimension"/>
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="MsgView">
|
||||
<!-- 圆角矩形背景色 -->
|
||||
<attr name="mv_backgroundColor" format="color"/>
|
||||
<!-- 圆角弧度,单位dp-->
|
||||
<attr name="mv_cornerRadius" format="dimension"/>
|
||||
<!-- 圆角弧度,单位dp-->
|
||||
<attr name="mv_strokeWidth" format="dimension"/>
|
||||
<!-- 圆角边框颜色-->
|
||||
<attr name="mv_strokeColor" format="color"/>
|
||||
<!-- 圆角弧度是高度一半-->
|
||||
<attr name="mv_isRadiusHalfHeight" format="boolean"/>
|
||||
<!-- 圆角矩形宽高相等,取较宽高中大值-->
|
||||
<attr name="mv_isWidthHeightEqual" format="boolean"/>
|
||||
</declare-styleable>
|
||||
|
||||
<!-- 自定义验证码输入框-->
|
||||
<declare-styleable name="vericationCodeView">
|
||||
<!--输入框的数量-->
|
||||
<attr name="vcv_et_number" format="integer" />
|
||||
<!--输入类型-->
|
||||
<attr name="vcv_et_inputType">
|
||||
<enum name="number" value="0" />
|
||||
<enum name="numberPassword" value="1" />
|
||||
<enum name="text" value="2" />
|
||||
<enum name="textPassword" value="3" />
|
||||
</attr>
|
||||
<!--输入框的宽度-->
|
||||
<attr name="vcv_et_width" format="dimension|reference" />
|
||||
<!--输入框文字颜色-->
|
||||
<attr name="vcv_et_text_color" format="color|reference" />
|
||||
<!--输入框文字大小-->
|
||||
<attr name="vcv_et_text_size" format="dimension|reference" />
|
||||
<!--输入框背景-->
|
||||
<attr name="vcv_et_bg" format="reference" />
|
||||
<!--光标样式-->
|
||||
<attr name="vcv_et_cursor" format="reference" />
|
||||
<!--是否隐藏光标-->
|
||||
<attr name="vcv_et_cursor_visible" format="boolean" />
|
||||
<!--输入框间距,不输入则代表平分-->
|
||||
<attr name="vcv_et_spacing" format="dimension|reference" />
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="AutoLinkTextView">
|
||||
<!-- 链接高亮颜色 -->
|
||||
<attr name="highlight_textcolor" format="color" />
|
||||
<!-- 默认文字颜色 -->
|
||||
<attr name="default_textcolor" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="TiktokLoadingView">
|
||||
<!--进度条初始颜色-->
|
||||
<attr name="progressColor" format="string"></attr>
|
||||
<!--进度条最小宽度即初始宽度-->
|
||||
<attr name="minProgressWidth" format="dimension"></attr>
|
||||
<!--view最小宽度-->
|
||||
<attr name="minWidth" format="dimension"></attr>
|
||||
<!--view最小高度-->
|
||||
<attr name="minHeight" format="dimension"></attr>
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<declare-styleable name="wheelSurfView">
|
||||
<!--类型 根据类型来加载资源 1 默认类型 用户需要提供文字和图片 2 暴力模式 用户只需要提供一张圆形的用来旋转的图片-->
|
||||
<attr name="type" format="integer"/>
|
||||
<!--最低圈数 默认值3 也就是说每次旋转都会最少转3圈-->
|
||||
<attr name="minTimes" format="integer"/>
|
||||
<!--扇形的数量 也就是奖品的份数-->
|
||||
<attr name="typenum" format="integer"/>
|
||||
<!--每一个扇形旋转消耗的时间-->
|
||||
<attr name="vartime" format="integer"/>
|
||||
<!--类型为1的时候 需要提供每个扇形上面的文字描述 长度必须和typenum一致-->
|
||||
<attr name="deses" format="reference"/>
|
||||
<!--类型为1的时候 需要提供每个扇形上面的图片展示 长度必须和typenum一致-->
|
||||
<attr name="icons" format="reference"/>
|
||||
<!--类型为1的时候 需要提供每个扇形背景颜色 长度必须和typenum一致-->
|
||||
<attr name="colors" format="reference"/>
|
||||
<!--中间图片的引用 有默认值 不填则使用默认值-->
|
||||
<attr name="goImg" format="reference"/>
|
||||
<!--圆环的图片引用 有默认值 不填则使用默认值-->
|
||||
<attr name="huanImg" format="reference"/>
|
||||
<!--如果类型为2 此值必填-->
|
||||
<attr name="mainImg" format="reference"/>
|
||||
<!--文字大小-->
|
||||
<attr name="textSize" format="dimension"/>
|
||||
<!--文字颜色-->
|
||||
<attr name="textColor" format="reference|color"/>
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<style name="MyBgTablayoutstyle" parent="Base.Widget.Design.TabLayout">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textSize">@dimen/sp14</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="TabLayoutTextSize">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textSize">@dimen/sp16</item>
|
||||
</style>
|
||||
|
||||
<style name="TabLayoutTextSize_two">
|
||||
<item name="android:textSize">@dimen/sp16</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
|
||||
<style name="TabLayoutTextSize1">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textSize">@dimen/sp18</item>
|
||||
</style>
|
||||
|
||||
<style name="TabLayoutTextSize_two1">
|
||||
<item name="android:textSize">@dimen/sp16</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
|
||||
<declare-styleable name="CircularProgressView">
|
||||
<attr name="backWidth" format="dimension" /> <!--背景圆环宽度-->
|
||||
<attr name="progWidth" format="dimension" /> <!--进度圆环宽度-->
|
||||
<attr name="backColor" format="color" /> <!--背景圆环颜色-->
|
||||
<attr name="progColor" format="color" /> <!--进度圆环颜色-->
|
||||
<attr name="progStartColor" format="color" /> <!--进度圆环开始颜色-->
|
||||
<attr name="progFirstColor" format="color" /> <!--进度圆环结束颜色-->
|
||||
<attr name="progress" format="integer" /> <!--圆环进度-->
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<attr name="popupTextAlignment" format="enum">
|
||||
<enum name="start" value="0" />
|
||||
<enum name="end" value="1" />
|
||||
<enum name="center" value="2" />
|
||||
</attr>
|
||||
|
||||
<declare-styleable name="NiceSpinner">
|
||||
<attr name="arrowTint" format="color" />
|
||||
<attr name="hideArrow" format="boolean" />
|
||||
<attr name="arrowDrawable" format="reference|color" />
|
||||
<attr name="dropDownListPaddingBottom" format="dimension" />
|
||||
<attr name="backgroundSelector" format="integer" />
|
||||
<attr name="textTint" format="color" />
|
||||
<attr name="popupTextAlignment" />
|
||||
<attr name="entries" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<declare-styleable name="CircleProgressbar">
|
||||
<attr name="radius" format="dimension" />
|
||||
<attr name="strokeWidth" format="dimension" />
|
||||
<attr name="ringColor" format="color" />
|
||||
<attr name="ringColor1" format="color" />
|
||||
|
||||
<attr name="textColorNew" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="BannerViewPager">
|
||||
<!--页面切换时间间隔-->
|
||||
<attr format="integer" name="bvp_interval" />
|
||||
<attr format="integer" name="bvp_scroll_duration" />
|
||||
<attr format="boolean" name="bvp_can_loop" />
|
||||
<attr format="boolean" name="bvp_auto_play" />
|
||||
<attr format="color" name="bvp_indicator_checked_color" />
|
||||
<attr format="color" name="bvp_indicator_normal_color" />
|
||||
<attr format="dimension" name="bvp_indicator_radius" />
|
||||
<attr format="dimension" name="bvp_round_corner" />
|
||||
<attr format="dimension" name="bvp_page_margin" />
|
||||
<attr format="dimension" name="bvp_reveal_width" />
|
||||
<attr format="enum" name="bvp_indicator_style">
|
||||
<enum name="circle" value="0" />
|
||||
<enum name="dash" value="2" />
|
||||
<enum name="round_rect" value="4" />
|
||||
</attr>
|
||||
<attr format="enum" name="bvp_indicator_slide_mode">
|
||||
<enum name="normal" value="0" />
|
||||
<enum name="smooth" value="2" />
|
||||
<enum name="worm" value="3" />
|
||||
<enum name="scale" value="4" />
|
||||
<enum name="color" value="5" />
|
||||
</attr>
|
||||
<attr format="enum" name="bvp_indicator_gravity">
|
||||
<enum name="center" value="0" />
|
||||
<enum name="start" value="2" />
|
||||
<enum name="end" value="4" />
|
||||
</attr>
|
||||
<attr format="enum" name="bvp_page_style">
|
||||
<enum name="normal" value="0" />
|
||||
<enum name="multi_page" value="2" />
|
||||
<enum name="multi_page_overlap" value="4" />
|
||||
<enum name="multi_page_scale" value="8" />
|
||||
</attr>
|
||||
<attr format="enum" name="bvp_indicator_visibility">
|
||||
<enum name="visible" value="0" />
|
||||
<enum name="invisible" value="4" />
|
||||
<enum name="gone" value="8" />/>
|
||||
</attr>
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<style name="settings_item_checkBox">
|
||||
<item name="android:layout_height">24dp</item>
|
||||
<item name="android:layout_width">24dp</item>
|
||||
<!--<item name="android:layout_marginRight">2dp</item>-->
|
||||
<item name="android:layout_gravity">right|center</item>
|
||||
</style>
|
||||
|
||||
<style name="MaterialDesignDialog" parent="@style/Theme.AppCompat.Dialog">
|
||||
<!-- 背景透明 -->
|
||||
<item name="android:windowBackground">@color/transparent</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<!-- 浮于Activity之上 -->
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<!-- 边框 -->
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<!-- Dialog以外的区域模糊效果 -->
|
||||
<item name="android:backgroundDimEnabled">true</item>
|
||||
<!-- 无标题 -->
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<!-- 半透明 -->
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowCloseOnTouchOutside">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user