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

The Archive Base Latest Questions

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

What I am trying to do is put few buttons, made from PNG image,

  • 0

What I am trying to do is put few buttons, made from PNG image, that has opaque border and semi transparent other area, over an image that will be controlled (zoomed, panned).

Something like that:

Transparent buttons

What is the best way to achieve this? What layout and what views should be used? Maybe there is similar tutorial to such app design.

  • 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-23T03:40:51+00:00Added an answer on May 23, 2026 at 3:40 am

    I guess I’d use a relative layout and skinned buttons. The only issue you’ll have with skinned buttons is that you’ll need to be sure you are using 32bit pngs (with a transparency layer) as your button skins.

    Here’s a code chunk for doing button skins – they get set as the background of the button object and you place them in the drawable folder along side your images.

    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android">
        <item android:state_pressed="true"
          android:drawable="@drawable/btn_back_down" /> <!-- pressed -->
        <!-- item android:state_focused="true"
          android:drawable="@drawable/button_focused" /--> <!-- focused -->
        <item android:drawable="@drawable/btn_back_up" /> <!-- default -->
    </selector>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am trying to put few images on top of another image, and then
Trying to put a regex expression together that returns the string between _ and
I trying to put together an Android app that will take a picture and
I'm trying to put together a layout using Bootstrap that resembles your typical OS
I've developed a Flash game that I'm trying to put on Facebook. It's out
I have a JPanel that contains a few other objects that do stuff. I
So I'm trying to take a variable size (anywhere from a few MBs to
I got an app which has a few slow pages, so I am trying
I'm using a library that has quite a few functions that write to a
I'm trying put an if statement directly into a select field in rails, with

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.