Android Question No back button on Pixel 4[Solved]

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All,

A question before I have a problem. I may be a bit slow but I have just discovered that android phones are dropping the Back button. Pixel 4. The button is replaced by swipe.

My query is how does this affect my code around Activity_KeyPress. Does the side swipe generate Activity_KeyPress or does everyone have to start modifying Apps? [I had a problem when they did away with the menu button, I had to quickly find room for menu buttons].

I'm sure everyone else on the forum already knows the answer, please bring me up to date.

Regards Roger
 

JohnC

Expert
Licensed User
Longtime User
I found that the swipe works 99% of the time as a back button. But I did find that when I was showing the camera preview screen, the swipe did not work to close the preview. I did not spend a lot of time trying to figure out why, so I just added a back "button" in the corner of the screen just as a quick fix until I investigate this further.
 
Last edited:
Upvote 0
Top