P
P
pcdesign2019-06-25 08:08:40
React Native
pcdesign, 2019-06-25 08:08:40

How to overlay the menu with a photo when there is no activity from the user's moan?

There is an application based on:
https://snack.expo.io/@satya164/github.com-callsta...
The application shows a photo.
How to make it so that when the user does nothing with the phone, the photo overlaps the menu from above and below, as in the screenshot below:
5d11ac278d663363772827.jpeg
And when the user is active, it returns to its original state again.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2019-06-25
@pcdesign

well, there is such an option - add the buttons and inscriptions you need at the top and bottom of the photo. As soon as you showed a photo with content, you start a timer after which you hide the content. By tapping on the photo, you reset the timer and show your menu. And be sure to add an animation to show and hide https://facebook.github.io/react-native/docs/anima...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question