You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

40 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/android_list_view_tutorial_with_example"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="horizontal"
  7. android:padding="7dp">
  8. <ImageView
  9. android:id="@+id/listview_image"
  10. android:layout_width="50dp"
  11. android:layout_height="50dp"
  12. android:contentDescription="@string/app_name"
  13. android:padding="5dp"
  14. />
  15. <TextView
  16. android:id="@+id/listview_item_title"
  17. android:layout_width="130dp"
  18. android:layout_height="50dp"
  19. android:gravity="center_vertical"
  20. android:textSize="15sp"
  21. android:textStyle="bold" />
  22. <Button
  23. android:layout_width="100dp"
  24. android:id="@+id/count_btn"
  25. android:layout_height="wrap_content"
  26. android:text="+ Getränk"/>
  27. <TextView
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:id="@+id/count_field"
  31. android:gravity="center"
  32. android:textSize="15sp"
  33. android:textStyle="bold"
  34. android:text="1"/>
  35. </LinearLayout>