Commit 2722b1aa authored by Mygod's avatar Mygod

Rename package

parent 4bfc5ee0
...@@ -2,34 +2,34 @@ ...@@ -2,34 +2,34 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/com.github.shadowsocks"> xmlns:app="http://schemas.android.com/apk/res/com.github.shadowsocks">
<tk.mygod.preference.PreferenceCategory <be.mygod.preference.PreferenceCategory
android:title="@string/proxy_cat"> android:title="@string/proxy_cat">
<tk.mygod.preference.EditTextPreference <be.mygod.preference.EditTextPreference
android:key="profileName" android:key="profileName"
android:persistent="false" android:persistent="false"
android:summary="%s" android:summary="%s"
android:title="@string/profile_name"/> android:title="@string/profile_name"/>
<tk.mygod.preference.EditTextPreference <be.mygod.preference.EditTextPreference
android:key="proxy" android:key="proxy"
android:persistent="false" android:persistent="false"
android:summary="%s" android:summary="%s"
android:title="@string/proxy"/> android:title="@string/proxy"/>
<tk.mygod.preference.NumberPickerPreference <be.mygod.preference.NumberPickerPreference
app:min="1" app:min="1"
app:max="65535" app:max="65535"
android:key="remotePortNum" android:key="remotePortNum"
android:persistent="false" android:persistent="false"
android:summary="%d" android:summary="%d"
android:title="@string/remote_port"/> android:title="@string/remote_port"/>
<tk.mygod.preference.NumberPickerPreference <be.mygod.preference.NumberPickerPreference
app:min="1025" app:min="1025"
app:max="65535" app:max="65535"
android:key="localPortNum" android:key="localPortNum"
android:persistent="false" android:persistent="false"
android:summary="%d" android:summary="%d"
android:title="@string/port"/> android:title="@string/port"/>
<tk.mygod.preference.EditTextPreference <be.mygod.preference.EditTextPreference
android:inputType="textPassword" android:inputType="textPassword"
android:key="sitekey" android:key="sitekey"
android:persistent="false" android:persistent="false"
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
android:summary="@string/onetime_auth_summary" android:summary="@string/onetime_auth_summary"
android:title="@string/onetime_auth"/> android:title="@string/onetime_auth"/>
</tk.mygod.preference.PreferenceCategory> </be.mygod.preference.PreferenceCategory>
<tk.mygod.preference.PreferenceCategory <be.mygod.preference.PreferenceCategory
android:title="@string/feature_cat"> android:title="@string/feature_cat">
<android.support.v7.preference.DropDownPreference <android.support.v7.preference.DropDownPreference
...@@ -76,9 +76,9 @@ ...@@ -76,9 +76,9 @@
android:summary="@string/udp_dns_summary" android:summary="@string/udp_dns_summary"
android:title="@string/udp_dns"/> android:title="@string/udp_dns"/>
</tk.mygod.preference.PreferenceCategory> </be.mygod.preference.PreferenceCategory>
<tk.mygod.preference.PreferenceCategory <be.mygod.preference.PreferenceCategory
android:title="@string/kcp"> android:title="@string/kcp">
<SwitchPreference <SwitchPreference
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
android:summary="@string/kcp_summary" android:summary="@string/kcp_summary"
android:title="@string/kcp"/> android:title="@string/kcp"/>
<tk.mygod.preference.NumberPickerPreference <be.mygod.preference.NumberPickerPreference
app:min="1" app:min="1"
app:max="65535" app:max="65535"
android:key="kcpPort" android:key="kcpPort"
...@@ -95,15 +95,15 @@ ...@@ -95,15 +95,15 @@
android:summary="@string/kcp_port_summary" android:summary="@string/kcp_port_summary"
android:title="@string/kcp_port"/> android:title="@string/kcp_port"/>
<tk.mygod.preference.EditTextPreference <be.mygod.preference.EditTextPreference
android:key="kcpcli" android:key="kcpcli"
android:persistent="false" android:persistent="false"
android:summary="%s" android:summary="%s"
android:title="@string/kcpcli"/> android:title="@string/kcpcli"/>
</tk.mygod.preference.PreferenceCategory> </be.mygod.preference.PreferenceCategory>
<tk.mygod.preference.PreferenceCategory android:title="@string/misc_cat"> <be.mygod.preference.PreferenceCategory android:title="@string/misc_cat">
<SwitchPreference <SwitchPreference
android:key="isAutoConnect" android:key="isAutoConnect"
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
android:summary="@string/flush_dnscache_summary"/> android:summary="@string/flush_dnscache_summary"/>
<Preference android:key="about" android:title="@string/about"/> <Preference android:key="about" android:title="@string/about"/>
</tk.mygod.preference.PreferenceCategory> </be.mygod.preference.PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>
package tk.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
import android.support.v7.preference.{EditTextPreference => Parent} import android.support.v7.preference.{EditTextPreference => Parent}
......
package tk.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
import android.support.v14.preference.PreferenceDialogFragment import android.support.v14.preference.PreferenceDialogFragment
......
package tk.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
import android.content.res.TypedArray import android.content.res.TypedArray
......
package tk.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
import android.support.v14.preference.PreferenceDialogFragment import android.support.v14.preference.PreferenceDialogFragment
......
package tk.mygod.preference package be.mygod.preference
import android.content.Context import android.content.Context
import android.support.v7.preference.{PreferenceViewHolder, PreferenceCategory => Base} import android.support.v7.preference.{PreferenceViewHolder, PreferenceCategory => Base}
......
package tk.mygod.preference package be.mygod.preference
import android.app.DialogFragment import android.app.DialogFragment
import android.os.Bundle import android.os.Bundle
......
package tk.mygod.preference package be.mygod.preference
import java.lang.reflect.Field import java.lang.reflect.Field
import java.util.List import java.util.List
......
package tk.mygod.preference package be.mygod.preference
import android.support.v7.preference.Preference import android.support.v7.preference.Preference
......
...@@ -15,7 +15,7 @@ import com.github.shadowsocks.ShadowsocksApplication.app ...@@ -15,7 +15,7 @@ import com.github.shadowsocks.ShadowsocksApplication.app
import com.github.shadowsocks.database.Profile import com.github.shadowsocks.database.Profile
import com.github.shadowsocks.preferences.KcpCliPreferenceDialogFragment import com.github.shadowsocks.preferences.KcpCliPreferenceDialogFragment
import com.github.shadowsocks.utils.{Key, TcpFastOpen, Utils} import com.github.shadowsocks.utils.{Key, TcpFastOpen, Utils}
import tk.mygod.preference._ import be.mygod.preference._
object ShadowsocksSettings { object ShadowsocksSettings {
// Constants // Constants
......
...@@ -3,7 +3,7 @@ package com.github.shadowsocks.preferences ...@@ -3,7 +3,7 @@ package com.github.shadowsocks.preferences
import android.app.AlertDialog import android.app.AlertDialog
import android.content.DialogInterface import android.content.DialogInterface
import eu.chainfire.libsuperuser.Shell import eu.chainfire.libsuperuser.Shell
import tk.mygod.preference.EditTextPreferenceDialogFragment import be.mygod.preference.EditTextPreferenceDialogFragment
import scala.collection.JavaConverters._ import scala.collection.JavaConverters._
......
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