ANDROID : split the screen in 2 equals parts with 2 listviews

后端 未结 3 1528
再見小時候
再見小時候 2020-11-30 05:27

I\'m trying to put 2 listviews into my layout. The problem is that I don\'t know the size of each listview in advance. The first listview could have a few items (0, 1, 2 up

3条回答
  •  失恋的感觉
    2020-11-30 05:32

    Try to set sizes in soft pixels (device independent ones) - like "50sp" or "100sp" - I'm sure you'll find appropriate one

提交回复
热议问题