Skip to content

Commit 592cfc0

Browse files
committed
added shadow 9 patch for shadow below the header of templateHeador listView ,ie.e below the layout that contains edittext for author and template name..
1 parent 6b5947d commit 592cfc0

2 files changed

Lines changed: 42 additions & 35 deletions

File tree

943 Bytes
Loading
Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,52 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="wrap_content"
5-
android:background="@color/color_primary"
6-
android:orientation="vertical"
7-
android:paddingBottom="25dp"
8-
android:paddingLeft="72dp"
9-
android:paddingRight="16dp"
10-
android:paddingTop="25dp">
5+
android:background="@drawable/shadow_toolbar"
6+
android:orientation="vertical">
117

12-
<view
13-
android:id="@+id/textView"
14-
style="@style/TextView.Caption"
15-
class="org.buildmlearn.toolkit.views.TextViewPlus"
16-
android:text="@string/label_quiz"
17-
android:textColor="@color/color_accent" />
18-
19-
<EditText
20-
android:id="@+id/template_title"
21-
style="@style/EditText.Dark"
8+
<LinearLayout
229
android:layout_width="match_parent"
2310
android:layout_height="wrap_content"
24-
android:hint="@string/hint_quiz_name"
25-
android:textSize="@dimen/headline_leading"
26-
android:theme="@style/EditText.Dark" />
11+
android:background="@color/color_primary"
12+
android:orientation="vertical"
13+
android:paddingBottom="25dp"
14+
android:paddingLeft="72dp"
15+
android:paddingRight="16dp"
16+
android:paddingTop="25dp">
2717

28-
<view
29-
android:id="@+id/textView2"
30-
style="@style/TextView.Caption"
31-
class="org.buildmlearn.toolkit.views.TextViewPlus"
32-
android:text="@string/label_author"
33-
android:textColor="@color/color_accent" />
18+
<view
19+
android:id="@+id/textView"
20+
style="@style/TextView.Caption"
21+
class="org.buildmlearn.toolkit.views.TextViewPlus"
22+
android:text="@string/label_quiz"
23+
android:textColor="@color/color_accent" />
3424

35-
<EditText
36-
android:id="@+id/author_name"
37-
style="@style/EditText.Dark"
38-
android:layout_width="match_parent"
39-
android:layout_height="wrap_content"
40-
android:hint="@string/hint_author"
41-
android:inputType="textPersonName"
42-
android:theme="@style/EditText.Dark" />
25+
<EditText
26+
android:id="@+id/template_title"
27+
style="@style/EditText.Dark"
28+
android:layout_width="match_parent"
29+
android:layout_height="wrap_content"
30+
android:hint="@string/hint_quiz_name"
31+
android:textSize="@dimen/headline_leading"
32+
android:theme="@style/EditText.Dark" />
33+
34+
<view
35+
android:id="@+id/textView2"
36+
style="@style/TextView.Caption"
37+
class="org.buildmlearn.toolkit.views.TextViewPlus"
38+
android:text="@string/label_author"
39+
android:textColor="@color/color_accent" />
40+
41+
<EditText
42+
android:id="@+id/author_name"
43+
style="@style/EditText.Dark"
44+
android:layout_width="match_parent"
45+
android:layout_height="wrap_content"
46+
android:hint="@string/hint_author"
47+
android:inputType="textPersonName"
48+
android:theme="@style/EditText.Dark" />
4349

4450

45-
</LinearLayout>
51+
</LinearLayout>
52+
</FrameLayout>

0 commit comments

Comments
 (0)