aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-10-22 18:13:51 -0700
committerScott Jackson <daneren2005@gmail.com>2015-10-22 18:13:51 -0700
commit399b2ebca911f3523bd1b9d346eab9c9b9862303 (patch)
treee69d4ee2cf4628412ee75dcc66453530ac909cc1 /app/src
parent094782dd811d70dc8006096ad258716492cf998f (diff)
downloaddsub-399b2ebca911f3523bd1b9d346eab9c9b9862303.tar.gz
dsub-399b2ebca911f3523bd1b9d346eab9c9b9862303.tar.bz2
dsub-399b2ebca911f3523bd1b9d346eab9c9b9862303.zip
#583 Switch to using the system lib version of PopupMenu since the support lib version always opens below even if there is room above
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java b/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java
index 000832d7..4734e8d0 100644
--- a/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java
+++ b/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java
@@ -20,10 +20,10 @@ import android.content.SharedPreferences;
import android.content.res.Resources;
import android.os.Build;
import android.support.v7.view.ActionMode;
-import android.support.v7.widget.PopupMenu;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.util.TypedValue;
+import android.view.Gravity;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
@@ -31,6 +31,7 @@ import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
+import android.widget.PopupMenu;
import java.util.ArrayList;
import java.util.Arrays;