summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/wireguard/android/ProfileListActivity.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/ProfileListActivity.java b/app/src/main/java/com/wireguard/android/ProfileListActivity.java
index f56092e8..2b0946a9 100644
--- a/app/src/main/java/com/wireguard/android/ProfileListActivity.java
+++ b/app/src/main/java/com/wireguard/android/ProfileListActivity.java
@@ -8,6 +8,8 @@ import android.content.ServiceConnection;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.os.IBinder;
+import android.view.Menu;
+import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
@@ -44,6 +46,20 @@ public class ProfileListActivity extends Activity {
}
@Override
+ public boolean onCreateOptionsMenu(Menu menu) {
+ getMenuInflater().inflate(R.menu.profile_list, menu);
+ return true;
+ }
+
+ public void onMenuNewAction(MenuItem item) {
+
+ }
+
+ public void onMenuSettings(MenuItem item) {
+
+ }
+
+ @Override
public void onStart() {
super.onStart();
Intent intent = new Intent(this, ProfileService.class);