Commit 0b2c9fbc authored by Mygod's avatar Mygod

Fix issues on Android 4.4

parent a7425128
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.github.shadowsocks"> package="com.github.shadowsocks"
android:installLocation="internalOnly">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt" xmlns:aapt="http://schemas.android.com/aapt"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:drawable="@drawable/ic_service_active" android:drawable="@drawable/ic_service_busy"
tools:ignore="NewApi"> tools:ignore="NewApi">
<target android:name="path"> <target android:name="path">
<aapt:attr name="android:animation"> <aapt:attr name="android:animation">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt" xmlns:aapt="http://schemas.android.com/aapt"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:drawable="@drawable/ic_service_active" android:drawable="@drawable/ic_service_busy"
tools:ignore="NewApi"> tools:ignore="NewApi">
<target android:name="path"> <target android:name="path">
<aapt:attr name="android:animation"> <aapt:attr name="android:animation">
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_alignTop="@+id/stat" android:layout_alignTop="@+id/stat"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:layout_marginTop="-28dp" android:layout_marginTop="@dimen/fab_margin_top"
android:elevation="6dp"> android:elevation="6dp">
<com.github.shadowsocks.widget.ServiceButton <com.github.shadowsocks.widget.ServiceButton
android:id="@+id/fab" android:id="@+id/fab"
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="fab_margin_top">-28dp</dimen>
</resources>
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
<dimen name="profile_item_max_width">480dp</dimen> <dimen name="profile_item_max_width">480dp</dimen>
<dimen name="qr_code_size">250dp</dimen> <dimen name="qr_code_size">250dp</dimen>
<dimen name="profile_padding">8dp</dimen> <dimen name="profile_padding">8dp</dimen>
<dimen name="fab_margin_top">-44dp</dimen>
</resources> </resources>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment