I already have designed menu bar circle layout and wheel menu for android application. it is scroll circle . But I want this
1) When button comes on image ( focus red circle ) it should be clickable
2) when button hover on image ( focus red circle ) it should be show another image
how can I understand which button focus on image.
I put picture.First picture; when button two hovering red circle second picture appear, and another image showing. Which library should I use. Do you know any project open source code?
sorry my bad english.
You can use the arcMenu or the android Clickwheel layouts.
Check thse links for additional details:
ArcMenu
ClickWheel
Related
I am having a problem with Android Studio. I have everything settled but when I click Infer Constraints, the image buttons misplaces. I could not find any solutions on Internet.
Here is the picture.
`
Try this... For the right image button, Don't set the edit text and centre button as constraints... Set the top and bottom of your layout as you did for the bill amount and place it near the centre image button...
I would please like to know how to create a diamond shaped button with an icon and text inside. Like in the image below. If i rotate the button then the image and icon get rotated too and if I create a custom shape/image to use as the background the buttons clickable area is still a square. Any help would be appreciated?
if you want change clickable area you have to intercept touch events and filter them. You need custom view for doing this
I want to make an Application that show a picture, and we can move that picture with some button an the side of picture. let's say this the layout of my Application.
when we click the "TOP" button, it will show top side of the picture.
so, when we click "CENTER" button, it will show middle side of the picture.
when we cliok "BUTTOM" button, it will show button side of the picture.
and when we click "UP button, it will move picture pixel by pixel to top side, and also "DOWN" button will move down the picture. but i got the problem. when i add the picture on the layout, it show all part of picture. i want my Application can show the part that we choise. can someone help me?
You could have an imageview embedded into a scrollview. Then, in code, you can set up button click handlers that sets the scrollview to particular positions.
all
I have a tabbar in my Android app like pic
now I want to add a layout on the back of my tab bar like pic
and when I click the press button the layout appear with a flip animation to the top like pic
Help
u can use frame layout in tab with bottom gravity. and on click you can adjust its size.
You can use SlidingDrawer which already includes android sdk.
Here is simple tutorial : link.
You should have to create One Layout let say pressLayout which contain that Press Button.
initially that layout is invisible. Now while you press on Tab or any other button, that Layout will show with the translate(or Scroll) animation from Bottom to Top.
Now while you click on Press Button. Set another animation on the Layout/view you want to effect.
Hope you got the point. For Translate Animation, you can see this: translate Animation
Enjoy coding...
in my app i am trying to get the following designs.
Above is the first image
Above is the second image
When the activity is opened the first image is shown, currently i have shown it as an tab bar but i am not able to place an red colored rounded imageview near the Why? button. According to my app the number in the rounded image view must get changed often.
When the next Why? button is clicked i want to show the UI as in second image with another three buttons over it.
In ios apps, this design can be made by the help of UISegmentControl. In android apps how to implement this.....
This is the nice tutorial about Tab activity and also put badge inside it
see below link
Click Here