forked from campusx-official/deploy-ml-model-as-android-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
54 lines (51 loc) · 1.8 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
53
54
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".MainActivity"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Student Placement Predictor"
android:textSize="30dp"
android:textAlignment="center"
android:layout_marginTop="30dp"></TextView>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="CGPA"
android:id="@+id/cgpa"
android:layout_marginTop="20dp"
></EditText>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="IQ"
android:id="@+id/iq"
android:layout_marginTop="20dp"
></EditText>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="profile_score"
android:id="@+id/profile_score"
android:layout_marginTop="20dp"
></EditText>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Predict"
android:layout_marginTop="30dp"
android:id="@+id/predict"></Button>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text=""
android:textSize="50dp"
android:textAlignment="center"
android:layout_marginTop="80dp"
android:id="@+id/result"></TextView>
</LinearLayout>