-
Notifications
You must be signed in to change notification settings - Fork 27
/
main_header.xml
43 lines (35 loc) · 1.37 KB
/
main_header.xml
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_header"
android:layout_width="match_parent"
android:layout_height="200dp"
android:fitsSystemWindows="true">
<FrameLayout
android:id="@+id/greeting_img"
android:layout_width="match_parent"
android:layout_height="180dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape"
android:gravity="center"
android:orientation="vertical" />
</FrameLayout>
<TextView
android:id="@+id/greeting_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:gravity="center"
android:textColor="#fff"
android:textSize="14dp" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/greeting_text"
android:layout_alignParentBottom="true">
<include layout="@layout/main_image_slider" />
</RelativeLayout>
</RelativeLayout>