So i've tried using this list-layer(window_background.xml) , with my theme:
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@color/background_grey" />
</shape>
</item>
<item android:top="60dp">
<bitmap android:src="@drawable/logo_home_white_agora"
android:gravity="center"/>
</item>
Theme:
<style name="Theme.CustomTheme" parent="android:Theme">
<item name="android:windowBackground">@drawable/window_background</item>
<item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>
The problem is that using the list-layer doesn't seem redraw the background on configuration changes to use specific size image. Is there another way to do this?