-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_main.xml
52 lines (45 loc) · 1.84 KB
/
activity_main.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
49
50
51
52
<?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/background"
tools:context=".MainActivity"
android:theme="@style/DarkAppTheme">
<android.support.v4.view.ViewPager
android:id="@+id/slideViewPager"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true">
</android.support.v4.view.ViewPager>
<LinearLayout
android:id="@+id/SwitchBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/slideViewPager"
android:layout_centerHorizontal="true"
android:layout_marginBottom="50dp"
android:layout_marginTop="-255dp"
android:orientation="horizontal"
android:padding="20dp">
</LinearLayout>
<Button
android:id="@+id/start_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/SwitchBtn"
android:layout_centerHorizontal="true"
android:layout_marginTop="-30dp"
android:background="@drawable/rounded_rectangle_orange"
android:onClick="user_name"
android:paddingBottom="10dp"
android:paddingLeft="40dp"
android:paddingRight="40dp"
android:paddingTop="10dp"
android:text="@string/get_started"
android:textAllCaps="false"
android:textColor="@color/colorWhite"
android:textSize="20sp"
android:textStyle="normal" />
</RelativeLayout>