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
  • baseSDK
  • src
  • main
  • res
  • layout
  • dialog_licence.xml
Find file
Normal viewHistoryPermalink
dialog_licence.xml 2.87 KB
Newer Older
罗翻's avatar
增加资质提醒框
c22dfa84
 
罗翻 committed 7 years ago
1
<?xml version="1.0" encoding="utf-8"?>
罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
罗翻's avatar
增加资质提醒框
c22dfa84
 
罗翻 committed 7 years ago
3
    android:layout_width="270dp"
罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
4 5 6
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:orientation="vertical">
罗翻's avatar
增加资质提醒框
c22dfa84
 
罗翻 committed 7 years ago
7

罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
8 9 10
    <RelativeLayout
        android:background="@color/white"
        android:id="@+id/rl_content"
罗翻's avatar
增加资质提醒框
c22dfa84
 
罗翻 committed 7 years ago
11
        android:layout_width="270dp"
罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
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
        android:layout_height="300dp"
        android:layout_gravity="center">

        <ImageView
            android:id="@+id/iv_header"
            android:layout_width="270dp"
            android:layout_height="111dp"
            android:src="@drawable/icon_licence" />

        <TextView
            android:id="@+id/tv_congratulation"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/iv_header"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="12sp"
            android:text="恭喜您!"
            android:textColor="@color/default_text_color"
            android:textSize="20sp" />

        <TextView
            android:id="@+id/tv_attain"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/tv_congratulation"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="15sp"
            android:text="获得资质"
            android:textColor="@color/default_editext_color"
            android:textSize="12sp" />
罗翻's avatar
增加资质提醒框
c22dfa84
 
罗翻 committed 7 years ago
42

罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
43 44 45 46 47 48 49 50 51
        <TextView
            android:id="@+id/tv_content"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/tv_attain"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="12sp"
            android:maxEms="10"
            android:maxLines="1"
mReturn's avatar
全局替换文字
9064395c
 
mReturn committed 5 years ago
52
            android:text="智能门锁初级师傅"
罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
53 54 55 56 57 58 59 60 61 62 63
            android:textColor="@color/default_text_color"
            android:textSize="22sp"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/tv_check"
            android:layout_width="231dp"
            android:layout_height="42dp"
            android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="@dimen/dp_20"
罗翻's avatar
压缩图片,升级环信sdk
12dbb195
 
罗翻 committed 6 years ago
64
            android:background="@drawable/tab_blue_react"
罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
65 66 67 68 69 70 71 72 73 74
            android:gravity="center"
            android:text="前往查看"
            android:textColor="@color/white"
            android:textSize="14sp" />

    </RelativeLayout>

    <ImageView
        android:id="@+id/iv_close"
        android:layout_width="match_parent"
罗翻's avatar
增加资质提醒框
c22dfa84
 
罗翻 committed 7 years ago
75
        android:layout_height="wrap_content"
罗翻's avatar
增加资质提醒框
ae7936c9
 
罗翻 committed 7 years ago
76 77 78 79
        android:layout_gravity="center"
        android:paddingTop="25dp"
        android:src="@drawable/icon_close" />
</LinearLayout>