I have a layout displayed on a button click.I want to hide that layout after 10 seconds.
protected void onCreate(Bundle savedInstanceState) { super.onCreate(
none of those above are good solutions. Imagine that the view is not visible after 10s (eg: it was scrolled down) so the Visibility.GONE will not work on it. I am still looking for a solutions