blob: a56683c5e4582c6c3f0be5a5f8279ee8bce2cc09 (
plain) (
blame)
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
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/post_template"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.constraint.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@android:color/background_light">
<TextView
android:id="@+id/text_post_composer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="Text missing."
android:textColor="@android:color/darker_gray"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/text_post_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="Text missing."
android:textColor="@android:color/darker_gray"
android:textSize="12sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_post_composer" />
<Button
android:id="@+id/button_share"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_margin="16dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/btn_share"
app:layout_constraintBottom_toTopOf="@+id/text_post_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/button_comment"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_margin="16dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="32dp"
android:background="@drawable/btn_comment"
app:layout_constraintBottom_toTopOf="@+id/text_post_content"
app:layout_constraintEnd_toStartOf="@+id/button_share" />
<Button
android:id="@+id/button_like"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginBottom="16dp"
android:layout_marginEnd="16dp"
android:background="@drawable/btn_like"
app:layout_constraintBottom_toTopOf="@+id/text_post_content"
app:layout_constraintEnd_toStartOf="@+id/button_comment" />
<TextView
android:id="@+id/text_post_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="Text missing."
android:textColor="@android:color/darker_gray"
android:textSize="16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_post_date" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
</LinearLayout>
|