mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 14:52:13 -04:00
Android bookmarks open on long press of icon
This commit is contained in:
parent
f6ef4dfb64
commit
931645cc7e
@ -937,6 +937,14 @@ public class KiwixMobileActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
findViewById(R.id.menu_bookmarks).setOnLongClickListener(new View.OnLongClickListener() {
|
||||||
|
@Override
|
||||||
|
public boolean onLongClick(View view) {
|
||||||
|
goToBookmarks();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (tts.isInitialized()) {
|
if (tts.isInitialized()) {
|
||||||
menu.findItem(R.id.menu_read_aloud).setVisible(true);
|
menu.findItem(R.id.menu_read_aloud).setVisible(true);
|
||||||
if (mIsSpeaking) {
|
if (mIsSpeaking) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user