List of usage examples for android.support.v4.app DialogFragment show
public int show(FragmentTransaction transaction, String tag)
From source file:com.example.michael.mbesplug_reflex.PlayerActivity2.java
public void p2_player1_clicked(View view) { DialogFragment newFragment = new Player1Dialog(); newFragment.show(getSupportFragmentManager(), "2p_mode_player1"); }
From source file:com.example.michael.mbesplug_reflex.PlayerActivity2.java
public void p2_player2_clicked(View view) { DialogFragment newFragment = new Player2Dialog(); newFragment.show(getSupportFragmentManager(), "2p_mode_player2"); }
From source file:com.grokkingandroid.sampleapp.samples.data.contentprovider.BaseActivity.java
private void showAboutDialog() { DialogFragment newFragment = AboutFragment.newInstance(); newFragment.show(getSupportFragmentManager(), "dialog"); }
From source file:com.example.michael.mbesplug_reflex.PlayerActivity3.java
public void p3_player1_clicked(View view) { DialogFragment newFragment = new Player1Dialog(); newFragment.show(getSupportFragmentManager(), "3p_mode_player1"); }
From source file:com.example.michael.mbesplug_reflex.PlayerActivity3.java
public void p3_player2_clicked(View view) { DialogFragment newFragment = new Player2Dialog(); newFragment.show(getSupportFragmentManager(), "3p_mode_player2"); }
From source file:com.example.michael.mbesplug_reflex.PlayerActivity3.java
public void p3_player3_clicked(View view) { DialogFragment newFragment = new Player3Dialog(); newFragment.show(getSupportFragmentManager(), "3p_mode_player3"); }
From source file:com.example.michael.mbesplug_reflex.ReactionTimerInstructionsActivity.java
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_reaction_timer_instructions); // Display the instructions dialog box DialogFragment newFragment = new ReactionInstructionsDialog(); newFragment.show(getSupportFragmentManager(), "1p_mode_instructions"); }
From source file:de.zell.android.util.fragments.InfoMenuFragment.java
@Override public boolean onOptionsItemSelected(MenuItem favItem) { if (favItem.getItemId() == R.id.action_info) { DialogFragment dialog = getInfoDialog(); dialog.show(getChildFragmentManager(), TAG_INFO); return true; }//www. ja v a 2s . c o m return super.onOptionsItemSelected(favItem); }
From source file:com.example.michael.mbesplug_reflex.PlayerActivity4.java
public void p4_player1_clicked(View view) { DialogFragment newFragment = new Player1Dialog(); newFragment.show(getSupportFragmentManager(), "4p_mode_player1"); }
From source file:com.example.michael.mbesplug_reflex.PlayerActivity4.java
public void p4_player2_clicked(View view) { DialogFragment newFragment = new Player2Dialog(); newFragment.show(getSupportFragmentManager(), "4p_mode_player2"); }