Czy ktoś mógłby wyjaśnić, dlaczego to stwierdzenie działa doskonale:Jak ustawić motyw dla DialogFragment
setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo);
i następna deklaracja nie dostarcza
setStyle(DialogFragment.STYLE_NO_TITLE, R.style.dialog);
To jest to, co mam w stylu użytkownika Dział: ustawienie
<style
name="dialog">
<!-- title encapsulating main part (backgroud) of custom alertdialog -->
<item
name="android:windowFrame">@null</item>
<!-- turn off any drawable used to draw a frame on the window -->
<item
name="android:windowBackground">@null</item>
<!-- turn off any drawable used to draw a frame on the window -->
<item
name="android:windowIsFloating">true</item>
<!-- float the window so it does not fill the screen -->
<item
name="android:windowNoTitle">true</item>
<!-- remove the title bar we make our own-->
<item
name="android:windowContentOverlay">@null</item>
<!-- remove the shadow from under the title bar -->
</style>
What's problem? – Blackbelt