I want to have a grid view menu or pop up menu that drop or slid with a button.not a Drawer layout.something like giddylizer app this:
giddylizer app image
is there any library?any helpful links and suggest...
As a suggestion , you can achieve that design easily by
Add frame layout into your main layout
Create two tabs with two fragments
Add grid-view into fragments
done.
Related
im trying to implement an android aplication when your activity, cointains 3 or more 'main windows' like in the image -> 'A'. 'B'.'C'. so how is posible make when you slide you touch screen change from A, to B, for example, i was thinkin in a horizontal view, and inside of each item use a relative layout, but im not sure, its my first time with this kind of problem, thanks.
Try using android ViewPager. Each ImageView would be inside a Fragment that would reside inside your Activity. Check out this example
Use Tabbed Activity template when you want to make this type of Activity. ViewPager, Adapter and tab layout will be automatically implemented for you. Just make small changes in your Adapter according to your needs and use one Fragment for one tab and you can create as many tabs as you want in an Activity.
If you want i will post an example of an Adapter as i just implemented an Activity with 3 tabs.
To get your basics strong on ViewPager, tab layout and Fragment sections adapter read out this link.
I've created SwipingTab with two Fragments. Now I want to add menu on bottom to be fixed, static. When user swipe between tabs, that menu should not moving. Where should I create that menu. I tried on main_layout.xml, but cannot. Any suggestion or idea ??
This is how I would set up the main view with tabs
Then the footermenu would inflate a fragment that will be used as a menu. You can follow this Android Tab Layout with Swipeable Views to add swapeable tabs
I have a screen which contains multiple fragments. In that i want to display the common data in all fragments. so i am looking for something like expandable menu (not from left side) to display in all fragments.
Actually its not a menu with divider, it has to just display some textviews and buttons
so on top of the screen, the menu should be expandable/collapsed for each fragments. Is there is any api is available in android to implement this?
Thanks
mindus
If i am not wrong you want a list which could be expanded from edges and shown on all your fragments.
Option 1:
You could use SlidingDrawer but that does not support all
direction. For multiple direction, you could go with
MultiDirectionSlidingDrawer
Option 2
If you want a swiping type of menu, then you can also try
SlidingMenu which could be swipe from left and right.
Option 3
You can also try the new DrawerLayout which was added in latest support library. It support swiping from all edges.
I have to show two tabs each containing ListFragment classes. On clicking any item of the list, it's details should open on the right panel on landscape views. This is much like the official Android fragments example.
What I want to achieve is that on the left side of the layout the list view should be in tabs, i.e. two list views within tabs. On clicking any item the details should open on the right. Till now, I can show tabs and details, but the details are not showing up on the right. They open as a new activity.
Tab Navigation can be an option, but due to some design restraints in my app, I can't use that. Please guide.
Please check this android blog http://android-developers.blogspot.com/2011/02/android-30-fragments-api.html It has a complete tutorial of how to use fragments as a Master-Details View.
I came to a solution. I am explaining how I did it, in case someone needs it.
I wanted to make tabs on the left fragment. Due to design constraints, I could not use Tab Navigation, as I had to use List Navigation too.
So, I made a new fragment placed over the left fragment and inflated it with two buttons. On different button clicks, I used FragmentTransaction to add new fragment to the left fragment.
On button click listener I used fragmentTransaction.replace method.
I am developing an application in android for which i have to use nine tabs in the main layout.
But all tabs in one view doesn't look nice.So i decided to show five tabs in one view and other four on click of one of the tabs.But it is not working when i click the fifth tab to show the other four tabs can you suggest me to set all tabs in my application in a better gui.
Thanx in Advance