mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-07-16 01:50:11 -05:00
Add title to bottom sheet
This commit is contained in:
@@ -111,9 +111,12 @@ public class WikiListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
|
||||
|
||||
View view = LayoutInflater.from(ctx).inflate(R.layout.bottom_sheet_wiki_in_list, itemView.findViewById(android.R.id.content), false);
|
||||
|
||||
TextView bottomSheetHeader = view.findViewById(R.id.bottom_sheet_header);
|
||||
TextView editWiki = view.findViewById(R.id.edit_wiki);
|
||||
TextView deleteWiki = view.findViewById(R.id.delete_wiki);
|
||||
|
||||
bottomSheetHeader.setText(wikiPageMeta.getTitle());
|
||||
|
||||
BottomSheetDialog dialog = new BottomSheetDialog(ctx);
|
||||
dialog.setContentView(view);
|
||||
dialog.show();
|
||||
|
||||
Reference in New Issue
Block a user