Android Open Source - septica-for-android Preferences Activity






From Project

Back to project page septica-for-android.

License

The source code is released under:

MIT License

If you think the Android project septica-for-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 fera.costin.alexandru.ui;
/*from ww w  .  j  ava  2s .  c  o  m*/
import fera.costin.alexandru.R;
import android.os.Bundle;
import android.preference.PreferenceActivity;
//import android.util.Log;
import android.view.Window;
import android.view.WindowManager;

/**
 * 
 * @author Alexandru Fera
 *
 */
public class PreferencesActivity extends PreferenceActivity
{
  //public static final String TAG = "septica";

  /** Called when the activity is first created. */
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    // Go full-screen.
    // Hide the title and notification bar for extra room.
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
        WindowManager.LayoutParams.FLAG_FULLSCREEN);

    super.onCreate(savedInstanceState);
    
    addPreferencesFromResource(R.xml.preferences);
    //Log.d(TAG, "onCreate in PreferencesActivity");

  }

}




Java Source Code List

fera.costin.alexandru.ai.AI.java
fera.costin.alexandru.ai.BaseAI.java
fera.costin.alexandru.ai.EasyAI.java
fera.costin.alexandru.ai.HardAI.java
fera.costin.alexandru.ai.MediumAI.java
fera.costin.alexandru.db.PersistenceAdapter.java
fera.costin.alexandru.logic.CardDeck.java
fera.costin.alexandru.logic.Card.java
fera.costin.alexandru.logic.Game.java
fera.costin.alexandru.logic.ICard.java
fera.costin.alexandru.ui.MainActivity.java
fera.costin.alexandru.ui.PreferencesActivity.java
fera.costin.alexandru.ui.SepticaActivity.java