This xml works fine on Android studio emulators, but not on the physical device. I ask for help

0

<TextView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginTop="20dp"
    android:gravity="center"
    android:text="@string/Mensagem_Principal"
    android:textSize="30sp"
    android:textStyle="bold" />

<TextView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginTop="10dp"
    android:gravity="center"
    tools:text="Selecione a Categoria:"
    android:textStyle="bold"/>



<ListView
    android:id="@+id/listviewCat"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center"
    android:text="@string/Categoria"

    />

    
asked by anonymous 22.01.2018 / 17:34

1 answer

0

Good afternoon.

Maybe it's a different setting than the Android Studio emulator for the physical phone you're using for testing. I suggest you check SDK Tools and also if the phone is allowed to Developer

    
22.01.2018 / 18:03