12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- This file is part of Zandy.
-
- Zandy is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- Zandy is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with Zandy. If not, see <http://www.gnu.org/licenses/>.
- -->
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="70dip"
- android:padding="3dip">
-
- <ImageView
- android:id="@+id/item_type"
-
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
-
- android:layout_alignParentTop="true"
- android:layout_alignParentBottom="true"
- android:layout_marginRight="6dip"
-
- android:src="@drawable/page_white" />
- <TextView
- android:id="@+id/item_summary"
- android:layout_width="fill_parent"
- android:layout_height="20dip"
-
- android:layout_toRightOf="@id/item_type"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
-
- android:singleLine="true"
- android:ellipsize="marquee" />
- <TextView
- android:id="@+id/item_title"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
-
- android:layout_toRightOf="@id/item_type"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:layout_above="@id/item_summary"
- android:layout_alignWithParentIfMissing="true"
- android:ellipsize="marquee"
-
- android:gravity="center_vertical" />
- </RelativeLayout>
|