HTML5column属性布局页脚,gridlayout布局,怎样后台指定rowSpan和columnSpan属性?
GridLayout 所以最后我决定只是改为使用相对位置版面配置/线性布局建设。(使用RelativeLayout 作为根 view ,防止不必使用嵌套的重量)android:layout_width="match_parent"android:layout_height="match_parent"android:layout_alignParentLeft="true"android:layo
GridLayout 所以最后我决定只是改为使用相对位置版面配置/线性布局建设。(使用RelativeLayout 作为根 view ,防止不必使用嵌套的重量)
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@color/default_bg_color">
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_centerHorizontal="true"
android:layout_alignParentTop="true"/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:layout_below="@id/banner"
>
android:id="@+id/viewPager"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1" />
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2"/>
更多推荐
所有评论(0)