package com.mhalka.qurantranslationdisplay; import android.app.Activity; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.view.View; import android.widget.TextView; import com.mhalka.qurantranslationdisplay.util.SystemUiHider; /** * An example full-screen activity that shows and hides the system UI (i.e. * status bar and navigation/system bar) with user interaction. * * @see SystemUiHider */ public class ShowAyah extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_show_ayah); final TextView ayah = (TextView) findViewById(R.id.ayah); ayah.setMovementMethod(new ScrollingMovementMethod()); // Example of use of QuranReader // AssetManager assetManager = getAssets(); // QuranReader reader = new QuranReader(assetManager, "quran_content"); // reader.setChapter(2); // String verseText = reader.getVerse(16); } }