Skip to content

Commit

Permalink
Implementation: Contact Screen | Added secretary title to bottomsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
skaradimitriou committed Mar 25, 2022
1 parent ce2fdaa commit 2b81dcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class ContactActivity : UnipiActivity<ActivityContactBinding>(R.layout.activity_
it.setContentView(binding.root)
}.show()

binding.bottomSheetTitle.text = model.title
binding.bottomSheetEmail.setOnClickListener { sendMail(model.email) }
binding.bottomSheetTelephone.setOnClickListener { showCallOptions(model) }
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/contact_screen_bottom_sheet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/dimen_16"
android:text="@string/contact_type_selection"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
tools:text="@string/contact_type_selection" />

<ImageView
android:id="@+id/email_icon"
Expand Down

0 comments on commit 2b81dcc

Please sign in to comment.