Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Carrentals_james_clarke
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
james.clarke2
Carrentals_james_clarke
Commits
413e5573
Commit
413e5573
authored
May 19, 2020
by
james.clarke2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
21f8a519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
109 additions
and
0 deletions
+109
-0
activity_main.xml
activity_main.xml
+109
-0
No files found.
activity_main.xml
0 → 100644
View file @
413e5573
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
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"
package=
"com.example.carrentals"
>
<TextView
android:id=
"@+id/textView"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"169dp"
android:layout_marginTop=
"117dp"
android:layout_marginEnd=
"184dp"
android:layout_marginBottom=
"55dp"
android:text=
"Registration Page"
app:layout_constraintBottom_toTopOf=
"@+id/nameTxt"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.654"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<EditText
android:id=
"@+id/nameTxt"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"43dp"
android:layout_marginTop=
"55dp"
android:layout_marginEnd=
"43dp"
android:layout_marginBottom=
"27dp"
android:ems=
"10"
android:inputType=
"textPersonName"
android:text=
"Name"
app:layout_constraintBottom_toTopOf=
"@+id/userNameTxt"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/textView"
/>
<EditText
android:id=
"@+id/userNameTxt"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_marginBottom=
"23dp"
android:ems=
"10"
android:inputType=
"textPersonName"
android:text=
"Username"
app:layout_constraintBottom_toTopOf=
"@+id/passwordTxt"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/nameTxt"
/>
<EditText
android:id=
"@+id/passwordTxt"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"43dp"
android:layout_marginTop=
"44dp"
android:layout_marginEnd=
"43dp"
android:ems=
"10"
android:inputType=
"textPersonName"
android:text=
"Password"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/userNameTxt"
/>
<Button
android:id=
"@+id/buttonLogin"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"68dp"
android:layout_marginBottom=
"76dp"
android:onClick=
"goToLogin"
android:text=
"Login"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
<Button
android:id=
"@+id/buttonAdd"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"63dp"
android:layout_marginBottom=
"76dp"
android:onClick=
"addNewUserFun"
android:text=
"OK"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.988"
app:layout_constraintStart_toEndOf=
"@+id/buttonLogin"
/>
<EditText
android:id=
"@+id/passwordTXT"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_marginBottom=
"71dp"
android:ems=
"10"
android:inputType=
"textPersonName"
android:text=
"Re-password"
app:layout_constraintBottom_toTopOf=
"@+id/buttonLogin"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment