How can make the mRecyclerView control fill in the free space?

تعرفه تبلیغات در سایت

آرشیو مطالب

امکانات وب

Vote count: 0

I use Code A to design UI with constraint layout, the top of the UI is google AD and the bottom of the UI is toolbar.

I hope the RecyclerView control named mRecyclerView fill in all other space, how can I do?

BTW, Code B is generated by Android Studio 3.01 automatically when I drag and drop RecyclerView control to UI. It's a hard code for layout_width and layout_height.

enter image description here

Code A




    

    

        

Code B


asked 8 secs ago
HelloCW

نویسنده : استخدام کار بازدید : 0 تاريخ : دوشنبه 28 اسفند 1396 ساعت: 14:58
برچسب‌ها :

خبرنامه

عضویت

نام کاربري :
رمز عبور :