How can i add bottom sheet activity?? i cant use fragment cause this is a VPN tool which i am about to reskin, and i wants to load VPN ips from bottom sheet, but whenever i try to load bottom sheet : the layout pops up but VPN ip doesnt shows, it keeps loading... can somebody explain how i can fix this issue?? here is the code i am using....
public void onClick(View v) {
sheetDialog = new BottomSheetDialog(UIActivity.this,R.style.BottomSheetStyle);
View view= LayoutInflater.from(UIActivity.this).inflate(R.layout.activity_choose_server,
(LinearLayout)findViewById(R.id.sheet));
sheetDialog.setContentView(view);
sheetDialog.show();
}