LinearLayout适配不同机型技巧

<View
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" />

利用此可以占用多余的空间,相当于一个缓存区,可以方便不同机型的适配。

posted on 2015-12-30 15:39  niuman  阅读(308)  评论(0编辑  收藏  举报

导航