I need to create image for my camera app. I create a circle inside another circle it look fine when I see it on android studio but when run it on real device it was not same as it is. Here is image of both first one from real device and second from android studio.
Here is my code that I'm using to create it.
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Larger circle in white-->
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<padding android:top="5dp" android:bottom="5dp" android:right="5dp" android:left="5dp"/>
<stroke
android:width="1dp"
android:color="#ffffff"/>
</shape>
</item>
<!-- Smaller white circle in front -->
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid
android:color="#ffffff"/>
</shape>
</item>
</layer-list>
What's the problem why it show different.