use sync icon instead of "M" to mark games with data.

This commit is contained in:
Andy2 2010-10-23 13:45:31 -07:00
parent 43ad43b604
commit 9383ef064d
3 changed files with 9 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -5,12 +5,12 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="4sp"> android:padding="4sp">
<TextView android:id="@+id/msg_marker" <ImageView android:id="@+id/msg_marker"
android:layout_width="30sp" android:layout_width="30sp"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_gravity="center_vertical|center_horizontal" android:layout_gravity="center_vertical|center_horizontal"
android:layout_weight="0" android:layout_weight="0"
android:text="M" android:src="@drawable/ic_popup_sync_1"
/> />
<LinearLayout android:orientation="vertical" <LinearLayout android:orientation="vertical"

View file

@ -93,9 +93,9 @@ public class GameListAdapter extends XWListAdapter {
view.setVisibility( View.GONE ); view.setVisibility( View.GONE );
} }
view = (TextView)layout.findViewById( R.id.msg_marker ); View marker = layout.findViewById( R.id.msg_marker );
view.setVisibility( summary.msgsPending? marker.setVisibility( summary.msgsPending?
View.VISIBLE : View.GONE ); View.VISIBLE : View.GONE );
} }
m_viewsCache.put( path, layout ); m_viewsCache.put( path, layout );
} }