Ich denke, dieses kleine Quadrat bedeutet etwas Wichtiges, weiß aber nicht, was ... Es geht weg, wenn ich doppelt auf es klicke, aber nicht auf weniger komplexe Layouts in meinem auftaucht Projekt ... irgendwelche Ideen, warum es zeigt oder was es bedeutet?Android Studio XML hat wenig gelbes Quadrat
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/darker_gray"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/preferences_dialog_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="Toolbar Title"
android:textSize="30sp" />
</android.support.v7.widget.Toolbar>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="5dp"
android:paddingBottom="5dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Options:" />
<RadioGroup
android:id="@+id/dataInputPreferenceRadioGroup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="center"
android:orientation="horizontal">
<RadioButton
android:id="@+id/defaultUseInput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:checked="false"
android:text="Option1" />
<RadioButton
android:id="@+id/defaultUseTimeWidgets"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:checked="true"
android:text="Option2"
android:visibility="gone"/>
<RadioButton
android:id="@+id/defaultUseOption3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:checked="true"
android:text="Option3" />
</RadioGroup>
</LinearLayout>
hat es nichts mit dem Code zu tun. Der Punkt befindet sich außerhalb des Telefonbildschirms. Es ist ein Android-Studio-Problem. Und wenn Sie zukünftig Code schreiben, sollten Sie keinen Screenshot erstellen. Kopieren und fügen Sie den Code ein, damit wir etwas damit tun können –
Danke für den Tipp über den Code, fügte hinzu, und wie Mike T unten beschrieben, ist das gelbe Quadrat aufgrund eines Feldes mit Sichtbarkeit "weg" – WM1