blob: 96ba110744a8f7e2e35ca9a29e00f21360ea420b (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:clickable="true"
android:background="?selectableItemBackground">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="6dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="8dp"
android:paddingRight="8dp">
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
android:ellipsize="end"
android:gravity="start"
android:maxLines="1"
android:textSize="@dimen/textSizeLarge_openSource"
android:textStyle="normal"
tools:text="App name" />
<TextView
android:id="@+id/creator"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="2"
android:gravity="end"
android:maxLines="2"
android:textSize="@dimen/textSizeSmall_openSource"
android:textStyle="normal"
tools:text="Creator" />
</LinearLayout>
<View
android:id="@+id/top_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_marginTop="4dp" />
<TextView
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="20"
android:padding="8dp"
android:textSize="@dimen/textSizeSmall_openSource"
android:textStyle="normal"
tools:text="Description"/>
<View
android:id="@+id/bottom_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_marginTop="4dp" />
<LinearLayout
android:id="@+id/bottom_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="4dp">
<TextView
android:id="@+id/version"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:maxLines="1"
android:textSize="@dimen/textSizeSmall_openSource"
android:textStyle="normal"
tools:text="Version" />
<TextView
android:id="@+id/license"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="end"
android:maxLines="1"
android:textSize="@dimen/textSizeSmall_openSource"
android:textStyle="normal"
tools:text="License" />
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>
|