use of com.ichi2.anki.reviewer.PreviousAnswerIndicator in project Anki-Android by ankidroid.
the class AbstractFlashcardViewer method onCreate.
// ----------------------------------------------------------------------------
// ANDROID METHODS
// ----------------------------------------------------------------------------
@Override
protected void onCreate(Bundle savedInstanceState) {
Timber.d("onCreate()");
restorePreferences();
mTagsDialogFactory = new TagsDialogFactory(this).attachToActivity(this);
super.onCreate(savedInstanceState);
setContentView(getContentViewAttr(mPrefFullscreenReview));
// Make ACTION_PROCESS_TEXT for in-app searching possible on > Android 4.0
getDelegate().setHandleNativeActionModesEnabled(true);
View mainView = findViewById(android.R.id.content);
initNavigationDrawer(mainView);
mPreviousAnswerIndicator = new PreviousAnswerIndicator(findViewById(R.id.choosen_answer));
mShortAnimDuration = getResources().getInteger(android.R.integer.config_shortAnimTime);
}
Aggregations