dynamic_activity_trend.xml 4.7 KB
Newer Older
konghaorui committed
1
<?xml version="1.0" encoding="utf-8"?>
konghaorui committed
2 3 4 5 6 7
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
konghaorui committed
8

konghaorui committed
9
    <LinearLayout
konghaorui committed
10
            android:id="@+id/publish_trend_title_rel"
konghaorui committed
11
            android:orientation="horizontal"
konghaorui committed
12
            android:layout_width="match_parent"
konghaorui committed
13 14 15
            android:layout_height="48dp"
            android:background="@drawable/dynamic_background_publish_trend_top"
            >
konghaorui committed
16

konghaorui committed
17 18 19 20 21
        <RelativeLayout
                android:layout_gravity="center_vertical"
                android:layout_width="match_parent"
                android:layout_height="48dp"
                >
konghaorui committed
22

konghaorui committed
23 24 25 26 27 28 29 30
            <ImageView
                    android:id="@+id/img_back"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:layout_centerVertical="true"
                    android:paddingLeft="15dp"
                    android:paddingRight="@dimen/platform_dp_15"
                    android:src="@drawable/platform_common_back" />
konghaorui committed
31

konghaorui committed
32 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
            <com.flyco.tablayout.CommonTabLayout
                    android:id="@+id/tab_layout"
                    android:layout_width="110dp"
                    android:layout_height="match_parent"
                    android:layout_centerInParent="true"
                    android:layout_marginBottom="6dp"
                    app:tl_indicator_anim_enable="false"
                    app:tl_indicator_height="0dp"
                    app:tl_tab_space_equal="true"
                    app:tl_textSelectColor="@color/platform_color_242424"
                    app:tl_textUnselectColor="@color/platform_white"
                    app:tl_textsize="17sp" />


            <TextView
                    android:id="@+id/publish_trend_sure_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="24dp"
                    android:layout_alignParentRight="true"
                    android:layout_centerInParent="true"
                    android:layout_marginRight="15dp"
                    android:background="@drawable/dynamic_bg_publish_button"
                    android:gravity="center"
                    android:paddingLeft="10dp"
                    android:paddingRight="10dp"
                    android:text="发布"
                    android:textColor="@color/dynamic_sel_but_text_color"
                    android:textSize="14sp" />
        </RelativeLayout>

    </LinearLayout>
konghaorui committed
63 64


konghaorui committed
65 66 67
    <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
konghaorui committed
68

konghaorui committed
69 70 71 72
        <com.ydl.ydlcommon.view.NoScrollViewPager
                android:id="@+id/view_pager"
                android:layout_width="match_parent"
                android:layout_height="match_parent" />
konghaorui committed
73

konghaorui committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87
        <TextView
                android:id="@+id/tv_coustom_toast_view"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:layout_alignParentTop="true"
                android:background="@color/platform_color_FFEBE0"
                android:gravity="center"
                android:textColor="@color/platform_color_FF5B05"
                android:textSize="14sp"
                android:visibility="invisible"
                tools:text="请选择在选择话题后进行发布哦~"
                tools:visibility="visible" />

    </RelativeLayout>
konghaorui committed
88 89 90


    <!--<RelativeLayout-->
konghaorui committed
91 92 93 94 95
    <!--android:id="@+id/rl_notice_layout"-->
    <!--android:layout_width="wrap_content"-->
    <!--android:layout_height="wrap_content"-->
    <!--android:visibility="gone"-->
    <!--tools:visibility="visible">-->
konghaorui committed
96

konghaorui committed
97 98 99 100 101 102 103 104 105 106
    <!--<TextView-->
    <!--android:layout_width="wrap_content"-->
    <!--android:layout_height="wrap_content"-->
    <!--android:layout_below="@+id/view"-->
    <!--android:layout_marginTop="-1dp"-->
    <!--android:background="@drawable/dynamic_background_publish_notice_view"-->
    <!--android:padding="5dp"-->
    <!--android:text="点击这里可以提问哦"-->
    <!--android:textColor="@color/dynamic_white"-->
    <!--android:textSize="11dp" />-->
konghaorui committed
107

konghaorui committed
108 109 110 111 112 113
    <!--<View-->
    <!--android:id="@+id/view"-->
    <!--android:layout_width="15dp"-->
    <!--android:layout_height="15dp"-->
    <!--android:layout_centerHorizontal="true"-->
    <!--android:background="@drawable/dynamic_background_publish_triangle_view" />-->
konghaorui committed
114 115
    <!--</RelativeLayout>-->

konghaorui committed
116
</LinearLayout>