Keď zmením svoje Main.axml
takto strácam spojenie Resource.designer.cs
neovplyvní ani neaktualizuje, preto som nemohol priradiť ID zdrojov.
Chcel by som vedieť, kde mám zle.
<?xml version="1.0" encoding="utf-8"?>
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:columnCount="2"
android:rowCount="2">
<GridLayout
android:id="@+id/aView"
android:layout_columnSpan="1"
android:layout_gravity="fill"
android:layout_rowSpan="2"
android:layout_width="100"
android:layout_height="25"
android:text="1" />
<GridLayout
android:id="@+id/bView"
android:layout_columnSpan="1"
android:layout_gravity="fill"
android:layout_rowSpan="1"
android:layout_height="0dp"
android:layout_width="match_parent"
android:layout_weight="0.5"
android:text="2" />
<GridLayout
android:id="@+id/cView"
android:layout_columnSpan="1"
android:layout_gravity="fill"
android:layout_rowSpan="1"
android:layout_height="0dp"
android:layout_width="match_parent"
android:layout_weight="0.5"
android:text="3" />
</GridLayout>
odpovede:
0 pre odpoveď č. 1Je váš súbor AXML nastavený na akciu AndroidResource a nachádza sa v priečinku Zdroje a rozloženie vášho projektu Android?
Na zdravie, Tristan