summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/LogDetailActionProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/blinkt/openvpn/LogDetailActionProvider.java')
-rw-r--r--src/de/blinkt/openvpn/LogDetailActionProvider.java61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/de/blinkt/openvpn/LogDetailActionProvider.java b/src/de/blinkt/openvpn/LogDetailActionProvider.java
deleted file mode 100644
index 697d5b3a..00000000
--- a/src/de/blinkt/openvpn/LogDetailActionProvider.java
+++ /dev/null
@@ -1,61 +0,0 @@
-package de.blinkt.openvpn;
-
-import android.annotation.TargetApi;
-import android.app.ActionBar;
-import android.content.Context;
-import android.graphics.drawable.Drawable;
-import android.os.Build;
-import android.view.*;
-import android.widget.SpinnerAdapter;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-/**
- * Created by arne on 22.09.13.
- */
-public class LogDetailActionProvider extends ActionProvider {
- /**
- * Creates a new instance. ActionProvider classes should always implement a
- * constructor that takes a single Context parameter for inflating from menu XML.
- *
- * @param context Context for accessing resources.
- */
- public LogDetailActionProvider(Context context) {
- super(context);
- }
-
- @Override
- public View onCreateActionView() {
- return null;
- }
-
- @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
- @Override
- public View onCreateActionView(MenuItem forItem) {
- return super.onCreateActionView(forItem);
- }
-
- @Override
- public boolean hasSubMenu() {
- return true;
- }
-
- @Override
- public void onPrepareSubMenu(SubMenu subMenu) {
- subMenu.add(1, Menu.NONE, Menu.NONE, "one");
- subMenu.add(1, Menu.NONE, Menu.NONE, "two");
- subMenu.add(1, Menu.NONE, Menu.NONE, "three");
- subMenu.add(1, Menu.NONE, Menu.NONE, "four");
-
- subMenu.add(2, Menu.NONE, Menu.NONE, "no");
- subMenu.add(2, Menu.NONE, Menu.NONE, "short");
- subMenu.add(2, Menu.NONE, Menu.NONE, "long");
-
-
- }
-
- @Override
- public boolean onPerformDefaultAction() {
- return super.onPerformDefaultAction();
- }
-} \ No newline at end of file