第一次提交

This commit is contained in:
被淹死的鱼
2026-03-11 18:26:29 +08:00
commit cd3b53759e
8532 changed files with 522078 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="actionsheet_blue">#037BFF</color>
<color name="actionsheet_red">#FD4A2E</color>
<color name="actionsheet_gray">#8F8F8F</color>
<!-- 自定义仿IOS的ActionSheet底部Dialog的样式 ,有模糊效果 -->
<style name="ActionSheetDialogStyle" parent="@android:style/Theme.Dialog">
<!-- 背景透明 -->
<item name="android:windowBackground">@android: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>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<!-- ActionSheet进出动画 -->
<style name="ActionSheetDialogAnimation" parent="@android:style/Animation.Dialog">
<item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
<item name="android:windowExitAnimation">@anim/actionsheet_dialog_out</item>
</style>
</resources>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--通过FrameAnimation播放的八十张图片-->
<array name="c">
<item>@drawable/guard_0060</item>
<item>@drawable/guard_0061</item>
<item>@drawable/guard_0062</item>
<item>@drawable/guard_0063</item>
<item>@drawable/guard_0064</item>
<item>@drawable/guard_0065</item>
<item>@drawable/guard_0066</item>
<item>@drawable/guard_0067</item>
<item>@drawable/guard_0068</item>
<item>@drawable/guard_0069</item>
<item>@drawable/guard_0070</item>
<item>@drawable/guard_0071</item>
<item>@drawable/guard_0072</item>
<item>@drawable/guard_0073</item>
<item>@drawable/guard_0074</item>
<item>@drawable/guard_0075</item>
<item>@drawable/guard_0076</item>
<item>@drawable/guard_0077</item>
<item>@drawable/guard_0078</item>
<item>@drawable/guard_0079</item>
<item>@drawable/guard_0080</item>
<item>@drawable/guard_0081</item>
<item>@drawable/guard_0082</item>
<item>@drawable/guard_0083</item>
<item>@drawable/guard_0084</item>
<item>@drawable/guard_0085</item>
<item>@drawable/guard_0086</item>
<item>@drawable/guard_0087</item>
<item>@drawable/guard_0088</item>
<item>@drawable/guard_0089</item>
<item>@drawable/guard_0090</item>
<item>@drawable/guard_0091</item>
<item>@drawable/guard_0092</item>
<item>@drawable/guard_0093</item>
<item>@drawable/guard_0094</item>
<item>@drawable/guard_0095</item>
<item>@drawable/guard_0096</item>
<item>@drawable/guard_0097</item>
<item>@drawable/guard_0098</item>
<item>@drawable/guard_0099</item>
<item>@drawable/guard_00100</item>
<item>@drawable/guard_00101</item>
<item>@drawable/guard_00102</item>
<item>@drawable/guard_00103</item>
<item>@drawable/guard_00104</item>
<item>@drawable/guard_00105</item>
<item>@drawable/guard_00106</item>
<item>@drawable/guard_00107</item>
<item>@drawable/guard_00108</item>
<item>@drawable/guard_00109</item>
<item>@drawable/guard_00110</item>
<item>@drawable/guard_00111</item>
<item>@drawable/guard_00112</item>
<item>@drawable/guard_00113</item>
<item>@drawable/guard_00114</item>
<item>@drawable/guard_00115</item>
<item>@drawable/guard_00116</item>
<item>@drawable/guard_00117</item>
<item>@drawable/guard_00118</item>
<item>@drawable/guard_00119</item>
<item>@drawable/guard_00120</item>
</array>
</resources>

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="CircleIndicator">
<attr name="ci_width" format="dimension" />
<attr name="ci_height" format="dimension" />
<attr name="ci_margin" format="dimension" />
<attr name="ci_orientation" format="enum">
<!-- Defines an horizontal widget. -->
<enum name="horizontal" value="0" />
<!-- Defines a vertical widget. -->
<enum name="vertical" value="1" />
</attr>
<attr name="ci_gravity">
<!-- Push object to the top of its container, not changing its size. -->
<flag name="top" value="0x30" />
<!-- Push object to the bottom of its container, not changing its size. -->
<flag name="bottom" value="0x50" />
<!-- Push object to the left of its container, not changing its size. -->
<flag name="left" value="0x03" />
<!-- Push object to the right of its container, not changing its size. -->
<flag name="right" value="0x05" />
<!-- Place object in the vertical center of its container, not changing its size. -->
<flag name="center_vertical" value="0x10" />
<!-- Grow the vertical size of the object if needed so it completely fills its container. -->
<flag name="fill_vertical" value="0x70" />
<!-- Place object in the horizontal center of its container, not changing its size. -->
<flag name="center_horizontal" value="0x01" />
<!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
<flag name="fill_horizontal" value="0x07" />
<!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
<flag name="center" value="0x11" />
<!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
<flag name="fill" value="0x77" />
<!-- Additional option that can be set to have the top and/or bottom edges of
the child clipped to its container's bounds.
The clip will be based on the vertical gravity: a top gravity will clip the bottom
edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
<flag name="clip_vertical" value="0x80" />
<!-- Additional option that can be set to have the left and/or right edges of
the child clipped to its container's bounds.
The clip will be based on the horizontal gravity: a left gravity will clip the right
edge, a right gravity will clip the left edge, and neither will clip both edges. -->
<flag name="clip_horizontal" value="0x08" />
<!-- Push object to the beginning of its container, not changing its size. -->
<flag name="start" value="0x00800003" />
<!-- Push object to the end of its container, not changing its size. -->
<flag name="end" value="0x00800005" />
</attr>
</declare-styleable>
<declare-styleable name="PasswordInputView">
<attr name="captchaBorderWidth" format="dimension" />
<attr name="captchaBorderColor" format="color" />
<attr name="captchaBorderRadius" format="dimension" />
<attr name="captchaLength" format="integer" />
<attr name="captchaWidth" format="dimension" />
<attr name="captchaColor" format="color" />
<attr name="captchaRadius" format="dimension" />
<attr name="captchaViewSize" format="dimension" />
<attr name="captchaTextSize" format="dimension" />
<attr name="captchaViewPadding" format="dimension" />
</declare-styleable>
<declare-styleable name="RoundAngleImageView">
<attr name="round" format="dimension" />
</declare-styleable>
</resources>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="BeautyBox">
<attr name="checked" format="boolean"/>
<attr name="open" format="boolean"/>
<attr name="checked_model" format="integer">
<flag name="radio" value="1"/>
<flag name="open" value="2"/>
<flag name="open_double" value="3"/>
</attr>
<attr name="drawable_open_normal" format="reference"/>
<attr name="drawable_open_checked" format="reference"/>
<attr name="drawable_close_normal" format="reference"/>
<attr name="drawable_close_checked" format="reference"/>
<attr name="text_normal" format="string"/>
<attr name="text_double" format="string"/>
<attr name="textColor_normal" format="reference|color"/>
<attr name="textColor_checked" format="reference|color"/>
</declare-styleable>
</resources>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="caiButtonStyle" parent="Base.Widget.AppCompat.Button">
<item name="android:background">@drawable/selector_button</item>
<!--<item name="android:textColor">@drawable/selector_text_color</item>-->
<item name="android:textColor">@color/colorWhite</item>
</style>
</resources>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="caiButtonStyleV2" parent="Base.Widget.AppCompat.Button">
<item name="android:background">@drawable/selector_button_v2</item>
<!--<item name="android:textColor">@drawable/selector_text_color</item>-->
<item name="android:textColor">@color/colorWhite</item>
</style>
</resources>

View File

@@ -0,0 +1,226 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#FFFFFF</color>
<color name="colorPrimaryDark">#FFFFFF</color>
<color name="colorAccent">#333333</color>
<color name="colorDevider">#D9D9D9</color>
<!--登陆页用色-->
<color name="loginLine">#cccccc</color>
<color name="loginText">#333333</color>
<color name="mainColor">#6B2CC4</color>
<color name="loginText2">#999999</color>
<color name="loginGradientStart">#2bb1f8</color>
<color name="loginGradientEnd">#1976e8</color>
<color name="email_color">#4D9AFF</color>
<color name="invitation_text_color">#FE3846</color>
<color name="invite_text_color">#5EA7FF</color>
<!--信息完善页用色-->
<color name="infoEditTextColor">#aaaaaa</color>
<color name="infoEditTextColor2">#666666</color>
<color name="socialNew">#F6F6F6</color>
<color name="mainBg">#f5f5f5</color>
<color name="trans_text_color">#99ffffff</color>
<color name="trans_text_color1">#bfffffff</color>
<color name="background">#f6f6f6</color>
<color name="buttonColor1">#f94f2e</color>
<color name="buttonColor2">#fc7f23</color>
<color name="newsCuttingLine">#eeeeee</color>
<color name="noticeCuttingLine">#cccccc</color>
<color name="newsTimeBackground">#d8d8d8</color>
<color name="frame_stroke_color">#d5d5d5</color>
<color name="transColor">#99FFFFFF</color>
<color name="nofocus">#666666</color>
<color name="level2">#9AD836</color>
<color name="level1">#7FC72D</color>
<color name="giftText">#F84F52</color>
<color name="giftText1">#FF828B</color>
<color name="giftText2">#F32B2B</color>
<color name="verfyNotificationBackground">#F94F2E</color>
<color name="daka1">#D975FF</color>
<color name="daka2">#744DF8</color>
<color name="invitation1">#4769FF</color>
<color name="invitation2">#8517DD</color>
<color name="gender_selected">#FE747B</color>
<color name="gender_normal">#F6F6F6</color>
<color name="white">#ffffff</color>
<color name="white_80">#ddFFFBFB</color>
<color name="color_2d2d2d">#2D2D2D</color>
<!--一级文字-->
<color name="one_text">#333333</color>
<!--二级文字-->
<color name="two_text">#666666</color>
<!--三级文字-->
<color name="three_text">#999999</color>
<!--分割线-->
<color name="cut_line">#eeeeee</color>
<!--私语主题色-->
<color name="yellow_ffd33e">#6B2CC4</color>
<!--私语一级文字-->
<color name="zhimi_one_text">#111111</color>
<color name="important_color">#208eef</color>
<color name="sub_color">#fc7f23</color>
<color name="grey_text">#ADADAD</color>
<color name="color_001857">#001857</color>
<!--守护的颜色-->
<color name="guard_color">#F94F2E</color>
<color name="guard_color1">#935CF8</color>
<color name="default_ev_border_color">#F6F6F6</color>
<color name="select_border_color">#000000</color>
<color name="default_ev_password_color">#ffffff</color>
<color name="transparent">#00000000</color>
<color name="percent15translucentBlack">#26000000</color>
<color name="percent30translucentBlack">#4D000000</color>
<color name="percent40translucentBlack">#66000000</color>
<color name="percent50translucentBlack">#80000000</color>
<color name="percent60translucentBlack">#99000000</color>
<color name="colorWhite">#FFFFFFFF</color>
<color name="main_color">#FF5EC7FE</color>
<color name="main_color_79CDF9">#FF79CDF9</color>
<color name="main_color_gray">#FFA8A8A8</color>
<color name="main_color_c5c5c5">#FFC5C5C5</color>
<color name="main_color_090017">#FF090017</color>
<color name="line_302D33">#FF302D33</color>
<color name="faceUnityYellow">#ffcb15</color>
<color name="faceUnityGreen">#2ddbb1</color>
<color name="unselect_gray">#48ffffff</color>
<!-- Whites -->
<color name="antiqueWhiteColor">#faebd7</color>
<color name="oldLaceColor">#fdf5e6</color>
<color name="ivoryColor">#fffff0</color>
<color name="seashellColor">#fff5ee</color>
<color name="ghostWhiteColor">#f8f8ff</color>
<color name="snowColor">#fffafa</color>
<color name="linenColor">#faf0e6</color>
<!-- Grays -->
<color name="black25PercentColor">#404040</color>
<color name="black50PercentColor">#808080</color>
<color name="black75PercentColor">#c0c0c0</color>
<color name="black">#000000</color>
<color name="warmGrayColor">#857570</color>
<color name="coolGrayColor">#767a85</color>
<color name="charcoalColor">#222222</color>
<color name="C4C4C4">#FFC4C4C4</color>
<!-- Blues -->
<color name="tealColor">#1ca0aa</color>
<color name="steelBlueColor">#6799aa</color>
<color name="robinEggColor">#8ddaf7</color>
<color name="pastelBlueColor">#63a1f7</color>
<color name="turquoiseColor">#70dbdb</color>
<color name="skyBlueColor">#00b2ee</color>
<color name="indigoColor">#0d4f8b</color>
<color name="denimColor">#4372aa</color>
<color name="blueberryColor">#5971ad</color>
<color name="cornflowerColor">#6495ed</color>
<color name="babyBlueColor">#bedce6</color>
<color name="midnightBlueColor">#0d1a23</color>
<color name="fadedBlueColor">#17899b</color>
<color name="icebergColor">#c8d5db</color>
<color name="waveColor">#66a9fb</color>
<!-- Greens -->
<color name="emeraldColor">#019875</color>
<color name="grassColor">#63d64a</color>
<color name="pastelGreenColor">#7ef27c</color>
<color name="seafoamColor">#4de28c</color>
<color name="paleGreenColor">#b0e2ac</color>
<color name="cactusGreenColor">#636f57</color>
<color name="chartreuseColor">#458b00</color>
<color name="hollyGreenColor">#20570e</color>
<color name="oliveColor">#5b7222</color>
<color name="oliveDrabColor">#6b8e23</color>
<color name="moneyGreenColor">#86c67c</color>
<color name="honeydewColor">#d8ffe7</color>
<color name="limeColor">#38ed38</color>
<color name="cardTableColor">#57796b</color>
<!-- Reds -->
<color name="salmonColor">#e9575f</color>
<color name="brickRedColor">#971b10</color>
<color name="easterPinkColor">#f1a7a2</color>
<color name="grapefruitColor">#e41f36</color>
<color name="pinkColor">#ff5f9a</color>
<color name="indianRedColor">#cd5c5c</color>
<color name="strawberryColor">#be2625</color>
<color name="coralColor">#f08080</color>
<color name="maroonColor">#50041c</color>
<color name="watermelonColor">#f2473f</color>
<color name="tomatoColor">#ff6347</color>
<color name="pinkLipstickColor">#ff69b4</color>
<color name="paleRoseColor">#ffe4e1</color>
<color name="crimsonColor">#bb1224</color>
<color name="FF4F73">#FF4F73</color>
<color name="F9528F">#F9528F</color>
<color name="E9F">#002E9F</color>
<!-- Purples -->
<color name="eggplantColor">#690562</color>
<color name="pastelPurpleColor">#cf64eb</color>
<color name="palePurpleColor">#e5b4eb</color>
<color name="coolPurpleColor">#8c5de4</color>
<color name="violetColor">#bf5fff</color>
<color name="plumColor">#8b668b</color>
<color name="lavenderColor">#cc99cc</color>
<color name="raspberryColor">#872657</color>
<color name="fuschiaColor">#ff1493</color>
<color name="grapeColor">#360b58</color>
<color name="periwinkleColor">#879fed</color>
<color name="orchidColor">#da70d6</color>
<!-- Yellows -->
<color name="goldenrodColor">#d7aa33</color>
<color name="yellowGreenColor">#c0f227</color>
<color name="bananaColor">#e5e33a</color>
<color name="mustardColor">#cdab2d</color>
<color name="buttermilkColor">#fef1b5</color>
<color name="goldColor">#8b7512</color>
<color name="creamColor">#f0e2bb</color>
<color name="lightCreamColor">#f0eed7</color>
<color name="wheatColor">#f0eed7</color>
<color name="beigeColor">#f5f5dc</color>
<!-- Oranges -->
<color name="peachColor">#f2bb61</color>
<color name="burntOrangeColor">#b86625</color>
<color name="pastelOrangeColor">#f8c58f</color>
<color name="cantaloupeColor">#fa9a4f</color>
<color name="carrotColor">#ed9121</color>
<color name="mandarinColor">#f79137</color>
<!-- Browns -->
<color name="chiliPowderColor">#c73f17</color>
<color name="burntSiennaColor">#8a360f</color>
<color name="chocolateColor">#5e2605</color>
<color name="coffeeColor">#8d3c0f</color>
<color name="cinnamonColor">#7b3f09</color>
<color name="almondColor">#c48e48</color>
<color name="eggshellColor">#fce6c9</color>
<color name="sandColor">#deb697</color>
<color name="mudColor">#462d1d</color>
<color name="siennaColor">#a0522d</color>
<color name="dustColor">#ecd6c5</color>
<!--红包-->
<color name="red_bg_color">#FFE000</color>
<color name="red_bg_color1">#FFE1D5</color>
<color name="verison_name_color">#FF9ECF</color>
</resources>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Gustavo Claramunt (AnderWeb) 2014.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<!-- DiscreteSeekBar specific attributes -->
<declare-styleable name="Theme">
<attr name="discreteSeekBarStyle" format="reference"/>
</declare-styleable>
<declare-styleable name="DiscreteSeekBar">
<attr name="dsb_min" format="integer|dimension"/>
<attr name="dsb_max" format="integer|dimension"/>
<attr name="dsb_value" format="integer|dimension"/>
<attr name="dsb_mirrorForRtl" format="boolean"/>
<attr name="dsb_allowTrackClickToDrag" format="boolean"/>
<attr name="dsb_progressColor" format="color|reference"/>
<attr name="dsb_trackColor" format="color|reference"/>
<attr name="dsb_indicatorTextAppearance" format="reference"/>
<attr name="dsb_indicatorColor" format="color|reference"/>
<attr name="dsb_indicatorElevation" format="dimension"/>
<attr name="dsb_indicatorFormatter" format="string|reference"/>
<attr name="dsb_rippleColor" format="color|reference"/>
<attr name="dsb_indicatorPopupEnabled" format="boolean"/>
<attr name="dsb_trackHeight" format="integer|dimension"/>
<attr name="dsb_trackBaseHeight" format="integer|dimension"/>
<attr name="dsb_scrubberHeight" format="integer|dimension"/>
<attr name="dsb_thumbSize" format="integer|dimension"/>
<attr name="dsb_indicatorSeparation" format="integer|dimension"/>
</declare-styleable>
</resources>

View File

@@ -0,0 +1,39 @@
<!--
~ Copyright (c) Gustavo Claramunt (AnderWeb) 2014.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<color name="dsb_progress_color">#ff009688</color>
<color name="dsb_track_color">#ff939393</color>
<color name="dsb_disabled_color">#66939393</color>
<color name="dsb_ripple_color_pressed">#77939393</color>
<color name="dsb_ripple_color_focused">#99999999</color>
<style name="Widget.DiscreteSeekBar" parent="android:Widget">
<item name="dsb_indicatorTextAppearance">@style/Widget.DiscreteIndicatorTextAppearance</item>
<item name="dsb_progressColor">@color/dsb_progress_color_list</item>
<item name="dsb_trackColor">@color/dsb_track_color_list</item>
<item name="dsb_rippleColor">@color/dsb_ripple_color_list</item>
<item name="dsb_indicatorColor">@color/dsb_progress_color</item>
<item name="dsb_indicatorElevation">4dp</item>
<item name="dsb_mirrorForRtl">true</item>
</style>
<style name="Widget.DiscreteIndicatorTextAppearance" parent="android:TextAppearance.Small">
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
<item name="android:padding">6dp</item>
</style>
</resources>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,74 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:buttonStyle">@style/caiButtonStyle</item>
<item name="android:windowLightStatusBar" tools:ignore="NewApi">true</item>
</style>
<style name="launchTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:buttonStyle">@style/caiButtonStyle</item>
<item name="android:windowNoTitle">true</item>
<!-- <item name="android:windowBackground">@drawable/launch</item>-->
<!-- <item name="android:windowFullscreen">true</item>-->
</style>
<!--dialog样式的界面-->
<style name="dialog_style" parent="Theme.AppCompat.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowNoTitle">true</item>        
<item name="android:windowIsFloating">true</item>
<item name="windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:backgroundDimEnabled">true</item>
</style>
<style name="FeedDialog" parent="Theme.AppCompat.Dialog">
<!-- 是否有边框 -->
<item name="android:windowFrame">@null</item>
<!--是否在悬浮Activity之上 -->
<item name="android:windowIsFloating">true</item>
<!--标题 -->
<item name="android:windowNoTitle">true</item>
<!--阴影 -->
<item name="android:windowIsTranslucent">true</item><!--半透明-->
<!-- 点外边可以消失 -->
<item name="android:windowCloseOnTouchOutside">true</item>
<item name="android:windowBackground">@color/white_80</item>
<!-- 还可以加入一些弹出和退出的动画 (lan)-->
</style>
<style name="CommonDialog" parent="Theme.AppCompat.Dialog">
<!-- 是否有边框 -->
<item name="android:windowFrame">@null</item>
<!--是否在悬浮Activity之上 -->
<item name="android:windowIsFloating">true</item>
<!--标题 -->
<item name="android:windowNoTitle">true</item>
<!--阴影 -->
<item name="android:windowIsTranslucent">true</item><!--半透明-->
<!-- 点外边可以消失 -->
<item name="android:windowCloseOnTouchOutside">true</item>
<item name="android:windowBackground">@color/transparent</item>
<!-- 还可以加入一些弹出和退出的动画 (lan)-->
</style>
<style name="Transparent" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground" >@color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<!--继承Theme.AppCompat.NoActionBar不显示标题栏-->
<style name="TransparentTheme" parent="Theme.AppCompat.NoActionBar"> <!--不设置activity进入和退出动画样式-->
<item name="android:windowAnimationStyle">@null</item> <!--设置窗口的背景为透明,设置透明背景必须要设置此项-->
<item name="android:windowBackground">@android:color/transparent
</item> <!--设置窗口的背景是否为半透明,设置透明背景必须要设置此项-->
<item name="android:windowIsTranslucent">true</item> <!--设置状态栏的背景为半透明-->
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="xfermode_radio_btn">
<attr name="text_xfermode" format="string"/>
<attr name="text_size_xfermode" format="dimension"/>
</declare-styleable>
</resources>