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
  • learnCenter
  • src
  • main
  • res
  • layout
  • fragment_home_learn.xml
Find file
Normal viewHistoryPermalink
fragment_home_learn.xml 4.01 KB
Newer Older
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
1 2
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
3 4
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
5

mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
6
    <RelativeLayout
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
7
        android:layout_width="match_parent"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
8
        android:layout_height="match_parent">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
9

mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
10
        <LinearLayout
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
11
            android:layout_width="match_parent"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
12 13 14 15 16 17 18 19
            android:layout_height="match_parent"
            android:background="@color/cl_white"
            android:orientation="vertical">

            <RelativeLayout style="@style/title">

                <TextView
                    style="@style/text_title"
mReturn's avatar
V2.5.0
85ef039a
 
mReturn committed 5 years ago
20
                    android:text="@string/learn_title" />
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
21

mReturn's avatar
知识库新加知识大厅页面
8b44a422
 
mReturn committed 4 years ago
22 23 24
                <TextView
                    android:id="@+id/tv_konwledge"
                    android:layout_width="80dp"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
25
                    android:layout_height="30dp"
mReturn's avatar
知识库新加知识大厅页面
8b44a422
 
mReturn committed 4 years ago
26
                    android:layout_alignParentRight="true"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
27
                    android:layout_centerVertical="true"
mReturn's avatar
知识库新加知识大厅页面
8b44a422
 
mReturn committed 4 years ago
28
                    android:layout_marginRight="10dp"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
29 30
                    android:background="@drawable/btn_blue_commom"
                    android:gravity="center"
mReturn's avatar
知识库新加知识大厅页面
8b44a422
 
mReturn committed 4 years ago
31 32
                    android:text="@string/konwledge_center"
                    android:textColor="@color/white"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
33 34 35
                    android:textSize="12sp"
                    android:visibility="gone" />

mReturn's avatar
知识库详情页改版
f91792bc
 
mReturn committed 4 years ago
36 37 38 39 40 41 42
                <ImageView
                    android:id="@+id/iv_knowledge"
                    android:layout_width="66dp"
                    android:layout_height="29dp"
                    android:layout_alignParentRight="true"
                    android:layout_marginTop="10dp"
                    android:layout_marginRight="10dp"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
43 44
                    android:src="@drawable/ic_konwledge_new"
                    android:visibility="gone" />
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
45 46
            </RelativeLayout>

luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
            <TextView
                android:id="@+id/notice"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="-12dp"
                android:ellipsize="marquee"
                android:focusable="true"
                android:scrollHorizontally="true"
                android:focusableInTouchMode="true"
                android:marqueeRepeatLimit="marquee_forever"
                android:paddingStart="10dp"
                android:paddingEnd="10dp"
                android:singleLine="true"
                android:paddingBottom="5dp"
                tools:text="瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of"
                android:textColor="@color/common_red"
                android:textSize="15dp" />
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
64

wukun's avatar
1.androidx
831aeac7
 
wukun committed 2 years ago
65
            <com.google.android.material.tabs.TabLayout
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
66 67 68 69 70 71 72 73 74 75 76
                android:id="@+id/tab_learn"
                android:layout_width="match_parent"
                android:layout_height="78dp"
                app:tabBackground="@drawable/top_tab_selector"
                app:tabIndicatorColor="@color/cl_tab_line"
                app:tabIndicatorHeight="0dp"
                app:tabMaxWidth="0dp"
                app:tabMode="fixed" />

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

wukun's avatar
1.androidx
831aeac7
 
wukun committed 2 years ago
77
            <androidx.viewpager.widget.ViewPager
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
78 79 80 81 82 83 84 85
                android:id="@+id/vp_learn"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="1" />
        </LinearLayout>

        <ImageView
            android:id="@+id/iv_pub_course"
mReturn's avatar
V2.5.0
85ef039a
 
mReturn committed 5 years ago
86 87
            android:layout_width="60dp"
            android:layout_height="60dp"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
88
            android:layout_alignParentRight="true"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
89
            android:layout_alignParentBottom="true"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
90
            android:layout_marginRight="30dp"
luofan's avatar
286增加师傅转派功能
c189f36f
 
luofan committed 3 years ago
91
            android:layout_marginBottom="50dp"
wukun's avatar
20230705需求
113866b8
 
wukun committed a year ago
92 93
            android:src="@drawable/icon_add_blue"
            android:visibility="gone"/>
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
94
    </RelativeLayout>
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
95 96

</layout>