dynamic_activity_selec_topic.xml 3.69 KB
Newer Older
konghaorui committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/dynamic_white">

    <RelativeLayout
        android:id="@+id/select_topic_title_rel"
        android:layout_width="match_parent"
        android:layout_height="@dimen/dynamic_title_height"
        android:layout_alignParentTop="true"
        android:background="@color/dynamic_white">


        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="选择话题"
            android:textSize="@dimen/dynamic_title_txt_sp" />

        <TextView
            android:id="@+id/select_topic_cancel_tv"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerInParent="true"
            android:paddingLeft="15dp"
            android:paddingRight="15dp"
            android:text="取消"
konghaorui committed
32
            android:textColor="@color/platform_color_242424"
konghaorui committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
            android:textSize="18sp" />
    </RelativeLayout>
<ScrollView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_below="@+id/select_topic_title_rel">
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <RelativeLayout
            android:id="@+id/select_topic_focus_hint_rel"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="visible">

            <TextView
                android:id="@+id/select_topic_focus_hint_tv"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:paddingLeft="15dp"
                android:textSize="16sp"
                android:background="@color/dynamic_defult_bg"
                android:gravity="center_vertical"
                android:text="我关注的" />
            <com.ydl.ydlcommon.view.widgets.RecyclerViewForScrollView
                android:id="@+id/select_topic_focus_rcv"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@+id/select_topic_focus_hint_tv"/>
        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/select_topic_recommend_hint_rel"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="visible"
            android:layout_below="@+id/select_topic_focus_hint_rel">

            <TextView
                android:id="@+id/select_topic_recommend_hint_tv"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:paddingLeft="15dp"
                android:textSize="16sp"
                android:background="@color/dynamic_defult_bg"
                android:gravity="center_vertical"
                android:text="推荐话题" />
            <com.ydl.ydlcommon.view.widgets.RecyclerViewForScrollView
                android:id="@+id/select_topic_recommend_rcv"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@+id/select_topic_recommend_hint_tv"/>
        </RelativeLayout>
    </RelativeLayout>
</ScrollView>


</RelativeLayout>