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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:37:35+00:00 2026-05-14T16:37:35+00:00

I have the following imageButton <ImageButton android:id=@+id/header_buttonleft android:layout_width=40dip android:layout_height=40dip android:layout_alignParentLeft=true android:layout_marginLeft=10dip android:layout_marginTop=5dip android:src=@drawable/icon_download android:clickable=true/>

  • 0

I have the following imageButton

    <ImageButton
    android:id="@+id/header_buttonleft"
    android:layout_width="40dip"
    android:layout_height="40dip"
    android:layout_alignParentLeft="true"
    android:layout_marginLeft="10dip"
    android:layout_marginTop="5dip"
    android:src="@drawable/icon_download"
    android:clickable="true"/>

But when I load my application in the device, it appears too small:

alt text

Anyone knows how can I make the icon bigger. I have tried to increase the resolution (actually the icon is 70×70) but it still doesn’t work. Any idea?

  • 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-14T16:37:36+00:00Added an answer on May 14, 2026 at 4:37 pm

    Anyone knows how can i make the icon
    bigger.

    Make a bigger button.

    As an experiment, remove android:src from your layout, then run your app. That is the smallest an ImageButton can go without a custom background.

    You are welcome to create your own custom ImageButton background with custom nine-patch PNG files for the different background states, where you adjust the nine-patch control frame to allow for a smaller gap between where your icon goes and the edges of the button.

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

Sidebar

Related Questions

I have the following xml object representing a ImageButton <?xml version=1.0 encoding=utf-8?> <ImageButton xmlns:android=http://schemas.android.com/apk/res/android
Hello Android Experts, I have the following layout: <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=center_horizontal> <ImageButton
I have the following code which creates an ImageButton and plays a sound when
I have the following code: <telerik:RadAjaxPanel ID=RadAjaxPanel1 runat=server LoadingPanelID=rlpMain> <asp:ImageButton ID=ImageButton1 runat=server OnClientClick=return confirm('Are
I have the following datagrid: <asp:DataGrid runat=server ID=gastosReembolsables ShowFooter=True AutoGenerateColumns=False> <AlternatingItemStyle CssClass=DATAitem2></AlternatingItemStyle> <ItemStyle CssClass=DATAitem1></ItemStyle>
I have the following layout in place <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=fill_parent
I have the following button <asp:ImageButton ID=button1 runat=server ImageUrl=~/image.jpg CommandName = id CommandArgument =
I have following Table in my Android app. Everything works, except the last button
I have a the following code: final ImageButton bgreen = (ImageButton) findViewById(R.id.imageButton1c); bgreen.setImageResource(R.drawable.xgp); gHandler.postDelayed(greenRunnable,
Let's assume we have the following class : public class ImageButton extends MovieClip {

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.