mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
show the account source at the details view
This commit is contained in:
@ -104,11 +104,13 @@ class ContactActivity : SimpleActivity() {
|
||||
contact_name_image.applyColorFilter(textColor)
|
||||
contact_number_image.applyColorFilter(textColor)
|
||||
contact_email_image.applyColorFilter(textColor)
|
||||
contact_source_image.applyColorFilter(textColor)
|
||||
|
||||
contact_photo.setOnClickListener { }
|
||||
contact_send_sms.setOnClickListener { sendSMSIntent(contact!!.number) }
|
||||
contact_start_call.setOnClickListener { startCallIntent(contact!!.number) }
|
||||
contact_send_email.setOnClickListener { sendEmailIntent(contact!!.email) }
|
||||
contact_source.setOnClickListener { showAccountSourcePicker() }
|
||||
|
||||
updateTextColors(contact_scrollview)
|
||||
wasActivityInitialized = true
|
||||
@ -140,6 +142,7 @@ class ContactActivity : SimpleActivity() {
|
||||
contact_surname.setText(contact!!.surname)
|
||||
contact_number.setText(contact!!.number)
|
||||
contact_email.setText(contact!!.email)
|
||||
contact_source.text = contact!!.source
|
||||
}
|
||||
|
||||
private fun setupNewContact() {
|
||||
@ -162,4 +165,8 @@ class ContactActivity : SimpleActivity() {
|
||||
private fun deleteContact() {
|
||||
|
||||
}
|
||||
|
||||
private fun showAccountSourcePicker() {
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user