selected Tab with elevation - android

I want to show selected tab in this manner can anyone give me idea how to do selected tab up and highlighted like camera in the image

There are many open source libraries available on GIT but none of them will give you the exact thing you want.You have to alter them according to your need.Two libraries which are very near to your requirement are mentioned below:
https://github.com/pocheshire/BottomNavigationBar
https://github.com/roughike/BottomBar
Try using it and mark this answer up if this helps.

Related

Move an item over a path

In android studio i have this layout.
I want the red ball bellow the layout to be move on the path .
The bath is an photo which I put it in background.
I search a lot but I do not found a way to do that.
I need an example or keywords I can search for it.
This is layout image
I don't have the experience to work with your plan but you can see the answers to the link below.
I hope useful for you :)
check this out -> Android move object along a path

Is it possible to customize the BottomNavBar without Icons, Change the text and Changing the selected tab background

BottomBarNavigationBar template
BottomBarNavigationBar
Note : It should follow google material design guidelines also.
Removing Bottom Navigation Bar is not possible in non-rooted android device. But you can set buttons to just above the Bottom navigation Bar,it would work fine and look nice.
For changing text style you can go through this link. It would clear your doubt.
Changing the selected tab is definitely possible. For this go through this link
And finally I am sorry that I am giving just link here, as all the questions you asked are already available on SO.
So please, next time when you ask any question, then do a detail research about it then post that here.

In android how to get transition on click like dropdown

Can any expert tell me how to achieve this which is available is given image description.Can any body explain this image please. what is the name of this action. When we click it transit below and show the details and on another click it becomes same as it was previous. Can anyone tell me the name also. If possible can you tell me also what is the name which is below in this activity like Home , Order now , Contact, Gallery. I don't know what to call this type of button.
Thanks in Advance
This looks like what is known as an accordion.
See here for answers and links to github projects that would help you.
Android - accordion widget
Hi Use Latest Material Library.
Click Link Material Design Github Library
Or Use ButterSpinner Use These Link
https://android-arsenal.com/details/1/1707
Link 2

How do I customize the look & feel of a Gallery?

I'm having a hard time understanding how I can create my own Gallery item. Specifically, I want to alter the appearance of the rectangle that surrounds whatever is the currently selected item (and remove altogether the rectangle that surrounds the non selected items).
Is there a good tutorial on how to create my own styles and pass them into my Widgets?
[Edit]
When initializing my gallery I hand it this
R.styleable.GalleryTheme_android_galleryItemBackground
and
R.styleable.GalleryTheme
I'm sure if I could crack those open, I could then copy and alter into what I want.... but where does Android store these?
[/edit]
The contents of those themes can most likely be found some where in the source code of the Android Open Source Project. It'l probably be somewhere here in the resources folder
Ok... this thread answers the actual question:
Android Hello, Gallery tutorial -- "R.styleable cannot be resolved"
Hope it helps someone.

How to display default group icons in ExpandableListView?

I'm finding lots of discussion about how to replace the default group icons in an ExpandableListView, but I'm not coming up with anything on how to get the defaults to display in the first place.
The defaults (as shown here, if that's what they look like [new to Android, this is my first ExpandableListView]) will be fine with me, if I can get them to show.
I'm using the sample code from the article; I have no need for the embedded CheckBoxes at this time.
Any assistance is appreciated.
--EDIT--
Also, does anyone have any theories as to why the default icons show in the article (again, if that's what they look like--if someone could confirm that'd be great) but don't show for me?
If you are using custom layouts for your group rows the default icons are overridden by your layout. You'll need to add them to your layout in order for them to display.
you can changed default icon with your own icon as below.
android:groupIndicator="#drawable/image"

Categories

Resources