Back to project page Profiterole.
The source code is released under:
Apache License
If you think the Android project Profiterole listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package profiterole.android; /*from w w w.java 2s .co m*/ import com.profiterole.android.R; import android.app.Activity; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.widget.TextView; public class DictionaryScreen extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.dictionary_screen); } @Override public void onResume() { super.onResume(); Bundle b = getIntent().getExtras(); // TODO make sure b is not null String map = b.getString(SearchScreen.WORDS_TO_OCCURENCES_MAP); TextView resultText = (TextView) findViewById(R.id.dictionaryTextView); resultText.setMovementMethod(new ScrollingMovementMethod()); resultText.setText(map); } }