0
votes
0answers
18 views

How to switch a view off and on again while retaining key event input

I have a couple of views in my app - my main activity and a separate activity which is used for high scores. What I need to know is how I can 'get rid' of one of the views temporarily, and then bring ...
0
votes
2answers
5k views

onTouchEvent only working for one view within activity

I have a parent Activity which contains 2 views. One view is a custom view class, where I am overriding the onDraw method. This view contains an onTouchEvent function, which is checking for user ...
1
vote
1answer
1k views

Show view over existing view in same activity

I am newbie Android developer, and I am starting out with a simple Sudoku game. The problem I am facing right now is that I have my game showing on a dedicated Activity, which is displaying a custom ...
2
votes
0answers
222 views

Camera - View matrix in Android + openGLES 2

I am trying to use the touch screen on the tablet to control my camera movements and generate the view matrix accordingly. I get the x and y coordinates of the screen and after doing some sanity ...
1
vote
1answer
2k views

How to switch between views in android?

I've tried several methods to switch between two views in my program. I've tried creating a new thread then have the view run for 5 seconds before creating intent to start my main activity. This is ...
1
vote
1answer
1k views

Android-Handling screen clicks for dynamically moving objects in a view

I have a kind of broad question to ask but I have to start some where so.....What is the best way to handle onscreen clicks for moving objects being drawn on a canvas in a view. Im registering the ...