Explorar el Código

使用字体图标

zhanglong7 %!s(int64=7) %!d(string=hace) años
padre
commit
f69375034c

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


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

@ -8,18 +8,35 @@
8 8
        android:id="@+id/topbar_url"
9 9
        android:layout_width="match_parent"
10 10
        android:layout_height="wrap_content"
11
        android:paddingTop="5dp"
12
        android:paddingBottom="5dp"
11 13
        android:background="@android:color/white">
12 14
         
13
        <ImageButton
15
        <com.ai.ipu.mobile.ui.view.IconView
14 16
            android:id="@+id/btn_url_back"
15 17
            android:layout_width="wrap_content"
16 18
            android:layout_height="wrap_content"
17 19
            android:layout_alignParentLeft="true"
18
            android:src="@drawable/browser_back_unpressed"
20
            android:layout_centerVertical="true"
19 21
            android:background="@color/transparent"
20 22
            android:layout_marginLeft="10dp"
21 23
            android:layout_marginTop="5dp"
22 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 42
        <TextView
@ -30,16 +47,28 @@
30 47
            android:textSize="20sp"
31 48
            android:text="标题栏"/>
32 49
        
33
        <ImageButton
50
        <com.ai.ipu.mobile.ui.view.IconView
34 51
            android:id="@+id/btn_url_more"
35 52
            android:layout_width="wrap_content"
36 53
            android:layout_height="wrap_content"
37 54
            android:layout_alignParentRight="true"
38
            android:src="@drawable/browser_homepage_unpressed"
55
            android:layout_centerVertical="true"
39 56
            android:background="@color/transparent"
40 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 73
    </RelativeLayout>
45 74
    

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