i don't know what i did

This commit is contained in:
hyb1996
2017-09-20 14:02:03 +08:00
parent d227d76d87
commit 43b7132280
30 changed files with 817 additions and 640 deletions

View File

@@ -49,6 +49,7 @@
android:layout_margin="16dp"
android:clickable="true"
android:src="@drawable/ic_add_white_48dp"
app:backgroundTint="@color/colorPrimary"
app:layout_anchor="@id/viewpager"
app:layout_anchorGravity="bottom|right|end"
app:layout_behavior="com.stardust.widget.ScrollAwareFABBehavior"/>

View File

@@ -21,6 +21,7 @@
android:id="@+id/accessibility_service"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:anti_shake="true"
app:icon="@drawable/ic_service_green"
app:title="@string/text_accessibility_service"
app:with_switch="true"/>
@@ -30,6 +31,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_stable"
app:pref_key="@string/key_stable_mode"
app:title="@string/text_stable_mode"
app:with_switch="true"/>
@@ -46,6 +48,7 @@
android:id="@+id/floating_window"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:anti_shake="true"
app:icon="@drawable/ic_robot_64"
app:title="@string/text_floating_window"
app:with_switch="true"/>
@@ -55,6 +58,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:icon="@drawable/ic_volume"
app:pref_key="@string/key_use_volume_control_record"
app:title="@string/text_volume_down_control"
app:with_switch="true"/>
@@ -71,6 +75,7 @@
android:id="@+id/debug"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:anti_shake="true"
app:icon="@drawable/ic_debug"
app:title="@string/debug"
app:with_switch="true"/>

View File

@@ -1,18 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?selectableItemBackground"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon"
<FrameLayout
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_margin="16dp"
android:tint="#999999"
tools:src="@drawable/ic_service_green"/>
android:layout_margin="16dp">
<ImageView
android:id="@+id/icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:tint="#999999"
tools:src="@drawable/ic_service_green"/>
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
android:id="@+id/progress_bar"
android:layout_width="16dp"
android:layout_height="16dp"
android:backgroundTint="#999999"
android:visibility="gone"/>
</FrameLayout>
<TextView
android:id="@+id/title"
@@ -24,7 +39,7 @@
android:textSize="14sp"
tools:text="@string/text_auto_operate_service"/>
<com.stardust.theme.widget.ThemeColorSwitch
<com.stardust.widget.PrefSwitch
android:id="@+id/sw"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@@ -45,11 +45,11 @@
<ImageView
android:layout_width="match_parent"
android:layout_height="118dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="-12dp"
android:layout_toRightOf="@+id/avatar"
android:layout_alignParentBottom="true"
android:src="@drawable/android_eating_half"
android:alpha="0.08"
android:src="@drawable/android_eating_half"
android:tint="#000000"/>

View File

@@ -19,6 +19,8 @@
<attr name="title"/>
<attr name="icon"/>
<attr name="with_switch" format="boolean"/>
<attr name="pref_key" format="string|reference"/>
<attr name="anti_shake" format="boolean"/>
</declare-styleable>
<declare-styleable name="DrawerMenuGroup">

View File

@@ -236,11 +236,13 @@
<string name="not_login">未登录</string>
<string name="text_volume_down_control">音量下键控制</string>
<string name="text_others">其他</string>
<string name="text_import">导入...</string>
<string name="text_import">导入</string>
<string name="text_auto_mode">auto模式</string>
<string name="text_ui_mode">ui模式</string>
<string name="text_new">新建</string>
<string name="text_choose_file">选择文件</string>
<string name="text_click_too_frequently">您的操作太快啦ヽ(#`Д´)ノ</string>
<string name="text_connecting">连接中…</string>
<string-array name="record_control_keys">

View File

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="theme_color_red">基佬红</string>
<string name="theme_color_pink">基佬粉</string>
<string name="theme_color_purple">基佬紫</string>
<string name="theme_color_dark_purple">基深紫</string>
<string name="theme_color_indigo">基靛蓝</string>
<string name="theme_color_blue">基佬蓝</string>
<string name="theme_color_light_blue">基亮蓝</string>
<string name="theme_color_blue_green">基蓝绿</string>
<string name="theme_color_cyan">基佬青</string>
<string name="theme_color_green">基佬绿</string>
<string name="theme_color_light_green">基亮绿</string>
<string name="theme_color_yellow_green">基黄绿</string>
<string name="theme_color_yellow">基佬黄</string>
<string name="theme_color_amber">基琥珀</string>
<string name="theme_color_orange">基佬橙</string>
<string name="theme_color_dark_orange">基深橙</string>
<string name="theme_color_brown">基佬棕</string>
<string name="theme_color_gray">基佬灰</string>
<string name="theme_color_blue_gray">基蓝灰</string>
<color name="theme_color_red">#F44336</color>
<color name="theme_color_pink">#E91E63</color>
<color name="theme_color_purple">#9C27B0</color>
<color name="theme_color_dark_purple">#673AB7</color>
<color name="theme_color_indigo">#3F51B5</color>
<color name="theme_color_blue">#2196F3</color>
<color name="theme_color_light_blue">#03A9F4</color>
<color name="theme_color_blue_green">#00BCD4</color>
<color name="theme_color_cyan">#009688</color>
<color name="theme_color_green">#4CAF50</color>
<color name="theme_color_light_green">#8BC34A</color>
<color name="theme_color_yellow_green">#CDDC39</color>
<color name="theme_color_yellow">#FFEB3B</color>
<color name="theme_color_amber">#FFC107</color>
<color name="theme_color_orange">#FF9800</color>
<color name="theme_color_dark_orange">#FF5722</color>
<color name="theme_color_brown">#795548</color>
<color name="theme_color_gray">#9E9E9E</color>
<color name="theme_color_blue_gray">#607D8B</color>
</resources>