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_common_learn.xml
Find file
Normal viewHistoryPermalink
fragment_common_learn.xml 2.71 KB
Newer Older
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
1 2 3 4 5 6 7 8 9 10 11
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <data>

        <variable
            name="presenter"
            type="com.dayu.base.ui.presenter.BaseListPresenter" />
    </data>

mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
12
    <LinearLayout
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
13 14 15 16 17 18 19 20
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:background="#f5f5f5"
        android:orientation="vertical">

        <RelativeLayout
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
21
            android:visibility="gone"
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
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
            android:id="@+id/rl_seacher"
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:background="@color/cl_white"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            >

            <EditText
                android:id="@+id/edt_seacher"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_centerVertical="true"
                android:layout_marginBottom="5dp"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="10dp"
                android:background="@null"
                android:gravity="center"
                android:hint="@string/find_course"
                android:imeOptions="actionSearch"
                android:inputType="text"
                android:singleLine="true"
                android:layout_toLeftOf="@+id/tv_cancel"
                android:textSize="15sp" />


            <TextView
                android:id="@+id/tv_cancel"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_marginRight="20dp"
                android:gravity="center"
                android:text="@string/cancle"
                android:textColor="@color/cl_black"
                android:textSize="16sp"
                android:textStyle="bold"
                android:visibility="gone"
                />

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="5dp"
                android:layout_alignParentBottom="true"
                android:src="@drawable/line_shape" />
        </RelativeLayout>


        <com.dayu.widgets.LRecyclerView
            android:id="@+id/recyclerView"
            setPresenter="@{presenter}"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
77
    </LinearLayout>
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
78 79

</layout>