tweet.axml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="horizontal"
  4. android:layout_width="fill_parent"
  5. android:layout_height="wrap_content">
  6. <ImageView
  7. android:layout_width="88dp"
  8. android:layout_height="fill_parent"
  9. android:id="@+id/photo"
  10. android:scaleType="fitStart"
  11. android:src="@drawable/Icon" />
  12. <LinearLayout
  13. android:layout_width="0dp"
  14. android:layout_weight="1"
  15. android:layout_height="fill_parent"
  16. android:orientation="vertical"
  17. android:padding="8dp">
  18. <TextView
  19. android:layout_width="fill_parent"
  20. android:layout_height="wrap_content"
  21. android:textAppearance="?android:attr/textAppearanceMedium"
  22. android:text="Name"
  23. android:id="@+id/name" />
  24. <TextView
  25. android:layout_width="fill_parent"
  26. android:layout_height="wrap_content"
  27. android:textAppearance="?android:attr/textAppearanceSmall"
  28. android:text="Time"
  29. android:id="@+id/time" />
  30. <TextView
  31. android:layout_width="fill_parent"
  32. android:layout_height="wrap_content"
  33. android:textAppearance="?android:attr/textAppearanceSmall"
  34. android:text="Tweet Here and it is really long because that is how tweets are they are never over 140 characters though and that is important to know."
  35. android:id="@+id/tweet" />
  36. </LinearLayout>
  37. </LinearLayout>