Aide codage Kotlin

grunfy - Modifié le 9 avril 2020 à 22:50
grunfy Messages postés 1 Date d'inscription jeudi 9 avril 2020 Statut Membre Dernière intervention 10 avril 2020 - 10 avril 2020 à 12:41
Bonjour, a tous je suis novice en langage Kotlin,
je me permet de solliciter votre aide car a la fin de mon code j ai cette erreur
"unexpected end of fil"
merci de votre aide
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity"
    tools:ignore="ExtraText"
    >

    <TextView

        android:layout_width="326dp"
        android:layout_height="90dp"
        android:gravity="center_horizontal"
        android:text="@string/bonjour"
        android:textAlignment="center"
        android:textColor="@android:color/holo_red_light"
        android:textSize="27sp"
        android:textStyle="bold"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        />

    <Button

        android:id="@+id/button1"
        android:layout_width="82dp"
        android:layout_height="70dp"
        android:layout_gravity="bottom"
        android:text="@string/bouton1"
        android:textSize="50sp"
        />

1 réponse

hypothetix Messages postés 190 Date d'inscription dimanche 19 janvier 2020 Statut Membre Dernière intervention 18 avril 2024 6
10 avril 2020 à 11:37
Bonjour,

Je suppose que ton fichier devrait se terminer par :
</LinearLayout>
0
grunfy Messages postés 1 Date d'inscription jeudi 9 avril 2020 Statut Membre Dernière intervention 10 avril 2020
10 avril 2020 à 12:41
Merci mais déjà essayé
0
Rejoignez-nous