|
10 | 10 | android:layout_alignParentTop="true" |
11 | 11 | /> |
12 | 12 |
|
13 | | - <com.brian.common.view.CircleImageView |
14 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
15 | | - android:id="@+id/logo" |
16 | | - android:layout_width="wrap_content" |
17 | | - android:layout_height="wrap_content" |
18 | | - android:layout_below="@+id/title_bar" |
19 | | - android:layout_centerHorizontal="true" |
20 | | - android:layout_marginTop="@dimen/user_head_marginTop" |
21 | | - android:src="@drawable/icon_default_user" |
22 | | - app:border_color="#FFffffff" |
23 | | - app:border_width="@dimen/circle_border_width" /> |
24 | | - |
25 | 13 | <TextView |
26 | 14 | android:id="@+id/blogTV" |
27 | 15 | android:layout_width="wrap_content" |
28 | 16 | android:layout_height="wrap_content" |
29 | | - android:layout_below="@+id/logo" |
30 | | - android:layout_centerHorizontal="true" |
| 17 | + android:layout_below="@id/title_bar" |
| 18 | + android:padding="15dp" |
| 19 | + android:lineSpacingExtra="4dp" |
31 | 20 | android:layout_marginTop="14dp" |
32 | | - android:text="@string/user_name" |
| 21 | + android:text="@string/app_description" |
33 | 22 | android:textColor="@color/black" |
34 | | - android:textSize="18sp" |
35 | | - android:textStyle="bold" /> |
| 23 | + android:textSize="18sp"/> |
36 | 24 |
|
37 | 25 | <TableLayout |
38 | 26 | android:id="@+id/contact" |
|
41 | 29 | android:layout_below="@+id/blogTV" |
42 | 30 | android:layout_centerHorizontal="true" |
43 | 31 | android:layout_marginBottom="5dp" |
44 | | - android:layout_marginTop="55dp" > |
| 32 | + android:layout_marginTop="20dp" > |
45 | 33 |
|
46 | 34 | <TableRow android:layout_margin="5dp" > |
47 | | - |
48 | | - <TextView |
49 | | - android:layout_width="wrap_content" |
50 | | - android:layout_height="wrap_content" |
51 | | - android:text="QQ群 :" |
52 | | - android:textColor="@color/black" |
53 | | - android:textSize="@dimen/user_center_size_info" /> |
54 | | - |
55 | 35 | <TextView |
| 36 | + android:id="@+id/qq" |
56 | 37 | android:layout_width="wrap_content" |
57 | 38 | android:layout_height="wrap_content" |
| 39 | + android:drawableLeft="@drawable/ic_qq" |
| 40 | + android:drawablePadding="10dp" |
| 41 | + android:autoLink="web" |
58 | 42 | android:text="194067225" |
59 | 43 | android:textColor="@color/black" |
60 | 44 | android:textIsSelectable="true" |
61 | 45 | android:textSize="@dimen/user_center_size_info" /> |
62 | 46 | </TableRow> |
63 | 47 |
|
64 | 48 | <TableRow android:layout_margin="5dp" > |
65 | | - |
66 | 49 | <TextView |
67 | 50 | android:layout_width="wrap_content" |
68 | 51 | android:layout_height="wrap_content" |
69 | | - android:text="github: " |
70 | | - android:textColor="@color/black" |
71 | | - android:textSize="@dimen/user_center_size_info" /> |
72 | | - |
73 | | - <TextView |
74 | | - android:layout_width="wrap_content" |
75 | | - android:layout_height="wrap_content" |
76 | | - android:autoLink="email" |
| 52 | + android:drawableLeft="@drawable/ic_github" |
| 53 | + android:drawablePadding="10dp" |
| 54 | + android:autoLink="web" |
77 | 55 | android:text="https://github.com/brian512/CodeBlog" |
78 | 56 | android:textIsSelectable="true" |
79 | 57 | android:textColor="@color/black" |
80 | 58 | android:textSize="@dimen/user_center_size_info" /> |
81 | 59 | </TableRow> |
82 | 60 |
|
83 | 61 | <TableRow android:layout_margin="5dp" > |
84 | | - |
85 | | - <TextView |
86 | | - android:layout_width="wrap_content" |
87 | | - android:layout_height="wrap_content" |
88 | | - android:text="BLOG: " |
89 | | - android:textColor="@color/black" |
90 | | - android:textSize="@dimen/user_center_size_info" /> |
91 | | - |
92 | 62 | <TextView |
93 | 63 | android:id="@+id/blogLink" |
94 | 64 | android:layout_width="wrap_content" |
95 | 65 | android:layout_height="wrap_content" |
| 66 | + android:drawableLeft="@drawable/ic_blog" |
| 67 | + android:drawablePadding="10dp" |
96 | 68 | android:autoLink="web" |
97 | 69 | android:textIsSelectable="true" |
98 | 70 | android:text="@string/brian_blog" |
|
105 | 77 | android:layout_height="wrap_content" |
106 | 78 | android:layout_centerHorizontal="true" |
107 | 79 | android:layout_below="@+id/contact" |
108 | | - android:layout_marginTop="20dp" |
| 80 | + android:layout_marginTop="10dp" |
109 | 81 | android:text="欢迎大家的参与!" |
110 | 82 | android:textColor="@color/black" /> |
111 | 83 |
|
|
0 commit comments