Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • userCenter
  • src
  • main
  • res
  • layout
  • activity_business_detail.xml
Find file
BlameHistoryPermalink
  • xuxuan's avatar
    服务技能 · 527970eb
    xuxuan committed 11 months ago
    527970eb
activity_business_detail.xml 10 KB
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 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 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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <RelativeLayout
            android:id="@+id/rl_title"
            style="@style/title">

            <TextView
                android:id="@+id/tv_title"
                style="@style/text_title"
                android:text="商家详情"/>

            <ImageView
                android:id="@+id/title_back"
                style="@style/title_image_back"

                />


        </RelativeLayout>

        <ImageView style="@style/card_line" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <androidx.core.widget.NestedScrollView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/white">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical">

                    <ImageView
                        android:id="@+id/iv_icon"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"/>

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="35dp"
                        android:text="公司名称"
                        android:textSize="20dp"
                        android:paddingLeft="20dp"
                        android:gravity="center|left"
                        android:background="@color/cl_selector_hui"/>

                    <TextView
                        android:id="@+id/tv_name"
                        android:layout_width="match_parent"
                        android:layout_height="45dp"
                        android:textSize="20dp"
                        android:paddingLeft="20dp"
                        android:gravity="center|left"
                        android:background="@color/white"/>

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="35dp"
                        android:text="公司简介"
                        android:textSize="20dp"
                        android:paddingLeft="20dp"
                        android:gravity="center|left"
                        android:background="@color/cl_selector_hui"/>

                    <androidx.core.widget.NestedScrollView
                        android:layout_width="match_parent"
                        android:layout_height="140dp">

                        <TextView
                            android:id="@+id/tv_info"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:textSize="20dp"
                            android:paddingLeft="20dp"
                            android:paddingRight="20dp"
                            android:paddingTop="8dp"
                            android:paddingBottom="5dp"
                            android:gravity="center|left"
                            android:background="@color/white"/>
                    </androidx.core.widget.NestedScrollView>


                    <LinearLayout
                        android:id="@+id/ll_video"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="vertical">

                        <TextView
                            android:layout_width="match_parent"
                            android:layout_height="35dp"
                            android:text="培训课程"
                            android:textSize="20dp"
                            android:paddingLeft="20dp"
                            android:gravity="center|left"
                            android:background="@color/cl_selector_hui"/>

                        <RelativeLayout
                            android:layout_width="match_parent"
                            android:layout_height="180dp">
                            <LinearLayout
                                android:layout_width="match_parent"
                                android:layout_height="match_parent">

                                <com.dayu.widgets.MyJzvdStd
                                    android:id="@+id/jz_video"
                                    android:layout_width="match_parent"
                                    android:layout_height="180dp" />
                            </LinearLayout>


                            <RelativeLayout
                                android:id="@+id/rl_click"
                                android:layout_width="match_parent"
                                android:layout_height="match_parent" />
                        </RelativeLayout>

                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="45dp"
                            android:gravity="center_vertical"
                            android:orientation="horizontal">

                            <View
                                android:layout_width="0dp"
                                android:layout_height="1dp"
                                android:layout_weight="1"/>

                            <ImageView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginLeft="10dp"
                                android:src="@drawable/icon_looks" />

                            <TextView
                                android:id="@+id/tv_looks"
                                style="@style/common_text_style"
                                android:layout_marginLeft="5dp"
                                android:text="0" />

                            <ImageView
                                android:id="@+id/iv_like"
                                android:layout_width="18dp"
                                android:layout_height="match_parent"
                                android:layout_marginLeft="20dp"
                                android:src="@drawable/icon_like_gray" />

                            <TextView
                                android:id="@+id/tv_like"
                                style="@style/common_text_style"
                                android:layout_height="match_parent"
                                android:gravity="center_vertical"
                                android:paddingLeft="5dp"
                                android:paddingRight="10dp"
                                android:text="0"
                                android:layout_marginRight="20dp"/>


                        </LinearLayout>


                        <androidx.recyclerview.widget.RecyclerView
                            android:id="@+id/rl_video"
                            android:layout_width="match_parent"
                            android:layout_height="140dp" />

                        <TextView
                            android:id="@+id/tv_tips"
                            android:layout_width="match_parent"
                            android:layout_height="45dp"
                            android:text="观看上个视频解锁下个视频"
                            android:textSize="16dp"
                            android:paddingLeft="18dp"
                            android:gravity="center_vertical"
                            android:background="@color/white"/>

                    </LinearLayout>


                    <TextView
                        android:id="@+id/rl_exam_title"
                        android:layout_width="match_parent"
                        android:layout_height="35dp"
                        android:text="在线考试"
                        android:textSize="20dp"
                        android:paddingLeft="20dp"
                        android:gravity="center|left"
                        android:background="@color/cl_selector_hui"/>

                    <androidx.recyclerview.widget.RecyclerView
                        android:id="@+id/rl_exam"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"/>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="35dp"
                        android:text="服务项目"
                        android:textSize="20dp"
                        android:paddingLeft="20dp"
                        android:gravity="center|left"
                        android:background="@color/cl_selector_hui"/>


                    <androidx.recyclerview.widget.RecyclerView
                        android:id="@+id/rl_service"
                        android:layout_width="match_parent"
                        android:layout_height="220dp"
                        android:layout_marginBottom="60dp"/>



                </LinearLayout>

            </androidx.core.widget.NestedScrollView>

            <Button
                android:id="@+id/btn_commit"
                android:layout_width="wrap_content"
                android:layout_height="35dp"
                android:background="@drawable/btn_blue_react_4"
                android:layout_marginBottom="10dp"
                android:padding="8dp"
                android:text="申请商家认证"
                android:layout_gravity="center_horizontal"
                android:textColor="@color/white"
                android:layout_alignParentBottom="true"
                android:layout_centerHorizontal="true"/>
        </RelativeLayout>




    </LinearLayout>

</layout>