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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:46:22+00:00 2026-06-10T00:46:22+00:00

I am currently converting an xml file to java coding, but I have met

  • 0

I am currently converting an xml file to java coding, but I have met a problem. In my xml file I have a View with two xmlns attributes like this :

xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"

How can I ad these to my custom FrameLayout in java?

  • 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-10T00:46:23+00:00Added an answer on June 10, 2026 at 12:46 am

    The purpose of the xmlns attributes is to tell the design-time and build-time tools about the various UI elements such as Button, TextView, FrameLayout etc.

    Simply importing the relevant widget and view classes if you’re writing Java code to build the layout dynamically is basically the equivalent. In other words, don’t worry about the xmlns attributes.

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

Sidebar

Related Questions

So I have this huge XML file that I am converting to an object
i am currently using xslt1.0 and jdk1.6.0_10 for converting xml to html..but i couldnt
I have a Java web application that currently uses Log4J for logging. I'd like
I'm currently puling data from an external XML file and converting it to JSON
I have an application that I'm converting to Symfony/Doctrine. It currently stores a serialized
I have a task at work that involves converting legacy SGM files into XML.
Currently I'm working on converting object to XML, I notice all object properties are
I am converting some Silverlight XAML into WPF. I currently have a user control
i have my XML like this <p> <ul> <li>Coffee</li> <li>Milk</li> <li>shilk</li> <li>tilk</li> <li>pilk</li> </ul>
I currently have a project converting asp classic codes to C#, then i came

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.