Nav apraksta

layout.xml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content">
  6. <androidx.cardview.widget.CardView
  7. android:id="@+id/card_view"
  8. android:clickable="true"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_margin="10dp">
  12. <RelativeLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content">
  15. <ImageView
  16. android:layout_width="match_parent"
  17. android:layout_height="200dp"
  18. android:layout_centerHorizontal="true"
  19. android:id="@+id/flower_photo"
  20. android:src="@drawable/flor_de_maga"
  21. android:contentDescription="Flower Image" />
  22. <!-- />-->
  23. <TextView
  24. android:layout_below="@+id/flower_photo"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:id="@+id/flower_name"
  28. android:layout_margin="5dp"
  29. android:textSize="15sp"
  30. android:text="Flower Name "/>
  31. </RelativeLayout>
  32. </androidx.cardview.widget.CardView>
  33. </RelativeLayout>