java类android.preference.Preference.OnPreferenceClickListener的实例源码

SettingsFragment.java 文件源码 项目:Linphone4Android 阅读 26 收藏 0 点赞 0 评论 0
private void initSettings() {
    initTunnelSettings();
    initAudioSettings();
    initVideoSettings();
    initCallSettings();
    initChatSettings();
    initNetworkSettings();
    initAdvancedSettings();

    findPreference(getString(R.string.pref_add_account_key)).setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(Preference preference) {
            int nbAccounts = mPrefs.getAccountCount();
            LinphoneActivity.instance().displayAccountSettings(nbAccounts);
            return true;
        }
    });
}
Credits.java 文件源码 项目:MakiLite 阅读 24 收藏 0 点赞 0 评论 0
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addPreferencesFromResource(R.xml.about_preferences);
    Context context = MakiApplication.getContextOfApplication();
    PreferenceManager.getDefaultSharedPreferences(context);

    //open about dialog
    Preference preferenceabout = findPreference("about");
    preferenceabout.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(Preference preference) {
            AlertDialog.Builder builder =
                    new AlertDialog.Builder(getActivity(), R.style.AppCompatAlertDialogStyle);
            builder.setTitle(getResources().getString(R.string.about_header));
            builder.setMessage(Html.fromHtml(getResources().getString(R.string.about_text)));
            builder.setPositiveButton(getResources().getString(R.string.ok), null);
            builder.setNegativeButton(null, null);
            builder.show();

            return true;
        }
    });


}
SecurityPreferenceFragment.java 文件源码 项目:easyfilemanager 阅读 16 收藏 0 点赞 0 评论 0
@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      addPreferencesFromResource(R.xml.pref_security);

      findPreference(KEY_PIN_ENABLED).setOnPreferenceClickListener(this);


      pin_set_preference = findPreference(KEY_PIN_SET);
pin_set_preference.setOnPreferenceClickListener(new OnPreferenceClickListener() {

    @Override
    public boolean onPreferenceClick(Preference preference) {
              SettingsActivity.logSettingEvent(preference.getKey());
        checkPin();
        return false;
    }
});
pin_set_preference.setSummary(SettingsActivity.isPinProtected(getActivity()) ? R.string.pin_set : R.string.pin_disabled);
  }
AccountManagementFragment.java 文件源码 项目:chromium-for-android-56-debug-video 阅读 20 收藏 0 点赞 0 评论 0
private void configureSyncSettings() {
    final Preferences preferences = (Preferences) getActivity();
    final Account account = ChromeSigninController.get(getActivity()).getSignedInUser();
    findPreference(PREF_SYNC_SETTINGS)
            .setOnPreferenceClickListener(new OnPreferenceClickListener() {
                @Override
                public boolean onPreferenceClick(Preference preference) {
                    if (!isVisible() || !isResumed()) return false;

                    if (ProfileSyncService.get() == null) return true;

                    Bundle args = new Bundle();
                    args.putString(SyncCustomizationFragment.ARGUMENT_ACCOUNT, account.name);
                    preferences.startFragment(SyncCustomizationFragment.class.getName(), args);

                    return true;
                }
            });
}
DuckDuckGoSettings.java 文件源码 项目:buildAPKsApps 阅读 19 收藏 0 点赞 0 评论 0
@Override
public void onCreate(Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);
       addPreferencesFromResource(R.xml.preferences);

       Preference search = findPreference(SEARCH_KEY);
       Preference help = findPreference(HELP_KEY);

       initializeLists();

       getPreferenceScreen().getSharedPreferences().registerOnSharedPreferenceChangeListener(this);

       search.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        public boolean onPreferenceClick(Preference preference) {
            DuckDuckGoSettings.this.onSearchRequested();
            return true;
        }
    });

       help.setIntent(new Intent(this, Help.class));
}
SecurityPreferenceFragment.java 文件源码 项目:FireFiles 阅读 16 收藏 0 点赞 0 评论 0
@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      addPreferencesFromResource(R.xml.pref_security);

      findPreference(KEY_PIN_ENABLED).setOnPreferenceClickListener(this);


      pin_set_preference = findPreference(KEY_PIN_SET);
pin_set_preference.setOnPreferenceClickListener(new OnPreferenceClickListener() {

    @Override
    public boolean onPreferenceClick(Preference preference) {
              SettingsActivity.logSettingEvent(preference.getKey());
        checkPin();
        return false;
    }
});
pin_set_preference.setSummary(SettingsActivity.isPinProtected(getActivity()) ? R.string.pin_set : R.string.pin_disabled);
  }
SecurityPreferenceFragment.java 文件源码 项目:simple-share-android 阅读 19 收藏 0 点赞 0 评论 0
@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      addPreferencesFromResource(R.xml.pref_security);

      findPreference(KEY_PIN_ENABLED).setOnPreferenceClickListener(this);


      pin_set_preference = findPreference(KEY_PIN_SET);
pin_set_preference.setOnPreferenceClickListener(new OnPreferenceClickListener() {

    @Override
    public boolean onPreferenceClick(Preference preference) {
              SettingsActivity.logSettingEvent(preference.getKey());
        checkPin();
        return false;
    }
});
pin_set_preference.setSummary(SettingsActivity.isPinProtected(getActivity()) ? R.string.pin_set : R.string.pin_disabled);
  }
SettingsActivity.java 文件源码 项目:AudioBookPlayer 阅读 20 收藏 0 点赞 0 评论 0
@Override
public void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    getPreferenceManager().setSharedPreferencesName(MainActivity.PREF_NAME);
    addPreferencesFromResource(R.xml.preferences);

    final ListPreference listPreference = null;
    //listPreference = (ListPreference) findPreference(getResources().getString(R.string.const_pref_encoding));
    if (listPreference != null) {
        setListPreferenceData(listPreference);

        listPreference.setOnPreferenceClickListener(new OnPreferenceClickListener() {
            @Override
            public boolean onPreferenceClick(Preference preference) {

                setListPreferenceData(listPreference);
                return false;
            }
        });
    }            
}
ConfigurationFragment.java 文件源码 项目:Android-NFC-Paycard-Reader 阅读 16 收藏 0 点赞 0 评论 0
@Override
public void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Load the preferences from an XML resource
    addPreferencesFromResource(R.xml.preferences);

    // click on clear button
    Preference clear = findPreference("clear_card");
    clear.setOnPreferenceClickListener(new OnPreferenceClickListener() {

        @Override
        public boolean onPreferenceClick(final Preference preference) {
            HomeActivity activity = (HomeActivity) getActivity();
            if (activity != null) {
                activity.clear();
                CroutonUtils.display(activity, getString(R.string.card_deleted), CoutonColor.GREEN);
                activity.backToHomeScreen();
            }
            return true;
        }
    });

}
AccountManagementFragment.java 文件源码 项目:AndroidChromium 阅读 21 收藏 0 点赞 0 评论 0
private void configureSyncSettings() {
    final Preferences preferences = (Preferences) getActivity();
    final Account account = ChromeSigninController.get(getActivity()).getSignedInUser();
    findPreference(PREF_SYNC_SETTINGS)
            .setOnPreferenceClickListener(new OnPreferenceClickListener() {
                @Override
                public boolean onPreferenceClick(Preference preference) {
                    if (!isVisible() || !isResumed()) return false;

                    if (ProfileSyncService.get() == null) return true;

                    Bundle args = new Bundle();
                    args.putString(SyncCustomizationFragment.ARGUMENT_ACCOUNT, account.name);
                    preferences.startFragment(SyncCustomizationFragment.class.getName(), args);

                    return true;
                }
            });
}
Preferences.java 文件源码 项目:Cirrus 阅读 30 收藏 0 点赞 0 评论 0
/**
 * Create the preference for allow adding new accounts
 */
private void createAddAccountPreference() {
    Preference addAccountPref = new Preference(this);
    addAccountPref.setKey("add_account");
    addAccountPref.setTitle(getString(R.string.prefs_add_account));
    mAccountsPrefCategory.addPreference(addAccountPref);

    addAccountPref.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(Preference preference) {
            AccountManager am = AccountManager.get(getApplicationContext());
            am.addAccount(MainApp.getAccountType(), null, null, null, Preferences.this,
                    null, null);
            return true;
        }
    });

}
SettingsHolder.java 文件源码 项目:mobile-manager-tool 阅读 16 收藏 0 点赞 0 评论 0
private void initDependencies(){
    final Preference buildDepend = findPreference(BUILD_DEPENDS);
    buildDepend.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(final Preference preference) {

            final WebView webView = new WebView(mContext);
            webView.loadUrl("file:///android_asset/licenses.html");
            new AlertDialog.Builder(mContext)
                    .setTitle(R.string.dependencies_title)
                    .setView(webView)
                    .setPositiveButton(android.R.string.ok, null)
                    .create()
                    .show();
            return true;
        }
    });
}
SensorSettingsActivity.java 文件源码 项目:mytracks 阅读 21 收藏 0 点赞 0 评论 0
@SuppressWarnings("deprecation")
@Override
protected void onCreate(Bundle bundle) {
  super.onCreate(bundle);
  addPreferencesFromResource(R.xml.sensor_settings);

  boolean hasAntSupport = AntInterface.hasAntSupport(this);

  configSensorType(hasAntSupport);

  findPreference(getString(R.string.settings_sensor_bluetooth_pairing_key))
      .setOnPreferenceClickListener(new OnPreferenceClickListener() {
        public boolean onPreferenceClick(Preference preference) {
          Intent settingsIntent = new Intent(Settings.ACTION_BLUETOOTH_SETTINGS);
          startActivity(settingsIntent);
          return true;
        }
      });

  if (!hasAntSupport) {
    PreferenceScreen rootPreferenceScreen = (PreferenceScreen) findPreference(
        getString(R.string.settings_sensor_root_key));
    rootPreferenceScreen.removePreference(
        findPreference(getString(R.string.settings_sensor_ant_key)));
  }
}
SensorSettingsActivity.java 文件源码 项目:mytracks 阅读 22 收藏 0 点赞 0 评论 0
/**
 * Updates an ant sensor.
 * 
 * @param preferenceKey the preference key
 * @param valueKey the value key
 * @param enabled true if enabled
 */
@SuppressWarnings("deprecation")
private void updateAntSensor(int preferenceKey, final int valueKey, boolean enabled) {
  Preference preference = findPreference(getString(preferenceKey));
  if (preference != null) {
    preference.setEnabled(enabled);
    int deviceId = PreferencesUtils.getInt(this, valueKey, AntSensorManager.WILDCARD);
    if (deviceId == AntSensorManager.WILDCARD) {
      preference.setSummary(R.string.settings_sensor_ant_not_connected);
    } else {
      preference.setSummary(getString(R.string.settings_sensor_ant_paired, deviceId));
    }
    preference.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
      public boolean onPreferenceClick(Preference pref) {
        PreferencesUtils.setInt(SensorSettingsActivity.this, valueKey, AntSensorManager.WILDCARD);
        pref.setSummary(R.string.settings_sensor_ant_not_connected);
        return true;
      }
    });
  }
}
PreferenceFragment.java 文件源码 项目:AndroidBottomSheet 阅读 34 收藏 0 点赞 0 评论 0
/**
 * Initializes the preference, which allows to show a bottom sheet with custom content.
 */
private void initializeShowCustomBottomSheetPreference() {
    Preference showCustomBottomSheetPreference =
            findPreference(getString(R.string.show_custom_bottom_sheet_preference_key));
    showCustomBottomSheetPreference
            .setOnPreferenceClickListener(new OnPreferenceClickListener() {

                @Override
                public boolean onPreferenceClick(final Preference preference) {
                    initializeCustomBottomSheet();
                    customBottomSheet.show();
                    return true;
                }

            });
}
PreferenceFragment.java 文件源码 项目:AndroidBottomSheet 阅读 30 收藏 0 点赞 0 评论 0
/**
 * Initializes the preference, which allows to display the applications, which are suited for
 * handling an intent.
 */
private void initializeShowIntentBottmSheetPreference() {
    Preference showIntentBottomSheetPreference =
            findPreference(getString(R.string.show_intent_bottom_sheet_preference_key));
    showIntentBottomSheetPreference
            .setOnPreferenceClickListener(new OnPreferenceClickListener() {

                @Override
                public boolean onPreferenceClick(Preference preference) {
                    initializeIntentBottomSheet();
                    intentBottomSheet.show();
                    return true;
                }

            });
}
SettingsFragment.java 文件源码 项目:droidplanner-master 阅读 27 收藏 0 点赞 0 评论 0
private boolean updateMapSettingsPreference(final String mapProviderName) {
    final DPMapProvider mapProvider = DPMapProvider.getMapProvider(mapProviderName);
    if (mapProvider == null)
        return false;

    final Preference providerPrefs = findPreference(getText(R.string.pref_map_provider_settings_key));
    if (providerPrefs != null) {
        providerPrefs.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
            @Override
            public boolean onPreferenceClick(Preference preference) {
                startActivity(new Intent(getActivity(), MapPreferencesActivity.class).putExtra(
                        MapPreferencesActivity.EXTRA_MAP_PROVIDER_NAME, mapProviderName));
                return true;
            }
        });
    }
    return true;
}
MediaButtonConfigure.java 文件源码 项目:media-button-router 阅读 15 收藏 0 点赞 0 评论 0
/**
 * {@inheritDoc}
 */
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == TEXT_TO_SPEECH_CHECK_CODE) {
        Preference ttsWarningPreference = findPreference("tts_warning");

        if (resultCode == TextToSpeech.Engine.CHECK_VOICE_DATA_PASS) {
            ttsWarningPreference.setEnabled(false);
        } else {
            ttsWarningPreference.setEnabled(true);
            ttsWarningPreference.setOnPreferenceClickListener(new OnPreferenceClickListener() {

                public boolean onPreferenceClick(Preference preference) {
                    Intent installIntent = new Intent();
                    installIntent.setAction(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
                    startActivity(installIntent);
                    return true;
                }
            });
        }
    }

    super.onActivityResult(requestCode, resultCode, data);
}
FlowzrPreferencesActivity.java 文件源码 项目:flowzr-android-black 阅读 17 收藏 0 点赞 0 评论 0
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addPreferencesFromResource(R.xml.flowzr_preferences);

    googleAccountManager = new GoogleAccountManager(this);

    PreferenceScreen preferenceScreen = getPreferenceScreen();

    Preference pFlowzrAccount = preferenceScreen.findPreference("flowzr_account");
    pFlowzrAccount.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(Preference arg0) {
            chooseFlowzrAccount();
            return true;
        }
    });
    selectAccount();
    selectApiUrl();
}
SettingsFragment.java 文件源码 项目:nongfei-missionplane 阅读 38 收藏 0 点赞 0 评论 0
private boolean updateMapSettingsPreference(final String mapProviderName) {
    final DPMapProvider mapProvider = DPMapProvider.getMapProvider(mapProviderName);
    if (mapProvider == null)
        return false;

    final Preference providerPrefs = findPreference(getText(R.string.pref_map_provider_settings_key));
    if (providerPrefs != null) {
        providerPrefs.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
            @Override
            public boolean onPreferenceClick(Preference preference) {
                startActivity(new Intent(getActivity(), MapPreferencesActivity.class).putExtra(
                        MapPreferencesActivity.EXTRA_MAP_PROVIDER_NAME, mapProviderName));
                return true;
            }
        });
    }
    return true;
}
WeavePreferencesActivity.java 文件源码 项目:gaeproxy 阅读 17 收藏 0 点赞 0 评论 0
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    addPreferencesFromResource(R.layout.weave_preferences_activity);

    Preference weaveServerPref = findPreference(Constants.PREFERENCE_WEAVE_SERVER);
    weaveServerPref
            .setOnPreferenceClickListener(new OnPreferenceClickListener() {
                @Override
                public boolean onPreferenceClick(Preference preference) {
                    openWeaveServerActivity();
                    return true;
                }
            });
}
MythMotePreferences.java 文件源码 项目:mythmote 阅读 22 收藏 0 点赞 0 评论 0
private static Preference createAddLocationPreference(
        final Activity context, String name, String value) {
    Preference pref = new Preference(context);
    pref.setKey(name);
    pref.setTitle(name);
    pref.setDefaultValue(value);
    pref.setEnabled(true);
    pref.setSummary(value);
    pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {

        public boolean onPreferenceClick(Preference preference) {

            showLocationEditDialog(context, null);

            return false;
        }

    });
    return pref;
}
MythMotePreferences.java 文件源码 项目:mythmote 阅读 15 收藏 0 点赞 0 评论 0
private static Preference createDeleteLocationPreference(
        final Activity context, String name, String value) {
    Preference pref = new Preference(context);
    pref.setKey(name);
    pref.setTitle(name);
    pref.setDefaultValue(value);
    pref.setEnabled(true);
    pref.setSummary(value);
    pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {

        public boolean onPreferenceClick(Preference preference) {
            showDeleteLocationList(context);
            return true;
        }

    });
    return pref;
}
MythMotePreferences.java 文件源码 项目:mythmote 阅读 16 收藏 0 点赞 0 评论 0
private static Preference createGestureListPreference(final PreferenceActivity context) {
    Preference pref = new Preference(context);
    String name = context.getString(R.string.gesture_list_str);
    pref.setKey(name);
    pref.setTitle(name);
    pref.setDefaultValue(context.getString(R.string.gesture_list_description_str));
    pref.setEnabled(true);
    pref.setSummary(context.getString(R.string.gesture_list_description_str));
    pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {

        public boolean onPreferenceClick(Preference preference) {
            Intent intent = new Intent(context, tkj.android.homecontrol.mythmote.GestureBuilderActivity.class);
            context.startActivity(intent);
            return true;
        }
    });
    return pref;
}
NotificationsPrefsFragment.java 文件源码 项目:QuickControlPanel 阅读 16 收藏 0 点赞 0 评论 0
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addPreferencesFromResource(R.xml.notifications_prefs);

    findPreference("notifications_ignore").setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(Preference preference) {
            if(mIgnoredAppsDialog == null) {
                mIgnoredAppsDialog = new IgnoredAppsDialog();
            }

            mIgnoredAppsDialog.show(getFragmentManager(), DIALOG_TAG);
            return true;
        }

    });
}
TextwidgetSettingsActivity.java 文件源码 项目:TextFile-Viewer-Widget 阅读 27 收藏 0 点赞 0 评论 0
private void createFileSelector(final String path) {
        Preference fileSelectPreference = (Preference) findPreference("filename");
        fileSelectPreference.setOnPreferenceClickListener(new OnPreferenceClickListener() {

            public boolean onPreferenceClick(Preference preference) {

                Intent intent = new Intent(getBaseContext(), FileDialog.class);
                intent.putExtra(FileDialog.START_PATH, path);
                startActivityForResult(intent, FILE_CHOICE);

//              Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
//              intent.setDataAndType(Uri.fromFile(new File("/sdcard")), "*/*");
//              intent.addCategory(Intent.CATEGORY_OPENABLE);
//              intent = Intent.createChooser(intent, "Choose a file");
//              startActivityForResult(intent, FILE_CHOICE);

                return true;
            }

        });
    }
AccountManagementFragment.java 文件源码 项目:365browser 阅读 21 收藏 0 点赞 0 评论 0
private void configureSyncSettings() {
    final Preferences preferences = (Preferences) getActivity();
    findPreference(PREF_SYNC_SETTINGS)
            .setOnPreferenceClickListener(new OnPreferenceClickListener() {
                @Override
                public boolean onPreferenceClick(Preference preference) {
                    if (!isVisible() || !isResumed()) return false;

                    if (ProfileSyncService.get() == null) return true;

                    Bundle args = new Bundle();
                    args.putString(
                            SyncCustomizationFragment.ARGUMENT_ACCOUNT, mSignedInAccountName);
                    preferences.startFragment(SyncCustomizationFragment.class.getName(), args);

                    return true;
                }
            });
}
AccountManagementFragment.java 文件源码 项目:365browser 阅读 28 收藏 0 点赞 0 评论 0
private void configureGoogleActivityControls() {
    Preference pref = findPreference(PREF_GOOGLE_ACTIVITY_CONTROLS);
    if (mProfile.isChild()) {
        pref.setSummary(R.string.sign_in_google_activity_controls_message_child_account);
    }
    pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {
        @Override
        public boolean onPreferenceClick(Preference preference) {
            Activity activity = getActivity();
            AppHooks.get().createGoogleActivityController().openWebAndAppActivitySettings(
                    activity, mSignedInAccountName);
            RecordUserAction.record("Signin_AccountSettings_GoogleActivityControlsClicked");
            return true;
        }
    });
}
FxAccountStatusFragment.java 文件源码 项目:mc_backup 阅读 16 收藏 0 点赞 0 评论 0
/**
 * Iterate through debug buttons, adding a special debug preference click
 * listener to each of them.
 */
protected void connectDebugButtons() {
  // Separate listener to really separate debug logic from main code paths.
  final OnPreferenceClickListener listener = new DebugPreferenceClickListener();

  // We don't want to use Android resource strings for debug UI, so we just
  // use the keys throughout.
  final PreferenceCategory debugCategory = (PreferenceCategory) ensureFindPreference("debug_category");
  debugCategory.setTitle(debugCategory.getKey());

  for (int i = 0; i < debugCategory.getPreferenceCount(); i++) {
    final Preference button = debugCategory.getPreference(i);
    button.setTitle(button.getKey()); // Not very friendly, but this is for debugging only!
    button.setOnPreferenceClickListener(listener);
  }
}
MoveOnPreferences.java 文件源码 项目:moveon 阅读 16 收藏 0 点赞 0 评论 0
/**
 * Updates an ant sensor.
 * 
 * @param preferenceKey
 *            the preference key
 * @param valueKey
 *            the value key
 * @param enabled
 *            true if enabled
 */
@SuppressWarnings("deprecation")
private void updateAntSensor(int preferenceKey, final int valueKey, boolean enabled) {
    Preference preference = findPreference(getString(preferenceKey));
    if (preference != null) {
        preference.setEnabled(enabled);
        int deviceId = Constants.getInt(this, valueKey, AntSensorManager.WILDCARD);
        if (deviceId == AntSensorManager.WILDCARD) {
            preference.setSummary(R.string.settings_sensor_ant_not_connected);
        } else {
            preference.setSummary(getString(R.string.settings_sensor_ant_paired, deviceId));
        }
        preference.setOnPreferenceClickListener(new OnPreferenceClickListener() {
            @Override
            public boolean onPreferenceClick(Preference pref) {
                Constants.setInt(getBaseContext(), valueKey, AntSensorManager.WILDCARD);
                pref.setSummary(R.string.settings_sensor_ant_not_connected);
                return true;
            }
        });
    }
}


问题


面经


文章

微信
公众号

扫码关注公众号