Я довольно новичок в android, поэтому может быть что-то упущено. Я определил простой макет для Android с несколькими кнопками, подобными этому.Невидимый неопределенный TextViews в TableLayout
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableRow>
<Button
android:text="Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/button1"
android:layout_column="1" />
<Button
android:text="Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/button2"
android:layout_column="2" />
<Button
android:text="Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/button3"
android:layout_column="3" />
<Button
android:text="Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/button4"
android:layout_column="4" />
<ImageButton
android:src="@android:drawable/ic_menu_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/button5"
android:layout_column="5" />
</TableRow>
<TableRow>
</TableRow>
</TableLayout>
Но в дизайнере я вижу несколько текстовых элементов, которые я не определял. Я даже могу задать ему текст.
Их нет во время выполнения, но я могу выбирать и редактировать их во время разработки. Это действительно раздражает. Может кто-нибудь объяснить?
Что такое IDE эта проблема происходит в –
@FarhadFaghihi Visual studio 2015 –