Ich möchte id wie @android:id/kish
geben, aber es zeigtKeine Ressource gefunden, die den angegebenen Namen übereinstimmt (bei ‚id‘ mit dem Wert ‚@android: id/Kish‘)
Keine Ressource gefunden, dass entspricht dem angegebenen Namen (bei 'id' mit Wert '@android: id/kish').
aber die oben @android:id/text1
arbeitet
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Dummy content. -->
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView android:id="@android:id/text1"
style="?android:textAppearanceLarge"
android:textStyle="bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp" />
<TextView android:id="@android:id/kish"
style="?android:textAppearanceLarge"
android:textStyle="bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp" />
</LinearLayout>
</ScrollView>
IMAGES
welche Datei ich erkläre android: id = "@ + id/kish" –
Sie müssen dies stattdessen zu deklarieren von @android: id/kish in deinem Layout :) –
@Rahulkishan .... Happy Coding Liebes .... :) –