show wordlist's md5sum (non-release builds only)

This commit is contained in:
Eric House 2020-12-21 17:22:17 -08:00
parent e4a3d55876
commit dc4fcada2a
2 changed files with 12 additions and 0 deletions

View file

@ -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 );
}

View file

@ -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"