首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >PHP直播源码,水平平分两个按钮

PHP直播源码,水平平分两个按钮

原创
作者头像
yunbaokeji柯基
修改2020-12-18 15:04:07
修改2020-12-18 15:04:07
1.2K0
举报
文章被收录于专栏:直播知识直播知识

PHP直播源码,水平平分两个按钮相关的代码

代码语言:javascript
复制
 <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_margin="10dp"
        android:layout_weight="2"
        android:orientation="horizontal"
        android:baselineAligned="false">
        <RelativeLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2"
            android:layout_margin="10dp"
            android:orientation="horizontal">
            <Button
                android:id="@+id/camera_btn"
                android:layout_width="80dp"
                android:layout_height="80dp"
                android:layout_centerInParent="true"
                android:background="@drawable/xiangji"
                />
        </RelativeLayout>
        <RelativeLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2"
            android:layout_margin="10dp"
            android:orientation="horizontal"
            >
            <Button
                android:id="@+id/album_btn"
                android:layout_width="80dp"
                android:layout_height="80dp"
                android:layout_marginStart="10dp"
                android:layout_centerInParent="true"
                android:background="@drawable/xiangce" />
        </RelativeLayout>
    </LinearLayout>

以上就是 PHP直播源码,水平平分两个按钮相关的代码,更多内容欢迎关注之后的文章

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档