fragment_multi_title_detail.xml 4.06 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"
    android:background="@color/votebakground">


    <ImageButton
        android:id="@+id/mutli_title_detail_btnback"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="20dp"
        android:layout_marginTop="20dp"
        android:background="@drawable/back_selector" />


    <ScrollView
        android:id="@+id/mutli_title_detail_scview"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/mutli_title_detail_btnback"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp"
        android:layout_marginTop="20dp"
        android:fillViewport="false"
        android:scrollbars="none">

        <TextView
            android:id="@+id/mutli_title_detail_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:background="@color/white"
            android:gravity="center"
            android:text="@string/please_vote"
            android:textColor="@color/black"
            android:textSize="@dimen/big_text_p3"/>
    </ScrollView>

    <TextView
        android:id="@+id/mutli_title_detail_tv_tips"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="30dp"
        android:text="@string/please_press_key"
        android:textColor="#878787"
        android:textSize="@dimen/big_text_p5" />

    <Button
        android:id="@+id/mutli_title_detail_btnB"
        android:layout_width="200dp"
        android:layout_height="60dp"
        android:layout_above="@id/mutli_title_detail_tv_tips"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="20dp"
        android:background="@drawable/oppos_selector"
        android:text="@string/oppose"
        android:textColor="@color/white"
        android:textSize="@dimen/big_text_p4"
        android:textStyle="bold" />

    <Button
        android:id="@+id/mutli_title_detail_btnA"
        android:layout_width="200dp"
        android:layout_height="60dp"
        android:layout_above="@id/mutli_title_detail_tv_tips"
        android:layout_marginBottom="20dp"
        android:layout_marginRight="20dp"
        android:layout_toLeftOf="@id/mutli_title_detail_btnB"
        android:background="@drawable/agree_selector"
        android:text="@string/agree"
        android:textColor="@color/white"
        android:textSize="@dimen/big_text_p4"
        android:textStyle="bold" />

    <Button
        android:id="@+id/mutli_title_detail_btnC"
        android:layout_width="200dp"
        android:layout_height="60dp"
        android:layout_above="@id/mutli_title_detail_tv_tips"
        android:layout_marginBottom="20dp"
        android:layout_marginLeft="20dp"
        android:layout_toRightOf="@id/mutli_title_detail_btnB"
        android:background="@drawable/abstain_selector"
        android:text="@string/abstant"
        android:textColor="@color/white"
        android:textSize="@dimen/big_text_p4"
        android:textStyle="bold" />


    <TextView
        android:id="@+id/mutli_title_detail_tv_result"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignRight="@id/mutli_title_detail_scview"
        android:layout_alignTop="@id/mutli_title_detail_scview"
        android:layout_marginRight="40dp"
        android:alpha="0.9"
        android:background="@drawable/voted_empty"
        android:gravity="center"
        android:rotation="-20"
        android:text=""
        android:textColor="#ddff9933"
        android:textSize="@dimen/big_text_p3"
        android:textStyle="bold"
        android:visibility="visible" />

</RelativeLayout>