mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
show wordlist's md5sum (non-release builds only)
This commit is contained in:
parent
e4a3d55876
commit
dc4fcada2a
2 changed files with 12 additions and 0 deletions
|
@ -272,6 +272,13 @@ public class DictBrowseDelegate extends DelegateBase
|
|||
findViewById( id ).setOnClickListener(this);
|
||||
}
|
||||
|
||||
if ( BuildConfig.NON_RELEASE ) {
|
||||
TextView tv = (TextView)findViewById( R.id.md5sum_summary );
|
||||
tv.setVisibility( View.VISIBLE );
|
||||
String sum = DictLangCache.getDictMD5Sum( m_activity, m_name );
|
||||
tv.setText( "md5: " + sum );
|
||||
}
|
||||
|
||||
setShowConfig();
|
||||
replaceIter( true );
|
||||
}
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<TextView android:id="@+id/md5sum_summary"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
<!-- Here's the summary -->
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
|
|
Loading…
Reference in a new issue