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

The Archive Base Latest Questions

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

I found that both fill_parent and match_parent means the same thing fill_parent means that

  • 0

I found that both fill_parent and match_parent means the same thing

  • fill_parent means that the view wants to be as big as its parent, minus the parent’s padding, if any.
  • match_parent means that the view wants to be as big as its parent, minus the parent’s padding, if any.

The only difference that I found is that fill_parent is deprecated starting from API Level 8 and is replaced by match_parent

However, I didn’t notice any difference between these two. If both are the same then, why is fill_parent deprecated. Can anyone explain any differences between these two except for the fact that one is deprecated and the other isn’t?

I have gone through http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html

  • 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-27T12:37:16+00:00Added an answer on May 27, 2026 at 12:37 pm

    As you said they are exact the same. As Romain Guy said, they have changed the name because "fill_parent" was confusing for developers. As matter of the fact, "fill_parent" does not fill the remaining space (for that you use the weight attribute) but it takes as much space as its layout parent. That’s why the new name is "match_parent".

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

Sidebar

Related Questions

so I have found that when I add both .draggable() and .droppable() to an
This inheritance is found in ADO.Net. Can we say that here both the design
I found that most tutorials use one big router. For example: https://github.com/thomasdavis/backboneboilerplate/blob/gh-pages/js/router.js Wouldn't it
I am looking at Ogre3D code and WildMagic code and I found that both
I have 1 array that I want to re-index. I have found that both
I have a pair of views in my application that both display the same
(message %s 'abc) (message %s abc) I found that both the former expression will
I've found that both My.User.Name and My.User.CurrentPrincipal.Identity.Name both return the Windows login ID of
I have found that on both IE and Firefox the SVG @style attribute does
I found that HTMLOptionsCollection object inherits properties and methods from HTMLCollection. HTMLOptionsCollections->HTMLCollection->Object->null Is there

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.