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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:22:48+00:00 2026-06-09T14:22:48+00:00

OK the header says it. I want to be able to create my own

  • 0

OK the header says it.

I want to be able to create my own controls such as buttons, textviews, edittext boxes, spinners, and so on. I can create the images in CS5 but how do I turn those images into functional GUI components? Thanks

  • 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-09T14:22:49+00:00Added an answer on June 9, 2026 at 2:22 pm

    You mean you want to create a custom looking version of those controls right?

    You could make an ImageButton component for any custom button you made, and use the attribute android:src, like

    android:src="@drawable/your_image"
    

    Similarly for EditText you can use the attribute android:background.

    Edit:
    The android controls are not stored as standard image files anywhere accessible. The standard designs that you mentioned are the default look of the elements.

    To change it, you would have to create the background yourself and store it as a .png file in the drawable folder of your project. Make sure you name this file only in lower case and with no special characters like spaces etc.. Copy this file into all the drawable folders(drawable-hdpi,ldpi etc).

    Then you have to refer to this file within your box as

    <EditText
        android:background="@drawable/your_edit_text_graphic_file_name"
        android:text="@string/sample_text"
        android:layout_width="match_parent"
        -- all other attribute declarations --
    </EditText>
    

    Similarly, for other elements you would have to use android:src like is mentioned earlier to refer to your own graphic!

    Hope this helps!

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

Sidebar

Related Questions

Can't get Location header from response at all. Wireshark says that i've got one:
When you create content on Drupal, the header at the top says Create .
header(Content-type: image/gif); readfile($filename); The above can only be used to show gif images. Is
The ISAPI Filter documentation says I can call SF_REQ_SEND_RESPONSE_HEADER to send the response header,
As it says in the header line, I want to convert zenkaku characters to
The Sinatra README says : request[SOME_HEADER] # value of SOME_HEADER header Given this app:
I know in the Manuel it says that the header has to be the
I am designing an API system in Ruby-on-Rails, and I want to be able
As the title says, I want to have a build tool that quite much
I have a TreeView, and I want to be able to add children to

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.