Selaa lähdekoodia

使用字体图标

zhanglong7 7 vuotta sitten
vanhempi
commit
f69375034c

BIN
ipu-mobile-common/libs/ipu-plugin-extend.jar


+ 35 - 6
ipu-mobile-common/res/layout/activity_ipuurl.xml

8
        android:id="@+id/topbar_url"
8
        android:id="@+id/topbar_url"
9
        android:layout_width="match_parent"
9
        android:layout_width="match_parent"
10
        android:layout_height="wrap_content"
10
        android:layout_height="wrap_content"
11
        android:paddingTop="5dp"
12
        android:paddingBottom="5dp"
11
        android:background="@android:color/white">
13
        android:background="@android:color/white">
12
         
14
         
13
        <ImageButton
15
        <com.ai.ipu.mobile.ui.view.IconView
14
            android:id="@+id/btn_url_back"
16
            android:id="@+id/btn_url_back"
15
            android:layout_width="wrap_content"
17
            android:layout_width="wrap_content"
16
            android:layout_height="wrap_content"
18
            android:layout_height="wrap_content"
17
            android:layout_alignParentLeft="true"
19
            android:layout_alignParentLeft="true"
18
            android:src="@drawable/browser_back_unpressed"
20
            android:layout_centerVertical="true"
19
            android:background="@color/transparent"
21
            android:background="@color/transparent"
20
            android:layout_marginLeft="10dp"
22
            android:layout_marginLeft="10dp"
21
            android:layout_marginTop="5dp"
23
            android:layout_marginTop="5dp"
22
            android:layout_marginBottom="5dp"
24
            android:layout_marginBottom="5dp"
25
            android:text="&#xF053;"
26
            android:textSize="20sp"
27
            />
28
        <com.ai.ipu.mobile.ui.view.IconView
29
            android:id="@+id/btn_close"
30
            android:layout_width="wrap_content"
31
            android:layout_height="wrap_content"
32
            android:layout_toRightOf="@id/btn_url_back"
33
            android:layout_centerVertical="true"
34
            android:background="@color/transparent"
35
            android:layout_marginLeft="20dp"
36
            android:layout_marginTop="5dp"
37
            android:layout_marginBottom="5dp"
38
            android:text="&#xF00D;"
39
            android:textSize="20sp"
23
            />
40
            />
24
        
41
        
25
        <TextView
42
        <TextView
30
            android:textSize="20sp"
47
            android:textSize="20sp"
31
            android:text="标题栏"/>
48
            android:text="标题栏"/>
32
        
49
        
33
        <ImageButton
50
        <com.ai.ipu.mobile.ui.view.IconView
34
            android:id="@+id/btn_url_more"
51
            android:id="@+id/btn_url_more"
35
            android:layout_width="wrap_content"
52
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
53
            android:layout_height="wrap_content"
37
            android:layout_alignParentRight="true"
54
            android:layout_alignParentRight="true"
38
            android:src="@drawable/browser_homepage_unpressed"
55
            android:layout_centerVertical="true"
39
            android:background="@color/transparent"
56
            android:background="@color/transparent"
40
            android:layout_marginRight="10dp"
57
            android:layout_marginRight="10dp"
41
            android:layout_marginTop="5dp"
42
            android:layout_marginBottom="5dp"/>
58
            android:text="&#xF141;"
59
            android:textSize="20sp"
60
            />
61
        <com.ai.ipu.mobile.ui.view.IconView
62
            android:id="@+id/btn_refresh"
63
            android:layout_width="wrap_content"
64
            android:layout_height="wrap_content"
65
            android:layout_toLeftOf="@id/btn_url_more"
66
            android:layout_centerVertical="true"
67
            android:background="@color/transparent"
68
            android:layout_marginRight="20dp"
69
            android:text="&#xF021;"
70
            android:textSize="20sp"
71
            />
43
72
44
    </RelativeLayout>
73
    </RelativeLayout>
45
    
74
    

BIN
show-client/assets/fontawesome-webfont.ttf