How to create a setup menu screen with steps on AndroidTV - android

I'm just starting to develop an Android TV app.
below video link is the main setting screen of Google TV.
If you look, the top menu is displayed on the left and the sub menu is displayed on the right.
And when the top menu is selected, the submenu on the right moves to the left.
I want to implement a setting page like this, but I can't find it.
Should I use BrowseSupportFragment from Leanback library?
Any help would be appreciated.
You can check the video at the link below
video link

Since the shared link is expired, I couldn't look at your desired output, but iirc tv settings app is implemented using GuidedStepSupportFragment. You can refer to this guide to find out how to use this Fragment. Also there are some code samples in Showcase app which might be helpful.
.

Related

How to create an activity with side panel in android?

I want to create an activity with a side panel. More precisely, i want an activity similar to Google Play Store app (i.e. if swiped left-rigt, a panel opens).
Please help me solve this problem.
It's called navigation drawer.
I'd suggest read up on it on official site, it has even a sample app you could try it on.
https://developer.android.com/training/implementing-navigation/nav-drawer.html

How to create start / onboarding cards for an Android like Google Apps?

The product managers that I work with would like to create a whats new start cards on first launch of the android application. I would like to know what is the recommended approach for this and any example code.
The cards will be images with text overlaid on top. I want a left and right swipe navigation.
Thanks
Using ViewPagerIndicator library with Android Studio and Gradle
I was trying to reproduce the dot navigation for on boarding screens.

create live wallpaper in viewpager android apps

Hi i have a app contain 3 page. and i want to set one page as background like android home screen. I search in google and i found this and this
tutorial's but i couldn't use it for my target can anyone show me another better example thanks.
i mean How can i create app like android home screen which have one picture for 5 pages background (in my phone).
at last i found my answer and that was so simpler that i think.
that was not a live wallpaper that was simple trick using scroolview for background of main layout and listen to onPageScrollStateChanged.
that's it.

Fragment that expand over another one

I would like to have 2 fragments visible on the same screen, but one of the two can be expanded by clicking or swiping top/bottom the expandable fragment.
I've made some research and I've found this blog article . But unfortunately is written under Xamarin code template and not clearly understandable to do in Java.
I've some ideas about how to do that by clicking but for swiping bottom/top it's a little bit more complex I think.
This image explains well what I would like to do :
You would probably want to use the (open source and free as in Beer) SlidingUpPanel created (and open sourced) by umano. You can clone the project from their official git hub repository.
The 2.2 version of the Umano Android app features a sexy sliding up draggable panel for the currently playing article. This type of a panel is a common pattern also used in the Google Music app and the Rdio app. This is an open source implementation of this component that you are free to take advantage of in your apps. Umano Team <3 Open Source.
An other alternative, more customizable I think can be found here : https://github.com/6wunderkinder/android-sliding-layer-lib for those who want to stick the sliding panel to TOP/LEFT/RIGHT/BOTTOM.
Hope this help to.
Demonstration video

a moving tab in android application

I want to make a moving list appear from the left of the screen of the activity in the android app.
Something like the facebook app shown below :
,,
how can I make something like that in an android app.
Thanks.
This is a very popular UI pattern called a sliding menu / slider. You can search for open source libraries / projects which implement this for you.
Here is the first one I found on google.
This one is useful if you want to support old (pre holo) android devices too. It's an addon to the excellent holoeverywhere library.
And last but not least, take a look at this official pattern by google which also implements the same behavior. The code for creating it is available here.
The concept behind this is that you are taking a screen grab of the current activity and then loading in the menu. Your not actually sliding between activities, your moving the screen shot. Thats a very basic explanation of whats happening.
If you search for slide navigation on github I'm sure you'll find something.

Categories

Resources