/v3.2/nimbits-android/res/layout/main_list.xml

http://nimbits-server.googlecode.com/ · XML · 44 lines · 32 code · 12 blank · 0 comment · 0 complexity · 9063eb541a9d2588c96abd663d825bbe MD5 · raw file

  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="fill_parent"
  3. android:layout_height="?android:attr/listPreferredItemHeight"
  4. android:padding="6dip">
  5. <ImageView
  6. android:id="@+id/icon1"
  7. android:layout_width="wrap_content"
  8. android:layout_height="fill_parent"
  9. android:layout_marginRight="6dip"
  10. />
  11. <LinearLayout
  12. android:orientation="vertical"
  13. android:layout_width="0dip"
  14. android:layout_weight="1"
  15. android:layout_height="fill_parent">
  16. <TextView
  17. android:id="@+id/text1"
  18. android:layout_width="fill_parent"
  19. android:layout_height="0dip"
  20. android:layout_weight="1"
  21. android:gravity="center_vertical"
  22. android:text="My Application" />
  23. <TextView
  24. android:id="@+id/text2"
  25. android:layout_width="fill_parent"
  26. android:layout_height="0dip"
  27. android:layout_weight="1"
  28. android:singleLine="true"
  29. android:ellipsize="marquee"
  30. />
  31. </LinearLayout>
  32. </LinearLayout>