dynamic_activity_trend.xml 5.2 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
            android:layout_height="48dp"
霍志良 committed
14 15
            android:gravity="center_vertical"
            android:background="@color/dynamic_white"
konghaorui committed
16
            >
konghaorui committed
17

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

konghaorui committed
23
                >
konghaorui committed
24

霍志良 committed
25 26 27 28 29
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textColor="@color/platform_color_333333"
                android:text="取消"
霍志良 committed
30 31 32
                android:paddingBottom="@dimen/platform_dp_5"
                android:paddingTop="@dimen/platform_dp_5"
                android:paddingRight="@dimen/platform_dp_5"
霍志良 committed
33 34 35
                android:id="@+id/mBackIv"
                android:layout_centerInParent="true"
                android:layout_alignParentLeft="true"
霍志良 committed
36 37
                android:layout_marginStart="@dimen/platform_dp_15"
                android:includeFontPadding="false"
霍志良 committed
38
                android:textSize="@dimen/platform_sp_16"
霍志良 committed
39 40 41
                >

            </TextView>
konghaorui committed
42

konghaorui committed
43 44 45 46 47 48 49 50 51 52 53
            <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"
54
                    app:tl_textsize="18sp" />
konghaorui committed
55 56 57 58 59


            <TextView
                    android:id="@+id/publish_trend_sure_tv"
                    android:layout_width="wrap_content"
霍志良 committed
60
                    android:layout_height="wrap_content"
konghaorui committed
61 62 63 64 65
                    android:layout_alignParentRight="true"
                    android:layout_centerInParent="true"
                    android:layout_marginRight="15dp"
                    android:background="@drawable/dynamic_bg_publish_button"
                    android:gravity="center"
霍志良 committed
66 67 68 69
                    android:paddingLeft="11dp"
                    android:paddingRight="11dp"
                    android:paddingTop="@dimen/platform_dp_3"
                    android:paddingBottom="@dimen/platform_dp_3"
konghaorui committed
70
                    android:text="发布"
霍志良 committed
71 72
                    android:textColor="@color/dynamic_white"
                    android:textSize="13sp" />
konghaorui committed
73 74 75
        </RelativeLayout>

    </LinearLayout>
konghaorui committed
76 77


konghaorui committed
78 79 80
    <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
konghaorui committed
81

konghaorui committed
82 83 84 85
        <com.ydl.ydlcommon.view.NoScrollViewPager
                android:id="@+id/view_pager"
                android:layout_width="match_parent"
                android:layout_height="match_parent" />
konghaorui committed
86

konghaorui committed
87 88 89 90 91 92 93 94 95 96 97 98 99 100
        <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
101 102 103


    <!--<RelativeLayout-->
konghaorui committed
104 105 106 107 108
    <!--android:id="@+id/rl_notice_layout"-->
    <!--android:layout_width="wrap_content"-->
    <!--android:layout_height="wrap_content"-->
    <!--android:visibility="gone"-->
    <!--tools:visibility="visible">-->
konghaorui committed
109

konghaorui committed
110 111 112 113 114 115 116 117 118 119
    <!--<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
120

konghaorui committed
121 122 123 124 125 126
    <!--<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
127 128
    <!--</RelativeLayout>-->

konghaorui committed
129
</LinearLayout>