Android--(9)--詳解網格佈局(GridLayout)

GridLayout佈局特色:將整個屏幕分紅行*列的形式,每一個網格上放一個組件; 在往網格中放置控件的時候, 會自動按照水平或垂直方向添加。 幾個經常使用屬性 android:rowCount=」5」         設置行數 android:columnCount=」4」   設置列數 android:orientation=」horizontal」 設置添加方向 //———————以上三個屬
相關文章
相關標籤/搜索