blob: fbea6756f5d114f2e299b7e69d86f0962108ba96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package cgeo.geocaching.ui;
import android.content.Context;
import android.support.v4.view.ActionProvider;
import android.view.View;
public abstract class AbstractMenuActionProvider extends ActionProvider {
public AbstractMenuActionProvider(final Context context) {
super(context);
}
@Override
public boolean hasSubMenu() {
return true;
}
@Override
public View onCreateActionView() {
// must return null, otherwise the menu will not work
return null;
}
}
|