add: new ui for drawer

This commit is contained in:
hyb1996
2017-08-25 13:10:52 +08:00
parent 16d48bd6b5
commit 5d6e66d5d5
27 changed files with 419 additions and 328 deletions

View File

@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="title" format="string|reference"/>
<attr name="icon" format="reference"/>
<declare-styleable name="ToolbarMenuItem">
<attr name="text" format="string|reference"/>
<attr name="icon" format="reference"/>
<attr name="icon"/>
<attr name="icon_color" format="color|reference"/>
</declare-styleable>
@@ -12,6 +15,15 @@
<attr name="defaultValue" format="boolean"/>
</declare-styleable>
<declare-styleable name="DrawerMenuItem">
<attr name="title"/>
<attr name="icon"/>
<attr name="with_switch" format="boolean"/>
</declare-styleable>
<declare-styleable name="DrawerMenuGroup">
<attr name="title"/>
</declare-styleable>
<declare-styleable name="MaterialEditText">

View File

@@ -152,7 +152,7 @@
<string name="text_checking_update">正在检查更新</string>
<string name="text_new_version">新版本</string>
<string name="text_check_update_error">检查更新失败Orz</string>
<string name="text_check_update">检查更新</string>
<string name="text_check_for_updates">检查更新</string>
<string name="text_is_latest_version">已经是最新版本</string>
<string name="text_version_too_old">版本过低</string>
<string name="warning_version_too_old">当然版本为公测版,显现和潜在的问题很多,不再适合继续使用,</string>
@@ -233,6 +233,9 @@
<string name="text_script">脚本</string>
<string name="text_community">社区</string>
<string name="text_manage">管理</string>
<string name="not_login">未登录</string>
<string name="text_volume_down_control">音量下键控制</string>
<string name="text_others">其他</string>
<string-array name="record_control_keys">