1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ android : layout_width =" match_parent"
4
+ android : layout_height =" wrap_content"
5
+ android : paddingTop =" @dimen/search_item_padding"
6
+ android : paddingBottom =" @dimen/search_item_padding" >
7
+
8
+ <LinearLayout
9
+ android : id =" @+id/ll_star"
10
+ android : layout_width =" wrap_content"
11
+ android : layout_height =" wrap_content"
12
+ android : layout_alignParentRight =" true"
13
+ android : orientation =" vertical"
14
+ android : paddingLeft =" @dimen/search_item_spacing_small"
15
+ android : paddingRight =" @dimen/search_item_spacing_small" >
16
+
17
+ <ImageView
18
+ android : layout_width =" wrap_content"
19
+ android : layout_height =" wrap_content"
20
+ android : src =" @drawable/ic_star"
21
+ android : layout_marginRight =" @dimen/search_item_spacing_small"
22
+ android : layout_gravity =" center_horizontal" />
23
+
24
+ <TextView
25
+ android : id =" @+id/tv_github_repo_star"
26
+ android : layout_width =" wrap_content"
27
+ android : layout_height =" wrap_content"
28
+ android : textSize =" 12sp" />
29
+
30
+ </LinearLayout >
31
+
32
+ <LinearLayout
33
+ android : layout_width =" match_parent"
34
+ android : layout_height =" wrap_content"
35
+ android : orientation =" vertical"
36
+ android : layout_toLeftOf =" @id/ll_star" >
37
+
38
+ <TextView
39
+ android : id =" @+id/tv_github_repo_name"
40
+ android : layout_width =" wrap_content"
41
+ android : layout_height =" wrap_content"
42
+ android : textAppearance =" @style/TextAppearance.AppCompat.Large"
43
+ android : textStyle =" bold"
44
+ android : textColor =" @color/colorGitHubRepoName"
45
+ android : layout_marginBottom =" @dimen/search_item_spacing_medium" />
46
+
47
+ <TextView
48
+ android : id =" @+id/tv_github_description"
49
+ android : layout_width =" wrap_content"
50
+ android : layout_height =" wrap_content"
51
+ android : textAppearance =" @style/TextAppearance.AppCompat.Small"
52
+ android : layout_marginBottom =" @dimen/search_item_spacing_large" />
53
+
54
+ <TextView
55
+ android : id =" @+id/tv_github_last_updated"
56
+ android : layout_width =" wrap_content"
57
+ android : layout_height =" wrap_content"
58
+ android : textAppearance =" @style/TextAppearance.AppCompat.Small" />
59
+
60
+ </LinearLayout >
61
+
62
+ </RelativeLayout >
0 commit comments