diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-26 14:35:41 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-26 14:35:41 +0100 |
commit | 8672b318c3dc8b7e0cac47014e5bbb3527d0db87 (patch) | |
tree | 093d2aa177eac5eafd9897cdbde93f65c68d3d67 /same-android/src/main/java/com/orbekk/same/MainActivity.java | |
parent | 930596730c3df733dc5c5601579fd044f55682c8 (diff) |
Add a graphics demo.
Uses a variable to hold a position and draws graphics based on the
variable. Works on multiple devices.
Diffstat (limited to 'same-android/src/main/java/com/orbekk/same/MainActivity.java')
-rw-r--r-- | same-android/src/main/java/com/orbekk/same/MainActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/same-android/src/main/java/com/orbekk/same/MainActivity.java b/same-android/src/main/java/com/orbekk/same/MainActivity.java index a8624ce..5c1f144 100644 --- a/same-android/src/main/java/com/orbekk/same/MainActivity.java +++ b/same-android/src/main/java/com/orbekk/same/MainActivity.java @@ -36,6 +36,9 @@ public class MainActivity extends Activity { case R.id.state_viewer: startActivity(new Intent(this, StateViewerActivity.class)); break; + case R.id.graphics_demo: + startActivity(new Intent(this, GraphicsActivity.class)); + break; default: logger.error("Unknown menu entry: {}", item); } |