blob: a87b53655770308e187ad872670cdb4875ad052f (
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
107
108
109
110
111
112
113
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:orientation="vertical"
android:scrollbars="vertical">
<FrameLayout
android:id="@+id/post_inreplyto_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:elevation="2dp"
android:background="?colorBackgroundFloating">
<include
android:id="@+id/layout_post_reply_status"
layout="@layout/list_item_status"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<ImageButton
android:id="@+id/button_post_reply_delete"
style="@style/custom_button_transparent"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="right|top"
android:scaleType="fitCenter"
android:src="?attr/icon_post_delete" />
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:baselineAligned="false"
android:orientation="horizontal">
<EditText
android:id="@+id/post_edit_text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:inputType="text|textMultiLine"
android:minHeight="60dp">
<requestFocus />
</EditText>
<ImageButton
android:id="@+id/button_post_delete"
style="@style/custom_button_transparent"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="right|top"
android:scaleType="fitCenter"
android:src="?attr/icon_post_delete" />
<TextView
android:id="@+id/post_text_count"
android:text="000"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_gravity="right|bottom" />
</FrameLayout>
<LinearLayout
android:id="@+id/post_media_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp">
<ImageView
android:id="@+id/image_post_media"
android:layout_width="100dp"
android:layout_height="100dp"
android:clickable="true" />
<ImageButton
android:id="@+id/button_post_media_delete"
style="@style/custom_button_transparent"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginLeft="10dp"
android:scaleType="fitStart"
android:src="?attr/icon_post_delete" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginTop="10dp"
android:alignmentMode="alignBounds"
android:orientation="horizontal">
<ImageButton
android:id="@+id/button_post_media"
style="@style/custom_button_transparent"
android:layout_width="40dp"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="?attr/icon_post_picture" />
<Button
android:id="@+id/button_post_tweet"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/post_button_tweet" />
</LinearLayout>
</LinearLayout>
|