Kaydet (Commit) 3e31057f authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: clicking "Parts" in preferences opens the side drawer

Change-Id: I3cfd0a31409f6a798c933dae4a47b75e93601f6b
üst 32fe0017
......@@ -63,9 +63,13 @@ public class LibreOfficeMainActivity extends Activity {
@Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.action_about) {
showAbout();
return true;
switch (id) {
case R.id.action_about:
showAbout();
return true;
case R.id.action_parts:
mDrawerLayout.openDrawer(mDrawerList);
return true;
}
return super.onOptionsItemSelected(item);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment