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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:40:32+00:00 2026-05-23T17:40:32+00:00

please is possible to make some activity with images, text etc. via some .java

  • 0

please is possible to make some activity with images, text etc. via some .java file (Java programming) without xml? – xml use only for strings of text, for multilanguage….

Thanks for help.

  • 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-23T17:40:32+00:00Added an answer on May 23, 2026 at 5:40 pm

    Yeah it is possible and we call it Dynamic Layouts. But i think you should stick to XML because it is easier to use as compared to programmed layouts. I know XML layout could be an headache sometime but once you’ll be habitual to these XML layouts stuff then you won’t find it hard any more. And if there is any other reason behind why you asked this question then yes it is possible as Android SDK provides classes for each and every layout element with the same name as used in XML file.

    For ex. you can create a TextView like this in an activity:-

    TextView textView = new TextView(this);
    

    now you can call any function on it which would work similar to TextView’s properties used in XML file for ex. for android:text property you can use :-

    textView.setText("I am a TextView");
    

    And if you want to know more about these Dynamic layouts then you should spend some time on developer.android.com.

    I hope my answer will be useful for you.

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

Sidebar

Related Questions

I want to programmatically read the contents of the /etc directory. If possible please
I have some thread-related questions, assuming the following code. Please ignore the possible inefficiency
Please tell me whether it is possible to use both SimpleUrlHandlerMapping and AnnotationMapping in
I need to store some data in a text file. The data is in
I want to make some file operation using Javascript or jQuery like: File create
Possible Duplicate: Silverlight XML editor / syntax highlighting Hello, I have some XML in
Is is possible to make XCode run by executing an AppleScript or some sort
Please tell me if it is possible to do the following: create an instance
Please see MSO question A long list of possible duplicates — C memory allocation
Somebody please tell me it is possible to recover Visual Studio source after VS

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.