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

  • Home
  • SEARCH
  • 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 7165503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:15:37+00:00 2026-05-28T14:15:37+00:00

I am making my first Android program. I am making a local chat program.

  • 0

I am making my first Android program.
I am making a local chat program. Both persons can type and chat on same device. The layout looks like something below.

What do you think is the best layout for this? For now I am thinking of ListActivity.
Any link to code would also be helpful.enter image description here

  • 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-28T14:15:38+00:00Added an answer on May 28, 2026 at 2:15 pm

    Yeah, use a list activity where the layout consists of a relative layout which contains the listview and on top the container for the message edittext and the button.

    In the listview adapter add some logic which sets the align of the text-container either to the left or the right site depending on which person wrote the text and you’re good to go.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an android program that I am making with 4 seekbars, and 4
I want to start making cellphone apps with Android as first choice but not
I'm making an ecommerce application on Android and, as it is my first serious
I'm working on my first Android project, and I'm starting off by making a
I'm making a information app for Android and I can't figure out how to
I'm making my first Android game which is going to be a 3D arcade-ish
I'm making an Android app where the user can download files from a FTP-server.
I'm making my first game using Java on Android. I need to draw a
I am making an Android application. Since it is so simple, I first thought
I'm currently in the process of making one of my first android games and

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.