In the inspector, my view looks like this:

Although in reality (view from the installed application) here is this: enter image description here

That is, in the inspector of the view it seems as if pressed inside, strange shadows, contours.
How can this be fixed? Who faced this? And is it the norm?

What has already been done to correct:
1. Changed AppTheme
2. Peretykal already all the properties of the buttons here: enter image description here

  • Sometimes I met this, I simply ignored it, because still the most complete picture of the result can be obtained only by trying it on a real device. - YungBlade 3:23 pm
  • I have the same. The most likely way to display the borders of elements in LinearLayout. - virex-84
  • In my default visual editor, it is precisely such contours in LinearLayout. There is no such thing in the working program. Android Studio 3.3 - virex-84

1 answer 1

This shadow in the visual editor shows the orientation direction in the LinearLayout container - if the shadow is above and below, then the orientation is vertical ( android:orientation="vertical" ), if on the sides - horizontal ( android:orientation="horizontal" ). Naturally, there will be no shadow in the application.

stackoverflow response