mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
use sync icon instead of "M" to mark games with data.
This commit is contained in:
parent
43ad43b604
commit
9383ef064d
3 changed files with 9 additions and 9 deletions
BIN
xwords4/android/XWords4/res/drawable/ic_popup_sync_1.png
Normal file
BIN
xwords4/android/XWords4/res/drawable/ic_popup_sync_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -5,12 +5,12 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="4sp">
|
||||
|
||||
<TextView android:id="@+id/msg_marker"
|
||||
android:layout_width="30sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_weight="0"
|
||||
android:text="M"
|
||||
<ImageView android:id="@+id/msg_marker"
|
||||
android:layout_width="30sp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_weight="0"
|
||||
android:src="@drawable/ic_popup_sync_1"
|
||||
/>
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
|
|
|
@ -93,9 +93,9 @@ public class GameListAdapter extends XWListAdapter {
|
|||
view.setVisibility( View.GONE );
|
||||
}
|
||||
|
||||
view = (TextView)layout.findViewById( R.id.msg_marker );
|
||||
view.setVisibility( summary.msgsPending?
|
||||
View.VISIBLE : View.GONE );
|
||||
View marker = layout.findViewById( R.id.msg_marker );
|
||||
marker.setVisibility( summary.msgsPending?
|
||||
View.VISIBLE : View.GONE );
|
||||
}
|
||||
m_viewsCache.put( path, layout );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue