-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_res_layout_activity_start.xml
48 lines (46 loc) · 1.87 KB
/
main_res_layout_activity_start.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
44
45
46
47
48
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/back2"
tools:context="com.example.harsh.freechat.StartActivity">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="113dp"
android:text="@string/welcome_to_freechat"
android:textColor="@android:color/white"
android:textSize="35sp"
android:textStyle="bold" />
<Button
android:id="@+id/start_reg_btn"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_alignEnd="@+id/textView"
android:layout_alignParentBottom="true"
android:layout_marginBottom="46dp"
android:layout_marginEnd="40dp"
android:background="@color/colorAccent"
android:padding="15dp"
android:text="@string/sign_up"
android:textColor="@android:color/white"
android:textSize="20sp" />
<Button
android:id="@+id/start_login_btn"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_alignBaseline="@+id/start_reg_btn"
android:layout_alignBottom="@+id/start_reg_btn"
android:layout_alignStart="@+id/textView"
android:layout_marginStart="42dp"
android:background="@color/colorAccent"
android:padding="15dp"
android:text="@string/log_in"
android:textColor="@android:color/white"
android:textSize="20sp" />
</RelativeLayout>