added items for api equal and greater than 23

This commit is contained in:
gouri-panda 2020-12-11 17:40:30 +05:30
parent 5d921ce747
commit c96ffb2927
3 changed files with 25 additions and 7 deletions

View File

@ -17,6 +17,15 @@
~
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
</selector>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<!-- The background color, preferably the same as your normal theme -->
<item android:drawable="@color/alabaster_white" />
<item
android:bottom="24dp"
android:drawable="@mipmap/ic_launcher"
android:gravity="center"
android:left="24dp"
android:right="24dp"
android:top="24dp" />
</layer-list>

View File

@ -6,7 +6,7 @@
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -17,6 +17,15 @@
~
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
</selector>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<!-- The background color, preferably the same as your normal theme -->
<item android:drawable="@color/alabaster_white" />
<item
android:bottom="24dp"
android:drawable="@mipmap/ic_launcher"
android:gravity="center"
android:left="24dp"
android:right="24dp"
android:top="24dp" />
</layer-list>