includ_readylive_share_button.xml 3.57 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <RelativeLayout
        android:id="@+id/share_text"
        style="@style/wrap_content"
        android:layout_height="40dp"
        android:layout_width="match_parent" >

        <TextView
            android:id="@+id/share_weibo_bg"
            style="@style/share_style"
            android:layout_marginLeft="65dip"
            android:text="微博分享" />

        <TextView
            android:id="@+id/share_weixin_bg"
            style="@style/share_style"
            android:layout_marginLeft="105dip"
            android:text="微信分享" />

        <TextView
            android:id="@+id/share_weixinroom_bg"
            style="@style/share_style"
            android:layout_marginLeft="145dip"
            android:text="朋友圈分享" />

        <TextView
            android:id="@+id/share_qq_bg"
            style="@style/share_style"
            android:layout_marginLeft="185dip"
            android:text="QQ分享" />

        <TextView
            android:id="@+id/share_kongjian_bg"
            style="@style/share_style"
            android:layout_marginLeft="225dp"
            android:text="QQ空间分享" />
    </RelativeLayout>

    <LinearLayout
        android:id="@+id/share_group"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/share_text"
        android:gravity="center_horizontal"
        android:orientation="horizontal" >

        <CheckBox
            android:id="@+id/share_weibo"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:layout_marginRight="15dip"
            android:layout_marginTop="2dip"
            android:background="@null"
            android:button="@drawable/readylive_weiboshare_select" />

        <CheckBox
            android:id="@+id/share_weixin"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:layout_marginRight="15dip"
            android:layout_marginTop="2dip"
            android:background="@null"
            android:button="@drawable/readylive_weixinshare_select" />

        <CheckBox
            android:id="@+id/share_weixinroom"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:layout_marginRight="15dip"
            android:background="@null"
            android:button="@drawable/readylive_wxhoomshare_select" />

        <CheckBox
            android:id="@+id/share_qq"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:layout_marginRight="10dip"
            android:layout_marginTop="2dip"
            android:background="@null"
            android:button="@drawable/readylive_qqshare_select" />

        <CheckBox
            android:id="@+id/share_kongjian"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:layout_marginTop="2dip"
            android:background="@null"
            android:button="@drawable/readylive_kongjianshare_select" />
    </LinearLayout>

</RelativeLayout>