Skip to content

Commit 92cceb9

Browse files
Added Multiline supoort for question
1 parent 37c05e8 commit 92cceb9

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/res/layout/activity_main.xml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,28 @@
55
android:background="@color/black"
66
android:orientation="vertical">
77

8-
<TextView
9-
android:id="@+id/placeholder"
8+
<ScrollView
109
android:layout_width="match_parent"
1110
android:layout_height="0dp"
12-
android:layout_marginTop="30sp"
13-
android:layout_marginEnd="10sp"
14-
android:layout_weight="1"
15-
android:fontFamily="@font/productsans"
16-
android:gravity="end"
17-
android:singleLine="true"
18-
android:text=""
19-
android:textColor="@color/white"
20-
android:textSize="38sp" />
11+
android:layout_marginTop="10dp"
12+
android:layout_weight="1">
13+
14+
<LinearLayout
15+
android:layout_width="match_parent"
16+
android:layout_height="wrap_content"
17+
android:orientation="vertical" >
18+
19+
<TextView
20+
android:id="@+id/placeholder"
21+
android:layout_width="match_parent"
22+
android:fontFamily="@font/productsans"
23+
android:gravity="end"
24+
android:singleLine="false"
25+
android:textColor="@color/white"
26+
android:textSize="38sp"
27+
android:layout_height="match_parent" />
28+
</LinearLayout>
29+
</ScrollView>
2130

2231
<TextView
2332
android:id="@+id/answer"

0 commit comments

Comments
 (0)