list_attach.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. This file is part of Zandy.
  4. Zandy is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. Zandy is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with Zandy. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  16. android:layout_width="fill_parent"
  17. android:layout_height="70dip"
  18. android:padding="3dip">
  19. <ImageView
  20. android:id="@+id/attachment_type"
  21. android:layout_width="wrap_content"
  22. android:layout_height="fill_parent"
  23. android:layout_alignParentTop="true"
  24. android:layout_alignParentBottom="true"
  25. android:layout_marginRight="6dip"
  26. android:src="@drawable/page_white" />
  27. <TextView
  28. android:id="@+id/attachment_summary"
  29. android:layout_width="fill_parent"
  30. android:layout_height="60dip"
  31. android:layout_toRightOf="@id/attachment_type"
  32. android:layout_alignParentBottom="true"
  33. android:layout_alignParentRight="true"
  34. android:ellipsize="marquee" />
  35. </RelativeLayout>