Xamarin android native.
All my images have the following properties: AndroidResource , Не копировать . Actually, Icon.png already included in the project has the same settings.
Trying to write markup:
<ImageView android:id="@+id/Label_iv" android:layout_gravity="center" android:src="@drawable/labels/label" /> Begins to swear: No resource found that matches the given name . I looked through resources in the project Icon.png , using the example of Icon.png , I found it only in Resource.Designer.cs
public partial class Drawable { // aapt resource value: 0x7f020000 public const int Icon = 2130837504; ...