diff --git a/build.sbt b/build.sbt index 1edc6161..a7652e58 100644 --- a/build.sbt +++ b/build.sbt @@ -39,7 +39,8 @@ libraryDependencies ++= Seq( "com.android.support" % "design" % "23.1.1", "com.github.jorgecastilloprz" % "fabprogresscircle" % "1.01", "com.j256.ormlite" % "ormlite-core" % "4.48", - "com.j256.ormlite" % "ormlite-android" % "4.48" + "com.j256.ormlite" % "ormlite-android" % "4.48", + "com.twofortyfouram" % "android-plugin-api-for-locale" % "1.0.2" ) proguardOptions in Android ++= Seq("-keep class com.github.shadowsocks.** { (...); }", diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index ee900853..b2562202 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -80,6 +80,14 @@ android:parentActivityName=".Shadowsocks" android:launchMode="singleTask"/> + + + + + + @@ -109,6 +117,11 @@ + + + + + diff --git a/src/main/res/layout/layout_tasker.xml b/src/main/res/layout/layout_tasker.xml new file mode 100644 index 00000000..b534a537 --- /dev/null +++ b/src/main/res/layout/layout_tasker.xml @@ -0,0 +1,30 @@ + + + + + + +