Android Open Source - SignalFlagsKeyboard-Android Signal Flags Settings






From Project

Back to project page SignalFlagsKeyboard-Android.

License

The source code is released under:

GNU General Public License

If you think the Android project SignalFlagsKeyboard-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.savanto.signalflagskb;
/*from ww w  .  ja  v  a  2  s .  co  m*/
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;

/**
 * @author savanto
 * Displays the keyboard settings inside the input method setting.
 */
public class SignalFlagsSettings extends PreferenceActivity
{
  @SuppressWarnings("deprecation")
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);

    // Set the title of the activity
    this.setTitle(R.string.settings_name);

    // Add layout preferences from xml.
    this.addPreferencesFromResource(R.xml.pref_layouts);

    // Set defaults, if this is the first time preferences are accessed.
    PreferenceManager.setDefaultValues(this, R.xml.pref_layouts, false);
  }
}




Java Source Code List

com.savanto.signalflagskb.SignalFlagsInputMethodService.java
com.savanto.signalflagskb.SignalFlagsKeyboardView.java
com.savanto.signalflagskb.SignalFlagsKeyboard.java
com.savanto.signalflagskb.SignalFlagsSettings.java