qna_rv_item.xml
1.94 KB
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
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:background="@drawable/bottom_border"
android:orientation="horizontal"
android:padding="7dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/questionText"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center|right"
android:layout_weight="1"
android:gravity="center|left"
android:text="TextView"
android:textSize="16dp" />
<ImageView
android:id="@+id/bottomArrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="0.1"
android:foregroundGravity="left"
app:srcCompat="@drawable/down_arrow" />
</LinearLayout>
<TextView
android:id="@+id/answerText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F1F9FF"
android:lineSpacingExtra="6dp"
android:paddingLeft="11dp"
android:text="TextView"
android:textSize="13dp" />
</LinearLayout>
</LinearLayout>