Created
June 22, 2013 10:42
-
-
Save tenadavila/5840401 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void menu(View v) { | |
LayoutInflater inflater = this.getLayoutInflater(); | |
View view = inflater.inflate(R.layout.menu, null); | |
Dialog mDialog = new Dialog(this, | |
android.R.style.Theme_Translucent_NoTitleBar_Fullscreen); | |
mDialog.setContentView(view); | |
mDialog.getWindow().setLayout(500, 600); | |
mDialog.show(); | |
TextView tv = (TextView) mDialog.getWindow().findViewById(R.id.dificultad); | |
tv.setTypeface(font); | |
TextView tv1 = (TextView) mDialog.getWindow().findViewById(R.id.menuopcion2); | |
tv1.setTypeface(font); | |
TextView tv2 = (TextView) mDialog.getWindow().findViewById(R.id.menuopcion3); | |
tv2.setTypeface(font); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment