@@ -0,0 +1,1199 @@
+package daylemk.xposed.xbridge.ui;%0A%0Aimport android.os.Bundle;%0Aimport android.preference.PreferenceFragment;%0A%0Aimport daylemk.xposed.xbridge.action.Action;%0Aimport daylemk.xposed.xbridge.action.PlayAction;%0Aimport daylemk.xposed.xbridge.data.MainPreferences;%0Aimport daylemk.xposed.xbridge.utils.Log;%0A%0A/**%0A * Created by DayLemK on 2015/5/18.%0A * the abstract fragment of all fragment in xbridge activity%0A */%0Apublic abstract class AbstractPreferenceFragment extends PreferenceFragment%7B%0A    public static final String TAG = %22AbstractPreferenceFragment%22;%0A%0A    @Override%0A    public void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        // set the preference of the fragment on create%0A        MainPreferences.setSharedPreferences(getPreferenceManager());%0A        // load the preference every time%0A        // EDIT: no need%0A//        MainPreferences.loadPreference();%0A        // first time on UI, load keys and values%0A        if (PlayAction.keyShow == null) %7B%0A            MainPreferences.loadPreferenceKeys(getResources());%0A            Log.d(TAG, %22on create: reload preference keys%22);%0A            MainPreferences.loadPreference(getPreferenceManager());%0A        %7D%0A    %7D%0A%7D%0A

add a missed file.