![](/img/trans.png)
[英]How to display customized alert dialog within multiple tab widgets in android?
[英]How to create a fully customized Alert Dialog?
是否有解決方案來創建沒有邊界的Alert Dialog
? 如果創建布局並將其附加到“ Alert Dialog
,則會顯示我的布局,但是它會被默認對話框邊框包圍。 有什么辦法切斷它們嗎? 提前致謝。
Hi if you use your own layout then set this in your styles.xml
<style name="Theme.Transparent_layout" parent="android:style/Theme.Dialog">
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
and set this style in your manifest file
<activity android:name=".Main" android:theme="@style/Theme.Transparent_layout" />
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.