优化天气,增加悬浮窗,增加快捷拨号,增加设置默认桌面
This commit is contained in:
26
app/src/main/res/values/attrs.xml
Normal file
26
app/src/main/res/values/attrs.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="ToggleButton">
|
||||
<attr name="tbBorderWidth" format="dimension" />
|
||||
<attr name="tbOffBorderColor" format="reference|color" />
|
||||
<attr name="tbOffColor" format="reference|color" />
|
||||
<attr name="tbOnColor" format="reference|color" />
|
||||
<attr name="tbSpotColor" format="reference|color" />
|
||||
<attr name="tbAnimate" format="reference|boolean" />
|
||||
<attr name="tbAsDefaultOn" format="reference|boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="SettingItem">
|
||||
<attr name="optionsText" format="reference|string" />
|
||||
<attr name="optionsTextColor" format="reference|color" />
|
||||
<attr name="enableText" format="reference|string" />
|
||||
<attr name="disableText" format="reference|string" />
|
||||
<attr name="enableTextColor" format="reference|color" />
|
||||
<attr name="showHintText" format="reference|boolean" />
|
||||
<attr name="showToggle" format="reference|boolean" />
|
||||
<attr name="showMore" format="reference|boolean" />
|
||||
<attr name="linkage" format="reference|boolean" />
|
||||
<attr name="dividerLine" format="reference|boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
@@ -1,14 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#6200EE</color>
|
||||
<color name="colorPrimaryDark">#3700B3</color>
|
||||
<color name="colorAccent">#03DAC5</color>
|
||||
<color name="colorPrimary">#2196F3</color>
|
||||
<color name="colorPrimaryDark">#3F51B5</color>
|
||||
<color name="colorAccent">#03A9F4</color>
|
||||
|
||||
<color name="indicator_color_normal">#99bd2f25</color>
|
||||
<color name="indicator_color_selected">#BD2F25</color>
|
||||
|
||||
<color name="default_background_color">#F8CBBD</color>
|
||||
<color name="default_background_color">#ECECEC</color>
|
||||
|
||||
<color name="settings_text_color_item">#000000</color>
|
||||
<color name="setting_enable_color">#000000</color>
|
||||
<color name="setting_disable_color">#9D9D9D</color>
|
||||
|
||||
|
||||
<!--https://www.jianshu.com/p/8dc258dfd189-->
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
<dimen name="home_item_text_size">20sp</dimen>
|
||||
<dimen name="default_radius">8dp</dimen>
|
||||
|
||||
<dimen name="settings_item_height">80dp</dimen>
|
||||
<dimen name="settings_text_size">18sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">15sp</dimen>
|
||||
<dimen name="top_height">2dp</dimen>
|
||||
|
||||
|
||||
<dimen name="dp_m_60">-60dp</dimen>
|
||||
<dimen name="dp_m_30">-30dp</dimen>
|
||||
<dimen name="dp_m_20">-20dp</dimen>
|
||||
|
||||
@@ -5,6 +5,45 @@
|
||||
<string name="hello_blank_fragment">Hello blank fragment</string>
|
||||
<string name="floating_action_button_behavior">com.ttstd.dialer.view.ScrollAwareFABBehavior</string>
|
||||
|
||||
<string name="kill_app_number">共清理了%d个应用</string>
|
||||
|
||||
<string name="accessibility_service_label">❤拨号助手无障碍服务👈🏻</string>
|
||||
<string name="accessibility_service_description">使用拨号助手一键拨号</string>
|
||||
|
||||
<!--call start-->
|
||||
<string name="options_text_fast_call_phone">开启快捷通话</string>
|
||||
<string name="enable_text_fast_call_phone">已开启,快捷联系人通话类型</string>
|
||||
<string name="disable_text_fast_call_phone">未开启,快捷联系人通话类型</string>
|
||||
|
||||
<string name="options_text_voice_broadcast">来电语音播报</string>
|
||||
<string name="enable_text_voice_broadcast">已开启,电话呼入时语音播报联系人</string>
|
||||
<string name="disable_text_voice_broadcast">未开启,电话呼入时语音播报联系人</string>
|
||||
|
||||
<string name="options_text_auto_accept">微信自动接听</string>
|
||||
<string name="enable_text_auto_accept">已开启,自动接听视频和语音</string>
|
||||
<string name="disable_text_auto_accept">未开启,自动接听视频和语音</string>
|
||||
|
||||
<string name="options_text_hands_free">自动开启免提</string>
|
||||
<string name="enable_text_hands_free">已开启,自动开启免提</string>
|
||||
<string name="disable_text_hands_free">未开启,自动开启免提</string>
|
||||
|
||||
<string name="options_text_auto_call">微信自动拨打视频</string>
|
||||
<string name="enable_text_auto_call">已开启,无障碍模式实现微信一键通话</string>
|
||||
<string name="disable_text_auto_call">未开启,无障碍模式实现微信一键通话</string>
|
||||
<!--call end-->
|
||||
|
||||
<!--utils start-->
|
||||
<string name="options_text_float">开启悬浮按钮</string>
|
||||
<string name="enable_text_float">已开启,点小圆点可以直接返回桌面</string>
|
||||
<string name="disable_text_float">未开启,点小圆点可以直接返回桌面</string>
|
||||
|
||||
<string name="options_text_float_kill">悬浮按钮清理内存</string>
|
||||
<string name="enable_text_float_kill">已开启,在桌面时点击悬浮窗清理内存</string>
|
||||
<string name="disable_text_float_kill">未开启,在桌面时点击悬浮窗清理内存</string>
|
||||
|
||||
<string name="options_text_default_launcher">设置为默认桌面</string>
|
||||
<string name="enable_text_default_launcher">已设置为默认桌面</string>
|
||||
<string name="disable_text_default_launcher">未设置为默认桌面</string>
|
||||
<!--utils end-->
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="backgroundColor">@color/default_background_color</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="AppThemeFitsSystemWindows" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
@@ -28,6 +30,7 @@
|
||||
<item name="colorPrimary">@color/black</item>
|
||||
<item name="colorPrimaryDark">@color/black</item>
|
||||
<item name="colorAccent">@color/black</item>
|
||||
<item name="backgroundColor">@color/black</item>
|
||||
<item name="android:fitsSystemWindows">true</item>
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user