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 showDialog(String msg) { | |
dialog = new Dialog(this, R.style.Theme_AppCompat_Light_Dialog_Alert); | |
dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); | |
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); | |
dialog.setCancelable(false); | |
dialog.setContentView(R.layout.buy_point); | |
TextView tv_buy, tv_cancel, tv_title; | |
tv_title = dialog.findViewById(R.id.textview_dialog_body); | |
tv_buy = dialog.findViewById(R.id.buy_action); |