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"/>