[英]In Android How to Use Tab Layout in Alert Dialog Box?
在Android應用程序中,我要自定義警報對話框,如下所示。警報對話框包含具有3個選項卡的選項卡布局。
創建具有所需視圖(包括表)的XML
並調用
View view = // instantiate it. Maybe with LayoutInflater(?)
new AlertDialog.Builder(myContext)
.setView(view);
.create();
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.