styles.xml 30.2 KB
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571
<resources xmlns:tools="http://schemas.android.com/tools">

    <style name="CustomDialog" parent="@android:style/Theme.Dialog">
        <item name="android:windowIsFloating">true</item>
        <!-- 设置未浮动窗口 -->
        <item name="android:windowFrame">@null</item>
        <!-- 设置无边框 -->
        <item name="android:windowNoTitle">true</item>
        <!-- 设置无标题 -->
        <item name="android:windowBackground">@android:color/transparent</item>
        <!-- 设置完全透明 -->
        <item name="android:backgroundDimEnabled">false</item>
        <!-- 设置屏幕变暗 -->
    </style>

    <!-- 中间对话框样式 -->
    <style name="CenterDialogStyle">

        <!-- 背景透明 -->
        <item name="android:windowBackground">@android:color/transparent</item>
        <!-- 边框 -->
        <item name="android:windowFrame">@null</item>
        <!-- 无标题 -->
        <item name="android:windowNoTitle">true</item>
        <!-- 是否浮现在activity之上 -->
        <item name="android:windowIsFloating">true</item>
        <!-- 半透明 -->
        <item name="android:windowIsTranslucent">true</item>
        <!-- 这行代码不能少 -->
        <item name="android:windowContentOverlay">@null</item>
        <!-- 动画 -->
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
        <!-- 模糊 -->
        <item name="android:backgroundDimEnabled">true</item>
    </style>

    <style name="VideoAlbumDialogStyle" parent="@android:style/Theme.Holo.Dialog">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:background">@android:color/transparent</item>
        <!--阴影  -->
        <item name="android:windowBackground">@android:color/transparent</item>
        <!-- Dialog进入及退出动画 -->
        <item name="android:windowAnimationStyle">@style/BottomShowAnimation</item>
        <!--弹窗背景是否变暗-->
        <item name="android:backgroundDimEnabled">false</item>
    </style>

    <!-- dialog效果动画 -->
    <style name="BottomShowAnimation" parent="@android:style/Animation.Dialog">
        <item name="android:windowEnterAnimation">@anim/enter_bottom_menu</item>
        <item name="android:windowExitAnimation">@anim/exit_bottom_menu</item>
    </style>

    <!-- 导航栏自定义属性 -->
    <declare-styleable name="CustomTitleBar">
        <attr name="titleBarTitle" format="string" />
        <attr name="titleSize" format="dimension" />
        <attr name="titleColor" format="color" />
        <attr name="titleBarLeftShowFlag">
            <enum name="VISIBLE" value="0" />
            <enum name="INVISIBLE" value="4" />
        </attr>
        <attr name="titleBarLeftShowType">
            <enum name="IMG" value="0" />
            <enum name="TEXT" value="1" />
        </attr>
        <attr name="titleBarLeftTxt" format="string" />
        <attr name="titleBarLeftTxtSize" format="dimension" />
        <attr name="titleBarLeftTxtColor" format="color" />
        <attr name="titleBarLeftImg" format="reference" />
        <attr name="titleBarRightShowFlag">
            <enum name="VISIBLE" value="0" />
            <enum name="INVISIBLE" value="4" />
        </attr>
        <attr name="titleBarRightShowType">
            <enum name="IMG" value="0" />
            <enum name="TEXT" value="1" />
        </attr>
        <attr name="titleBarRightTxt" format="string" />
        <attr name="titleBarRightTxtSize" format="dimension" />
        <attr name="titleBarRightTxtColor" format="color" />
        <attr name="titleBarRightImg" format="reference" />
        <attr name="titleBarRightTextBackground" format="reference" />
        <attr name="titleBarBackgroundShowType">
            <enum name="COLOR" value="2" />
            <enum name="RES" value="3" />
        </attr>
        <attr name="titleBarBackgroundColor" format="color" />
        <attr name="titleBarBackgroundResource" format="reference" />
        <attr name="titleBarShowBottomLine" format="boolean" />
        <attr name="titletextbold" format="boolean"/>
    </declare-styleable>

    <!-- 标题横向分割线 -->
    <style name="title_line_transverse">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/rmrb_dp0_5</item>
        <item name="android:background">@color/res_color_common_C6</item>
    </style>

    <declare-styleable name="CircleImageView">
        <attr name="civ_border_width" format="dimension" />
        <attr name="civ_border_color" format="color" />
        <attr name="civ_border_overlay" format="boolean" />
        <attr name="civ_fill_color" format="color" />
    </declare-styleable>

    <declare-styleable name="RoundCornerImageView">
        <attr name="newRadius" format="dimension"/>
        <attr name="leftTopRadius" format="dimension"/>
        <attr name="rightTopRadius" format="dimension"/>
        <attr name="leftBottomRadius" format="dimension"/>
        <attr name="rightBottomRadius" format="dimension"/>
    </declare-styleable>

    <style name="custom_dialog2" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item>
        <!-- Dialog的windowFrame框为无 -->
        <item name="android:windowIsFloating">true</item>
        <!-- 是否漂现在activity上 -->
        <item name="android:windowIsTranslucent">true</item>
        <!-- 是否半透明 -->
        <item name="android:windowNoTitle">true</item>
        <item name="android:background">@null</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <!-- 去除黑色边框的关键设置项 -->
        <item name="android:backgroundDimEnabled">true</item>
        <!-- 屏幕背景是否变暗 -->
        <item name="android:backgroundDimAmount">0.6</item>
    </style>

    <style name="dialog_from_bottom_anim">
        <item name="android:windowEnterAnimation">@anim/dialog_from_bottom_anim_in</item>
        <item name="android:windowExitAnimation">@anim/dialog_from_bottom_anim_out</item>
    </style>

    <style name="dialog_scale_anim">
        <item name="android:windowEnterAnimation">@anim/dialog_scale_anim_in</item>
        <item name="android:windowExitAnimation">@anim/dialog_scale_anim_out</item>
    </style>

    <declare-styleable name="MaxHeightView">
        <attr name="mhv_HeightDimen" format="reference|dimension" />
    </declare-styleable>


    <!--lottie动画view-->
    <declare-styleable name="AnimationView">
        <attr name="anim_select_image" format="reference" />
        <attr name="anim_unselect_image" format="reference" />
        <attr name="anim_lottie_fileName" format="string" />
        <attr name="anim_lottie_scale" format="float" />
    </declare-styleable>

    <declare-styleable name="DYVideoLoadingView">
        <attr name="amberprogressColor" format="string" />
        <attr name="amberminWidth" format="float" />
        <attr name="amberminHeight" format="float" />
        <attr name="amberminProgressWidth" format="float" />
    </declare-styleable>

    <declare-styleable name="ExpandableTextView">
        <attr format="reference|integer" name="etv_MaxLinesOnShrink"/>
        <attr format="reference|string" name="etv_EllipsisHint"/>
        <attr format="reference|string" name="etv_ToExpandHint"/>
        <attr format="reference|string" name="etv_ToShrinkHint"/>
        <attr format="reference|string" name="etv_GapToExpandHint"/>
        <attr format="reference|string" name="etv_GapToShrinkHint"/>
        <attr format="reference|boolean" name="etv_EnableToggle"/>
        <attr format="boolean" name="etv_isInRecyclerView"/>
        <attr format="reference|boolean" name="etv_ToExpandHintShow"/>
        <attr format="reference|boolean" name="etv_ToShrinkHintShow"/>
        <attr format="reference|color" name="etv_ToExpandHintColor"/>
        <attr format="reference|color" name="etv_ToShrinkHintColor"/>
        <attr format="reference|color" name="etv_ToExpandHintColorBgPressed"/>
        <attr format="reference|color" name="etv_ToShrinkHintColorBgPressed"/>
        <attr format="enum" name="etv_InitState">
        <enum name="shrink" value="0"/>
        <enum name="expand" value="1"/>
    </attr></declare-styleable>
    <declare-styleable name="ExpandableTextSelelctView">
        <attr format="reference|integer" name="etsv_MaxLinesOnShrink"/>
        <attr format="reference|string" name="etsv_EllipsisHint"/>
        <attr format="reference|string" name="etsv_ToExpandHint"/>
        <attr format="reference|string" name="etsv_ToShrinkHint"/>
        <attr format="reference|string" name="etsv_GapToExpandHint"/>
        <attr format="reference|string" name="etsv_GapToShrinkHint"/>
        <attr format="reference|boolean" name="etsv_EnableToggle"/>
        <attr format="boolean" name="etsv_isInRecyclerView"/>
        <attr format="reference|boolean" name="etsv_ToExpandHintShow"/>
        <attr format="reference|boolean" name="etsv_ToShrinkHintShow"/>
        <attr format="reference|color" name="etsv_ToExpandHintColor"/>
        <attr format="reference|color" name="etsv_ToShrinkHintColor"/>
        <attr format="reference|color" name="etsv_ToExpandHintColorBgPressed"/>
        <attr format="reference|color" name="etsv_ToShrinkHintColorBgPressed"/>
        <attr format="enum" name="etsv_InitState">
            <enum name="shrink" value="0"/>
            <enum name="expand" value="1"/>
        </attr></declare-styleable>

<!--高斯模糊-->
    <declare-styleable name="ShapeBlurView">
        <attr name="blur_radius" format="dimension" />
        <attr name="blur_down_sample" format="float" />
        <attr name="blur_overlay_color" format="color" />
        <attr name="blur_corner_radius" format="dimension" />
        <attr name="blur_corner_radius_top_left" format="dimension" />
        <attr name="blur_corner_radius_top_right" format="dimension" />
        <attr name="blur_corner_radius_bottom_left" format="dimension" />
        <attr name="blur_corner_radius_bottom_right" format="dimension" />
        <attr name="blur_border_width" format="dimension" />
        <attr name="blur_border_color" format="color" />
        <attr name="blur_mode">
            <enum name="rectangle" value="0" />
            <enum name="circle" value="1" />
            <enum name="oval" value="2" />
        </attr>
    </declare-styleable>

    <style name="fullStyle">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowFrame">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">false</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:backgroundDimEnabled">false</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="behavior_peekHeight">800dp</item>
    </style>




    <style name="ActionSheetAnimation" parent="@android:style/Animation.Dialog">
        <item name="android:windowEnterAnimation">@anim/module_share_anim_fade_in</item>
        <item name="android:windowExitAnimation">@anim/module_share_anim_fade_out</item>
    </style>

    <style name="shareStyles" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:backgroundDimEnabled">true</item>
        <item name="android:background">@color/transparent</item>
        <item name="android:windowAnimationStyle">@style/ActionSheetAnimation</item>
    </style>

    <!-- dialog-->
    <style name="DialogBackgroundNull" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item> <!--无边框-->
        <item name="android:windowIsFloating">true</item><!--悬浮在父界面之上-->
        <item name="android:windowIsTranslucent">false</item><!--允许呈现半透明状态-->
        <item name="android:windowNoTitle">true</item><!--无标题-->
        <item name="android:windowBackground">@android:color/transparent</item> <!--透明背景-->
        <item name="android:backgroundDimEnabled">false</item> <!-- 允许周围模糊 -->
        <item name="android:windowSoftInputMode">stateAlwaysHidden</item>
        <!-- 屏幕背景是否变暗 -->
        <item name="android:backgroundDimAmount">0.3</item>
    </style>

    <!--弹出框动画-->
    <style name="NoAnimBottom" parent="@android:style/Animation">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:backgroundDimEnabled">true</item>
    </style>
    <declare-styleable name="BottomCommentFunctionBar">
        <attr name="black_bar" format="boolean" />
    </declare-styleable>
    <declare-styleable name="FlowLayout">
        <attr name="flow_horizontal_spaceing" format="dimension|reference" />
        <attr name="flow_vertical_spaceing" format="dimension|reference" />
        <attr name="flow_max_line" format="integer|reference" />
        <attr name="flow_horizontal_gravity">
            <enum name="center" value="17" />
            <enum name="left" value="3" />
            <enum name="right" value="5" />
            <enum name="match" value="200" />
        </attr>
        <attr name="flow_text_type">
            <enum name="tag1" value="1" />
        </attr>
        <attr name="flow_vertical_gravity">
            <enum name="center" value="17" />
            <enum name="top" value="48" />
            <enum name="bottom" value="80" />
        </attr>
    </declare-styleable>
    <declare-styleable name="FlowGravityLayout">
        <!-- 最大显示行数 -->
        <attr name="flow_max_row_count" format="integer" />
        <!-- 每一行水平方向对齐方式 -->
        <attr name="flow_gravity" format="enum">
            <!-- 每一行水平方向对齐方式:左对齐,默认 -->
            <enum name="left" value="0" />
            <!-- 每一行水平方向对齐方式:右对齐 -->
            <enum name="right" value="1" />
            <!-- 每一行水平方向对齐方式:左右对齐 -->
            <enum name="left_right" value="2" />
            <!-- 每一行水平方向对齐方式:居中对齐 -->
            <enum name="center" value="3" />
        </attr>
        <!-- 水平方向间距 -->
        <attr name="flow_horizontal_spacing" format="dimension" />
        <!-- 竖直方向间距 -->
        <attr name="flow_vertical_spacing" format="dimension" />
    </declare-styleable>
    <style name="Removedialog" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item><!--边框-->
        <item name="android:windowIsFloating">true</item><!--是否浮现在activity之上-->
        <item name="android:windowIsTranslucent">true</item><!--半透明-->
        <item name="android:windowNoTitle">true</item>
        <item name="android:background">@color/transparent</item>
        <item name="android:windowBackground">@color/transparent</item>
        <item name="android:backgroundDimEnabled">true</item><!--模糊-->
    </style>
    <style name="bottomAnimation" parent="@android:style/Animation.Dialog">
        <item name="android:windowEnterAnimation">@anim/push_bottom_in</item>
        <item name="android:windowExitAnimation">@anim/push_bottom_out</item>
    </style>
    <!--自定义的DigitalThumbSeekbar的属性-->
    <declare-styleable name="DigitalThumbSeekbar">
        <!--需要显示在进度上的最大值-->
        <attr name="maxShowValue" format="float">
        </attr>
        <!--需要显示的进度模式,整数,保留一位小数,保留两位小数-->
        <attr name="PrecisionMode" format="enum">
            <enum name="integer" value="0"></enum>
            <enum name="float_one" value="1"></enum>
            <enum name="float_two" value="2"></enum>
        </attr>

    </declare-styleable>

    <!--没有padding的textView-->
    <declare-styleable name="NoPaddingTextView">
        <attr name="wrapTextSize" format="dimension" />
        <attr name="wrapTextColor" format="color" />
        <attr name="wrapUseTextFont" format="boolean" />
    </declare-styleable>

    <!--底部dialog theme主题-->
    <style name="bottomDialogTheme" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:backgroundDimEnabled">true</item>
        <item name="android:windowSoftInputMode">adjustPan</item>
        <item name="android:windowNoTitle">true</item>
        <!-- Dialog进入及退出动画 -->
        <item name="android:windowAnimationStyle">@style/BottomShowAnimation</item>
    </style>
    <!-- 头部dialog弹出进出动画 -->
    <style name="AnimalTop" parent="@android:style/Animation">
        <item name="android:windowEnterAnimation">@anim/enter_top_menu</item>
        <item name="android:windowExitAnimation">@anim/exit_top_menu</item>
    </style>
    <!--头部dialog theme主题-->
    <style name="topDialogTheme">
        <!-- 背景透明 -->
        <item name="android:windowBackground">@color/transparent</item>
        <!-- 边框 -->
        <item name="android:windowFrame">@null</item>
        <!-- 无标题 -->
        <item name="android:windowNoTitle">true</item>
        <!-- 是否浮现在activity之上 -->
        <item name="android:windowIsFloating">true</item>
        <!-- 半透明 -->
        <item name="android:windowIsTranslucent">false</item>
        <!-- 这行代码不能少 -->
        <item name="android:windowContentOverlay">@null</item>
        <!-- 模糊 设为true的话背景就是黑色透明的 -->
        <item name="android:backgroundDimEnabled">false</item>
        <!-- Dialog进入及退出动画 -->
        <item name="android:windowAnimationStyle">@style/AnimalTop</item>
    </style>
    <!--设置最大高度的scrollview-->
    <declare-styleable name="MaxHeightScrollView">
        <attr name="maxScrollHeight" format="dimension" />
    </declare-styleable>

<!--    <style name="SwipeBackLayout">-->
<!--        <item name="edge_size">50dip</item>-->
<!--        <item name="shadow_left">@drawable/shadow_left</item>-->
<!--        <item name="shadow_right">@drawable/shadow_right</item>-->
<!--        <item name="shadow_bottom">@drawable/shadow_bottom</item>-->
<!--    </style>-->

    <declare-styleable name="ZzHorizontalProgressBar">
        <attr name="zpb_padding" format="dimension" />
        <attr name="zpb_bg_color" format="color|reference" />
        <attr name="zpb_pb_color" format="color|reference" />
        <attr name="zpb_second_pb_color" format="color|reference" />
        <attr name="zpb_max" format="integer" />
        <attr name="zpb_text" format="color|reference" />
        <attr name="zpb_progress" format="integer" />
        <attr name="zpb_show_zero_point" format="boolean" />
        <attr name="zpb_show_second_progress" format="boolean" />
        <attr name="zpb_second_progress" format="integer" />
        <attr name="zpb_show_second_point_shape" format="enum">
            <enum name="point" value="0" />
            <enum name="line" value="1" />
        </attr>
        <attr name="zpb_open_gradient" format="boolean" />
        <attr name="zpb_gradient_from" format="color|reference" />
        <attr name="zpb_gradient_to" format="color|reference" />
        <attr name="zpb_open_second_gradient" format="boolean" />
        <attr name="zpb_second_gradient_from" format="color|reference" />
        <attr name="zpb_second_gradient_to" format="color|reference" />
        <attr name="zpb_show_mode" format="enum">
            <enum name="round" value="0" />
            <enum name="rect" value="1" />
            <enum name="round_rect" value="2" />
        </attr>
        <attr name="zpb_round_rect_radius" format="dimension|reference" />
        <attr name="zpb_draw_border" format="boolean" />
        <attr name="zpb_border_width" format="dimension|reference" />
        <attr name="zpb_border_color" format="color|reference" />

    </declare-styleable>

    <!--SquareTextView-->
    <declare-styleable name="SquareTextView">
        <attr name="squareBgColor" format="color" />
        <attr name="squareBgSelColor" format="color" />
        <attr name="squareSelect" format="boolean" />
        <attr name="squareStrokeColor" format="color" />
        <attr name="squareStrokePaddingH" format="dimension|reference" />
        <attr name="squareStrokePaddingV" format="dimension|reference" />
        <attr name="squareStrokePaddingL" format="dimension|reference" />
        <attr name="squareStrokeRadius" format="dimension|reference" />
    </declare-styleable>

    <!--ButtonLoadingView-->
    <declare-styleable name="ButtonLoadingView">
        <attr name="loading_view_with" format="dimension|reference" />
        <attr name="loading_view_height" format="dimension|reference" />
    </declare-styleable>

    <!--平行四边形-->
    <declare-styleable name="CocoView">
        <attr name="height" format="dimension"></attr>
        <attr name="first_width" format="dimension"></attr>
        <attr name="second_width" format="dimension"></attr>
        <attr name="offset_width" format="dimension"></attr>
        <attr name="first_color" format="color"></attr>
        <attr name="second_color" format="color"></attr>
        <attr name="canvas_color" format="color"></attr>
    </declare-styleable>

    <style name="popp_anim" parent="android:Animation">
        <item name="android:windowEnterAnimation">@anim/anim_popup_in</item>
        <item name="android:windowExitAnimation">@anim/anim_popup_out</item>
    </style>

    <style name="livepopstyles" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <!-- 不变暗 -->
        <item name="android:backgroundDimEnabled">false</item>
        <item name="android:background">@color/transparent</item>
        <item name="android:windowAnimationStyle">@style/ActionSheetAnimation</item>
    </style>

    <style name="CustomTabStyle" parent="@style/Widget.Design.TabLayout">
        <item name="tabGravity">start</item>
        <item name="tabIndicator">@drawable/select_tab_indicator</item>
        <item name="tabIndicatorColor">@color/res_color_CB0000</item>
        <item name="tabPaddingStart">@dimen/rmrb_dp10</item>
        <item name="tabPaddingEnd">@dimen/rmrb_dp10</item>
        <item name="tabMaxWidth">@dimen/rmrb_dp200</item>
        <item name="tabMinWidth">@dimen/rmrb_dp20</item>
        <item name="tabMode">scrollable</item>
    </style>
    <style name="CustomTabStyleForNormalUser" parent="@style/Widget.Design.TabLayout">
        <item name="tabGravity">start</item>
        <item name="tabIndicator">@drawable/select_tab_indicator</item>
        <item name="tabIndicatorColor">@color/res_color_CB0000</item>
        <item name="tabPaddingStart">@dimen/rmrb_dp14</item>
        <item name="tabPaddingEnd">@dimen/rmrb_dp14</item>
        <item name="tabMaxWidth">@dimen/rmrb_dp200</item>
        <item name="tabMinWidth">@dimen/rmrb_dp20</item>
        <item name="tabMode">scrollable</item>
    </style>
    <declare-styleable name="IndicatorSeekBar">
        //seekBar
        <attr name="isb_max" format="float" /><!-- the max value of seekBar to seek, default 100-->
        <attr name="isb_min" format="float" /><!-- the min value of seekBar to seek, default 0 -->
        <attr name="isb_progress" format="float" /><!-- the current progress value of seekBar, default 0-->
        <attr name="isb_progress_value_float" format="boolean" /><!--set the value of seekBar to float type, default false-->
        <attr name="isb_seek_smoothly" format="boolean" /><!--true to seek smoothly when has ticks, default false-->
        <attr name="isb_r2l" format="boolean" /><!--compat app local change,like arabic local, default false-->
        <attr name="isb_ticks_count" format="integer" /><!--seekBar's ticks count, default zero-->
        <attr name="isb_user_seekable" format="boolean" /><!--prevent user from seeking,only can be change thumb location by setProgress(), default false-->
        <attr name="isb_clear_default_padding" format="boolean" /><!-- set seekBar's leftPadding&rightPadding to zero, default false, default padding is 16dp-->
        <attr name="isb_only_thumb_draggable" format="boolean" /><!--user change the thumb's location by touching thumb/touching track,true for touching track to seek. false for touching thumb; default false-->
        //indicator
        <attr name="isb_show_indicator"><!-- the type of indicator, default rectangle_rounded_corner/0.-->
            <enum name="none" value="0" />
            <enum name="circular_bubble" value="1" />
            <enum name="rounded_rectangle" value="2" />
            <enum name="rectangle" value="3" />
            <enum name="custom" value="4" /><!--choose custom type that you can set the custom indicator layout you want.-->
        </attr>
        <attr name="isb_indicator_color" format="color|reference" /><!-- indicator's color, default #FF4081-->
        <attr name="isb_indicator_text_color" format="color|reference" /><!-- indicator's text color, default #FF4081 -->
        <attr name="isb_indicator_text_size" format="dimension|reference" /><!-- indicator's text size, default 14sp-->
        <attr name="isb_indicator_content_layout" format="reference" /><!-- when you set indicator type to custom , you can set ths indicator layout you want-->
        <attr name="isb_indicator_top_content_layout" format="reference" /> <!--set the indicator's top view you want, not impact arrow , effect on indicator type : rectangle or rectangle_rounded_corner-->
        //track
        <attr name="isb_track_background_size" format="dimension|reference" /><!-- set indicatorSeekBar's track background bar size, default 2dp-->
        <attr name="isb_track_background_color" format="color|reference" /><!-- set indicatorSeekBar's track background bar color, default #D7D7D7-->
        <attr name="isb_track_progress_size" format="dimension|reference" /><!-- set indicatorSeekBar's track progress bar size, default 2dp-->
        <attr name="isb_track_progress_color" format="color|reference" /><!-- set indicatorSeekBar's track progress bar color, default #FF4081-->
        <attr name="isb_track_rounded_corners" format="boolean" /><!-- set the track's both ends' shape to round-->
        //thumb text
        <attr name="isb_thumb_text_color" format="color|reference" /><!--set thumb's color, default #FF4081-->
        <attr name="isb_show_thumb_text" format="boolean" /><!--show thumb text or not, default false-->
        //thumb
        <attr name="isb_thumb_size" format="dimension|reference" /><!--set thumb's size, default 14dp, thumb size will be limited in 30dp-->
        <attr name="isb_thumb_color" format="color|reference" /><!--set thumb's color, default #FF4081-->
        <attr name="isb_thumb_drawable" format="reference" /><!--set custom thumb's drawable you want,thumb size will be limited in 30dp, if drawable less than 30dp ,will show in intrinsic size -->
        <attr name="isb_thumb_adjust_auto" format="boolean" /><!--set the thumb move to the closed tick after touched up, default true-->
        //tickMarks
        <attr name="isb_tick_marks_color" format="color|reference" /><!--set tick's color, default #FF4081-->
        <attr name="isb_tick_marks_size" format="dimension|reference" /><!--set the tick width, default 10dp,custom drawable will be limited in 30dp, if less than 30dp ,will show in intrinsic size-->
        <attr name="isb_tick_marks_drawable" format="reference" /><!--set custom tick's drawable you want, custom drawable will be limited in 30dp, if less than 30dp ,will show in intrinsic size-->
        <attr name="isb_tick_marks_ends_hide" format="boolean" /><!--hide 2 ticks on the seekBar's both ends, default false-->
        <attr name="isb_tick_marks_swept_hide" format="boolean" /><!--hide the ticks on the seekBar's thumb left, default false-->
        <attr name="isb_show_tick_marks_type"><!--select the tick shape type, default not show: NONE/0-->
            <enum name="none" value="0" />
            <enum name="oval" value="1" />
            <enum name="square" value="2" />
            <enum name="divider" value="3" /> <!--show tickMarks shape as vertical line , line'size is 1 dp.-->
        </attr>
        //tickTexts
        <attr name="isb_show_tick_texts" format="boolean" /><!--show the text below tick or not, default false-->
        <attr name="isb_tick_texts_color" format="reference|color" /><!--set texts' color, default #FF4081-->
        <attr name="isb_tick_texts_size" format="dimension|reference" /><!--set the text size of tick below text, default 13sp-->
        <attr name="isb_tick_texts_array" format="reference" /><!--set the custom texts below tick to replace default progress text, default null-->
        <attr name="isb_tick_texts_typeface"><!--select the typeface for tick texts/thumb text, default normal-->
            <enum name="normal" value="0" />
            <enum name="monospace" value="1" />
            <enum name="sans" value="2" />
            <enum name="serif" value="3" />
        </attr>
    </declare-styleable>
</resources>