mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
show language as part of game name, not dict as separate line
This commit is contained in:
parent
3fb368692c
commit
3c0cf176ef
2 changed files with 8 additions and 8 deletions
|
@ -59,11 +59,6 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
/>
|
||||
<TextView android:id="@+id/dict"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -97,12 +97,17 @@ public class GameListAdapter extends XWListAdapter {
|
|||
if ( hideTitle ) {
|
||||
view.setVisibility( View.GONE );
|
||||
} else {
|
||||
view.setText( GameUtils.gameName( m_context, path ) );
|
||||
String name = GameUtils.gameName( m_context, path );
|
||||
if ( true ) { // FIXME
|
||||
name += " (" +
|
||||
DictLangCache.getLangName(m_context,
|
||||
summary.dictName)
|
||||
+ ")";
|
||||
}
|
||||
view.setText( name );
|
||||
}
|
||||
view = (TextView)layout.findViewById( R.id.state );
|
||||
view.setText( summary.summarizeState( m_context ) );
|
||||
view = (TextView)layout.findViewById( R.id.dict );
|
||||
view.setText( summary.dictName );
|
||||
view = (TextView)layout.findViewById( R.id.modtime );
|
||||
view.setText( m_df.format( new Date( summary.modtime ) ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue