This xml works perfectly on Android studio emulators, but not on the physical device. Help me



  • <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"

    /&gt;
    



  • Good afternoon.

    Maybe it's a different setting from the Android Studio emulator for the physical phone you're using for testing. I suggest you check the SDK Tools and also if the mobile is allowed to Developer inserir a descrição da imagem aqui


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2