Skip to content

Commit bb4f55c

Browse files
committed
Fixed UI glitch
Brought the help message and imageview in the main activity to the back, so that it doesn't cover parts of the text field area.
1 parent b80b29e commit bb4f55c

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,29 @@
1212

1313
>
1414

15+
<TextView
16+
android:layout_width="wrap_content"
17+
android:layout_height="wrap_content"
18+
android:textAppearance="?android:attr/textAppearanceLarge"
19+
android:text="No questions yet, type below to add questions."
20+
android:textStyle="italic"
21+
android:textColor="#7e7e7e"
22+
android:id="@+id/msg"
23+
android:layout_marginTop="120dp"
24+
android:layout_marginLeft="50dp"
25+
android:layout_marginRight="50dp"
26+
android:layout_alignParentTop="true"
27+
android:layout_centerHorizontal="true" />
28+
29+
<ImageView
30+
android:layout_width="wrap_content"
31+
android:layout_height="wrap_content"
32+
android:id="@+id/icon"
33+
android:layout_below="@+id/msg"
34+
android:layout_centerHorizontal="true"
35+
android:alpha="0.4"
36+
android:src="@android:drawable/ic_search_category_default" />
37+
1538
<ListView
1639
android:layout_width="wrap_content"
1740
android:layout_height="wrap_content"
@@ -81,29 +104,6 @@
81104
android:layout_alignRight="@+id/lvItems"
82105
android:layout_alignEnd="@+id/lvItems" />
83106

84-
<TextView
85-
android:layout_width="wrap_content"
86-
android:layout_height="wrap_content"
87-
android:textAppearance="?android:attr/textAppearanceLarge"
88-
android:text="No questions yet, type below to add questions."
89-
android:textStyle="italic"
90-
android:textColor="#7e7e7e"
91-
android:id="@+id/msg"
92-
android:layout_marginTop="120dp"
93-
android:layout_marginLeft="50dp"
94-
android:layout_marginRight="50dp"
95-
android:layout_alignParentTop="true"
96-
android:layout_centerHorizontal="true" />
97-
98-
<ImageView
99-
android:layout_width="wrap_content"
100-
android:layout_height="wrap_content"
101-
android:id="@+id/icon"
102-
android:layout_below="@+id/msg"
103-
android:layout_centerHorizontal="true"
104-
android:alpha="0.4"
105-
android:src="@android:drawable/ic_search_category_default" />
106-
107107

108108

109109
</RelativeLayout>

0 commit comments

Comments
 (0)