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 8312599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:13:05+00:00 2026-06-08T20:13:05+00:00

Just going through the starting tutorials, and while I got the app running fine,

  • 0

Just going through the starting tutorials, and while I got the app running fine, I just want to make sure I have the Android terminology right.

For example, the first app tutorial I went through has you modify the activity_main.xml to include:

<EditText android:id="@+id/edit_message"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:hint="@string/edit_message"
    android:layout_weight="1" />

<Button
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/button_send"
    android:onClick="sendMessage" />

Am I correct in understanding that these (EditText, Button) elements themselves are individual Views? In other words, the above code contains two “Views”, and not two “controls”? Later in the code we run into something called a TextView, which directly has the word “View” in it, while the others do not, which kinda threw me off.

My only other experience is in ASP.Net and C# web development, so I guess my question could be phrased as, are Android “Views” equivalent to ASP.Net Web Controls (asp:DropDownList, asp:Button, etc.)? If I wanted to add more controls to the above code, like more Buttons for example, would I say, “I’m going to add more Views to this Layout?” Or would it be, “I’m going to add more controls to this View?” Or…?

  • 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-06-08T20:13:07+00:00Added an answer on June 8, 2026 at 8:13 pm

    A view is basically anything displayed on the screen, whether it be a button, a piece of text, a list…

    Your complete layout is a view, and each item contained within it is a view as well.

    <RelativeLayout>
        <TextView/>
        <EditText/>
        <LinearLayout>
            <Button>
            <Button>
        </LinearLayout>
    </RelativeLayout>
    

    In the above, the RelativeLayout, LinearLayout, TextView, EditText and Buttons are all “views”. LinearLayout and RelativeLayout being container views, but they can still be referenced as views in order to perform certain functions on them.

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

Sidebar

Related Questions

I am just starting out going through a tutorial on scala and have hit
I am going through the various Google AppEngine tutorials sometimes, and I just noticed
I am starting asp.net MVC2 by going through a few tutorials, but they are
I was just starting to learn cakephp today by going through a blog tutorial.
I'm just starting out learning ASP.NET MVC 3. I've been going through the Music
After going through tutorials on getting started with Tortoise I am finally starting to
I'm just starting iPhone development (coming fron a .Net world) and have been going
I'm just starting programming and going through K&R to try and learn C. I've
Just going through the sample Scala code on Scala website, but encountered an annoying
I was just going through the iterative version of fibonacci series algorithm. I found

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.