Skip to content

Commit

Permalink
Merge pull request #7 from shishir2001/main
Browse files Browse the repository at this point in the history
Ui and Backend Updates
  • Loading branch information
abhisek30 authored Aug 19, 2021
2 parents 43a5158 + b6461df commit 653ea15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class RegisterActivity : AppCompatActivity() {
RegisterButton.setOnClickListener{
handler.insertUserData(register_bluetooth_name.text.toString(),register_Username.text.toString(),register_password.text.toString())
Toast.makeText(this,"Values Inserted", Toast.LENGTH_LONG).show()
onBackPressed()
//start the activity
val intent=Intent(this, MainActivity::class.java)
startActivity(intent)

}
constraintRegisterLayout.setOnTouchListener(object: OnSwipeTouchListener(this@RegisterActivity){
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/layout_navigation_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
android:layout_height="90dp"
app:lottie_autoPlay="true"
app:lottie_loop="true"
app:lottie_rawRes="@raw/profile_animation"
android:background="#0000"
app:lottie_rawRes="@raw/profilepicture"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/raw/profilepicture.json

Large diffs are not rendered by default.

0 comments on commit 653ea15

Please sign in to comment.