Advertisement
Roctik

Untitled

Mar 21st, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:background="@android:color/white"
  6. android:orientation="vertical"
  7. android:layout_marginStart="10dp"
  8. android:layout_marginEnd="10dp"
  9. android:weightSum="10"
  10. xmlns:android="http://schemas.android.com/apk/res/android">
  11.  
  12. <ImageView
  13. android:id="@+id/imageRand"
  14. android:layout_width="match_parent"
  15. android:layout_height="200dp"
  16. android:adjustViewBounds="true"
  17. android:layout_gravity="center"
  18.  
  19. android:src="@drawable/ic_image_gray_opaque_24dp"
  20. android:scaleType="centerCrop" />
  21. <TextView
  22. android:id="@+id/titleRand"
  23. android:text="tespdokfdhkj"
  24. android:textSize="20sp"
  25. android:layout_marginTop="10dp"
  26. android:layout_marginBottom="5dp"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:layout_weight="7"/>
  30. <TextView
  31. android:id="@+id/descriptionRand"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_marginTop="10dp"
  35. android:text="jlkjhsdhfbjhxjhjg"
  36. android:maxLines="5"
  37. android:layout_weight="6"/>
  38.  
  39. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement