Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void onCreate(Bundle paramBundle) {
- super.onCreate(paramBundle);
- setContentView(R.layout.installguides_menu);
- setTitleFromActivityLabel(R.id.title_text);
- btn_Back = (Button) findViewById(R.id.btn_Back);
- btn_Back.setOnClickListener (btn_Back_onClick);
- btn_Ubuntu10Guide = (Button) findViewById(R.id.btn_Ubuntu10Guide);
- btn_Ubuntu12Guide = (Button) findViewById(R.id.btn_Ubuntu12Guide);
- btn_BacktrackGuide = (Button) findViewById(R.id.btn_BacktrackGuide);
- btn_DebianGuide = (Button) findViewById(R.id.btn_DebianGuide);
- btn_Ubuntu10Guide .setOnClickListener (btn_Ubuntu10Guide_onClick);
- btn_Ubuntu12Guide .setOnClickListener (btn_Ubuntu12Guide_onClick);
- btn_BacktrackGuide .setOnClickListener (btn_BacktrackGuide_onClick);
- btn_DebianGuide .setOnClickListener (btn_DebianGuide_onClick);
- LayoutInflater inflater = (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE); PopupWindow pw = new PopupWindow( inflater.inflate(R.layout.donation_popup, null, false), 100, 100, true);
- pw.showAtLocation(this.findViewById(R.layout.installguides_menu), Gravity.CENTER, 0, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement