Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6716875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:47:08+00:00 2026-05-26T08:47:08+00:00

In Email compose, when user types/selects email ids in to/cc/bcc. Suppose there are 7-8

  • 0

In Email compose, when user types/selects email ids in to/cc/bcc.
Suppose there are 7-8 email ids and now user want to delete 3rd one.
It is very difficult for user to go to 3rd one and delete that one. So I think solution for this is,

  1. User enters email id and hits SPACE or COMMA.
  2. then one rectangular box should appear on background.
  3. I want an cross mark on right corner of that rectangular box.
  4. If user want to delete that 3rd email id,then he will just tap on cross mark of 3rd rectangle which contains that email id.

(please refer figure below from Yahoo email composer)

Yahoo mail box

I need similar functionality. How can I achieve in android? Is there any standard component I can use? Currently I am using auto complete text view for To, Cc, Bcc. Please help. Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:47:08+00:00Added an answer on May 26, 2026 at 8:47 am

    I don’t have time to write up working code, but I will point you in the right direction. The key for doing funky things with text in standard components like EditText are called “spans”.

    Suggested plan of attack:

    1. Add a TextWatcher to your EditText so you know when the text changes.
    2. Each time the text changes, scan the contents for anything matching an email address (suggest you use regex for this).
    3. For each matched email address, generate a Bitmap equivalent using standard drawing APIs (i.e. create Canvas, measure text, draw background, draw text).
    4. Instantiate an ImageSpan (this is kinda the key to the whole thing) using your bitmap as the constructor argument.
    5. Replace the email address in the text with a single space character (say) and call setSpan() on that single character to have your ImageSpan replace it’s appearance.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to send email from a Ruby application. Is there a call in
In my Blackberry application, I have a email address I want the user to
Possible Duplicate: How can i use compose email activity in tabView? I want to
I want to display compose email in Tab Activity. It is my code. TabHost
My problem is that I want to compose an email in python environment of
Preferably using Python or Java, I want to compose an email and save it
hey guys, i have a usercontrol within the default email compose form, I want
I have email addresses encoded with HTML character entities. Is there anything in .NET
I'm pulling email address records from a table in SQL Server 2005, and want
if i want send email with SwiftMailer in symfony then i must in action:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.