Answer the question
In order to leave comments, you need to log in
How to adjust window padding in android?
Hello!
I wrote my own style, which makes the window "Dialogue", that is, so that it does not occupy the entire screen, and the previous activity can be seen behind it. Here is the topic:
<style name="AppTheme.Dialog" >
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="windowActionBar">false</item>
</style>
Answer the question
In order to leave comments, you need to log in
you will do something strange, but oh well, it's up to you, just try using padding
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question