activity_main_landscape.xml

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7.  
  8. <TextView
  9. android:id="@+id/textView2"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_weight="1"
  13. android:text="Salamandra"
  14. android:textSize="18sp" />
  15.  
  16. <ImageView
  17. android:id="@+id/imageView2"
  18. android:layout_width="315dp"
  19. android:layout_height="135dp"
  20. android:layout_weight="1"
  21. app:srcCompat="@drawable/salamandra" />
  22.  
  23. <Button
  24. android:id="@+id/button"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_weight="1"
  28. android:text="PĂșlsame" />
  29. </LinearLayout>

Proinf.net