2013-04-23 19:21:48 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-08-13 17:05:42 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-05-15 22:06:23 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2013-04-23 19:21:48 +00:00
|
|
|
android:layout_width="fill_parent"
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
2013-08-29 16:16:29 +00:00
|
|
|
android:padding="3dp">
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2013-08-13 17:05:42 +00:00
|
|
|
<ImageView
|
2014-06-21 23:44:45 +00:00
|
|
|
android:id="@+id/GameListItemIcon"
|
2014-06-21 16:01:16 +00:00
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="wrap_content"
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2014-05-15 22:06:23 +00:00
|
|
|
tools:src="@drawable/ic_launcher"
|
|
|
|
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginRight="6dip"/>
|
2013-04-23 19:21:48 +00:00
|
|
|
|
2014-05-15 23:39:47 +00:00
|
|
|
<!-- Properties in the 'tools' namespace are only visible in the UI editor, not at runtime. -->
|
|
|
|
<TextView tools:text="@string/file_size"
|
2014-06-21 23:44:45 +00:00
|
|
|
android:id="@+id/GameListItemSubTitle"
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_width="fill_parent"
|
2014-05-15 23:39:47 +00:00
|
|
|
android:layout_height="26dip"
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2014-05-23 22:47:43 +00:00
|
|
|
android:textColor="#bbbbbb"
|
2014-05-15 22:06:23 +00:00
|
|
|
|
2014-06-21 23:44:45 +00:00
|
|
|
android:layout_toRightOf="@id/GameListItemIcon"
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentRight="true"
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2013-08-13 17:05:42 +00:00
|
|
|
android:singleLine="true"
|
2014-05-15 23:39:47 +00:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
/>
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2014-05-15 23:39:47 +00:00
|
|
|
<!-- Properties in the 'tools' namespace are only visible in the UI editor, not at runtime. -->
|
|
|
|
<TextView tools:text="Name of Game"
|
2014-06-21 23:44:45 +00:00
|
|
|
android:id="@+id/GameListItemTitle"
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2014-05-15 22:06:23 +00:00
|
|
|
android:fontFamily="sans-serif-light"
|
2014-05-23 22:47:43 +00:00
|
|
|
android:textSize="22sp"
|
|
|
|
android:textColor="#555555"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
2014-05-15 22:06:23 +00:00
|
|
|
|
2014-06-21 23:44:45 +00:00
|
|
|
android:layout_toRightOf="@id/GameListItemIcon"
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2014-06-21 23:44:45 +00:00
|
|
|
android:layout_above="@id/GameListItemSubTitle"
|
2013-08-13 17:05:42 +00:00
|
|
|
android:layout_alignWithParentIfMissing="true"
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2013-08-13 17:05:42 +00:00
|
|
|
android:gravity="center_vertical"
|
2014-05-15 22:06:23 +00:00
|
|
|
/>
|
2013-08-29 16:06:31 +00:00
|
|
|
|
2013-08-13 17:05:42 +00:00
|
|
|
</RelativeLayout>
|