Android Data Binding: visibility on include tag

前端 未结 9 707
旧时难觅i
旧时难觅i 2020-12-24 10:38

As per http://developer.android.com/tools/data-binding/guide.html#imports, we can have such simple expressions in visibility:



        
9条回答
  •  一生所求
    2020-12-24 11:17

    Thank to everybody, you help me a lot. Your answers were part of my succes on this trouble.

    We wanted to set visibility of an image view, that was also target of some animation. The Motion Scene was taking the management of the visibility. Set the motion property app:visibilityMode to "ignore" solve everything.

    
    
    
    
        
    
    
    
    

提交回复
热议问题