1. Download our Official Android App: Forums for Android!

Visibility control in .xml layout file

Discussion in 'Android Development' started by umtblbl, Sep 22, 2019.

  1. umtblbl

    umtblbl Newbie
    Thread Starter
    Rank:
     #591
    Points:
    16
    Posts:
    49
    Joined:
    Mar 6, 2019

    Mar 6, 2019
    49
    5
    16
    Hi, I would like to get the recyclerview visible when the visibility of a recyclerView for example in android studio is gone. But I want to set this control on the .xml side. I think that's possible? Any idea?
     

    Advertisement

    kk5144768 likes this.
  2. wseng92

    wseng92 Android Enthusiast
    Rank:
     #163
    Points:
    73
    Posts:
    250
    Joined:
    Oct 26, 2015

    Oct 26, 2015
    250
    47
    73
    Male
    If there are no items in recyclerView, it should't be visible.
     

Share This Page

Loading...