i use a Edittext with a rounded Shape as Background. The Code:
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:thickness="0dp" > <stroke android:width="3dp" android:color="@color/color_main_black"/> <corners android:bottomLeftRadius="5dp" android:topLeftRadius="5dp" android:bottomRightRadius="5dp" android:topRightRadius="5dp" /> <solid android:color="#c8000000"/> </shape>
So far so good. On “normal”-State it looks fine, but if the Editfield have Focus, so the Shape looks like it “redraws” everytime.
There are Lines around the Border, which are getting darker and darker.
The following Image shows the Normal-State, and below them the Focus-State with the Problem (after a few Seconds):
Show the Problem
I’ve enlarged the picture, so you can see, what is the Problem.
I don’t know, where the Problem is, so hope that anyone could help me, thanks.