diff options
author | Sean Leonard <meanderingcode@aetherislands.net> | 2013-01-30 23:10:26 -0700 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-01-30 23:10:26 -0700 |
commit | 4bcb53cff01cb13530e1011fb6d5ac105be1ba25 (patch) | |
tree | 242289db5ea7550dd7674d276ef29e50786c0b45 /src/se | |
parent | 12de321bdd1e6b19dba35b03771f550ce2ddd31c (diff) |
Put some About love in the menu
Needs attention, as the AboutFragment does not fill the layout
You can still see providerLine
Creates Issue #1592
Diffstat (limited to 'src/se')
-rw-r--r-- | src/se/leap/leapclient/Dashboard.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java index 50c267b3..3e8f35a4 100644 --- a/src/se/leap/leapclient/Dashboard.java +++ b/src/se/leap/leapclient/Dashboard.java @@ -57,6 +57,17 @@ public class Dashboard extends Activity { Intent intent; // Handle item selection switch (item.getItemId()){ + case R.id.about_leap: + // TODO move se.leap.openvpn.AboutFragment into our package + Fragment aboutFragment = new AboutFragment(); + FragmentTransaction trans = getFragmentManager().beginTransaction(); + trans.replace(R.id.dashboardLayout, aboutFragment); + trans.addToBackStack(null); + trans.commit(); + + //intent = new Intent(this,AboutFragment.class); + //startActivity(intent); + return true; case R.id.legacy_interface: // TODO call se.leap.openvpn.MainActivity intent = new Intent(this,MainActivity.class); |