|
@@ -1,8 +1,10 @@
|
|
|
package me.yoqi.app.notescanner.notescanner.activity;
|
|
|
|
|
|
import android.content.Context;
|
|
|
+import android.content.SharedPreferences;
|
|
|
import android.net.Uri;
|
|
|
import android.os.Bundle;
|
|
|
+import android.preference.PreferenceFragment;
|
|
|
import android.support.v4.app.Fragment;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
@@ -18,7 +20,7 @@ import me.yoqi.app.notescanner.notescanner.R;
|
|
|
* Use the {@link SettingFragment#newInstance} factory method to
|
|
|
* create an instance of this fragment.
|
|
|
*/
|
|
|
-public class SettingFragment extends Fragment {
|
|
|
+public class SettingFragment extends PreferenceFragment {
|
|
|
// TODO: Rename parameter arguments, choose names that match
|
|
|
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
|
|
private static final String ARG_PARAM1 = "param1";
|