search

Home  >  Q&A  >  body text

android - Android activity displays controls that are not on top

I made a gradient title bar and found that when going from the startup page to the home page, the list below the banner bar will be displayed directly, and the banner bar will be squeezed to the top and manually swiped up to appear. Is there any way to force the topmost control to appear?

过去多啦不再A梦过去多啦不再A梦2727 days ago912

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-06-29 10:11:38

    Add the following code to the root node of the homepage layout file

    android:focusable="true"
    android:focusableInTouchMode="true"

    reply
    0
  • Cancelreply