Tabs inside tabs - Java for Android App Development

Hi everyone!!
I have the first level of tab done with FragmentTabHost in FragmentActivity, now I want do the second level(tabs inside tab). What is the best way to do it?
Something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Why would you want to do this? It seems a bit weird, mainly because it takes up a lot of screen real estate.
I'm guessing there's a better way of implementing whatever it is that you're trying to do .

bassie1995 said:
Why would you want to do this? It seems a bit weird, mainly because it takes up a lot of screen real estate.
I'm guessing there's a better way of implementing whatever it is that you're trying to do .
Click to expand...
Click to collapse
I totally agree.
I found this video from the last Google I/O very helpful, when I had to make decisions regarding navigation: http://youtu.be/XpqyiBR0lJ4

nikwen said:
I totally agree.
I found this video from the last Google I/O very helpful, when I had to make decisions regarding navigation: http://youtu.be/XpqyiBR0lJ4
Click to expand...
Click to collapse
Yep, lots of good ways. I'll have to take a look at that as well!
Sent from my GT-I9300 using Tapatalk 4

Worst design pattern ever. That would confuse users so much
If you really need this kind of nested navigation, I guess the right way would be to replace your 2nd tab host with a Spinner allowing to change the fragment in the current tab, with a FragmentTransaction.
(Although I'm pretty sure you can avoid this pattern in most cases if you really think about it).

op pls respond
Sent from my GT-I9300 using Tapatalk 4

I chose to put a spinner in ActionBar instead of the first tabhost. Much cleaner now
Thanks

avlisF said:
I chose to put a spinner in ActionBar instead of the first tabhost. Much cleaner now
Thanks
Click to expand...
Click to collapse
Makes sense.
And it consumes less space.

Related

Acer F900

Is it just me, or is there a shameless reseblance between the HD and the new Acer F900?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
lol i smell and HTC lawsuit underway haha
yeah but you know, with a touchscreen only device, there is little left to imagination...
at least it has tri band 3g. htc really went awry in reducing the range of supported bands in their latest handsets
Actually, the acer has a cleaner square look to it...
I wonder if they have managed to gid rid of the annoying fingerprints issue, looks cleaner as galaxys said
yes, but it does have a proper stylus... the touchHD one gets pretty uncomfortable after a while.
farkah said:
yes, but it does have a proper stylus... the touchHD one gets pretty uncomfortable after a while.
Click to expand...
Click to collapse
Try and limit my time on stylus anyhow, don't use it to much to be honest unless and using file explorer or changing my registry
Fallen Spartan said:
Try and limit my time on stylus anyhow, don't use it to much to be honest unless and using file explorer or changing my registry
Click to expand...
Click to collapse
At least 3 weeks ago I last pulled out the stylus.
jouh said:
At least 3 weeks ago I last pulled out the stylus.
Click to expand...
Click to collapse
Thats the way to do it!!!!
Curiosity, what apps do you have installed for keyboard, file exporer etc?
I use the stylus to write quite a bit as the recognition is much faster than I can input using fingerkeyboard2 etc. For serious remote terminal, i use my bluetooth folding keyboard but that doesn't get much use. The stylus was the winning feature for me, something else over the iphone and others. I also use remote desktops and having a pointer is priceless.
For the most part though, i'll admit i never use the stylus with day to day messaging, phone calling etc ... but is sooo handy to have.

lighter spot on gray background on the screen ??

i just noticed 2 spots one on the right and the other on the left
they appear as lighter than surrounding area in a gray background only in low brightness
they are ill defined .... not a ring
i ll post a pic later on
any help about this ??
I believe this is a limitation on the SAMOLED+ ( was not there on the original SAMOLED ) some phones dont have this un-uniformity of rendering greys but probably a good majority have.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-I9100 using XDA App
bruflot said:
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
i searched before posting but didn't found any similar thread
so whats the problem ..... is it normal
it is not obvious but it is annoying to have it in a new device only
in normal use i don't see it but the only screen that i can see it when looking for battery usage as it gives the screen a plain gray color
xdafun4all said:
in normal use i don't see it
Click to expand...
Click to collapse
You have 3 choices:
1. Do nothing - no problem under normal use, so why whine?
2. Return the phone.
3. Find one of the 306507 threads involving screen defects and filled with the rantings of some of the most disturbed people you could ever wish to meet. Won't "cure" your phone, but it may be of some succour.
I recommend #3 for you.
B3311 said:
You have 3 choices:
1. Do nothing - no problem under normal use, so why whine?
2. Return the phone.
3. Find one of the 306507 threads involving screen defects and filled with the rantings of some of the most disturbed people you could ever wish to meet. Won't "cure" your phone, but it may be of some succour.
I recommend #3 for you.
Click to expand...
Click to collapse
LOL nice.
I actually have the same issue, and ended up in this thread. I'm just gonna live with it, not a big spot in my case.

[DEV/REQ] Grid Launcher

So, I was very bored, and I made a concept. I'm sure you've all seen GridOS, and I know that you've probably seen many people asking for it. I really wish we could get something like this going on android. I know literally nothing about creating apps (yet) but I wonder if the designer of Launcher 7 would be interested, my concept is basically a 4-way-scrollable version of his existing app. I'd be willing to help with graphics in ANY way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HomeScreen
Inline AppDrawer
Icons from:
Here and Here
Wallpaper:
Here
I feel that this should be in themes
It would be nice to see grid os, I thought it was built on android? They say they can use android apps so I'm assuming yes we just need to port or *a* port.
Sent from my Iconia A500 using Tapatalk 2
Actually, this isn't just a theme. This is a hopeful development thread for a full-fledged home replacement app. I contacted the developer of Launcher 7, and he said that he doesn't have time to work on anything right now. He did say, however, that he was playing around with the idea of a Windows 8 launcher for android, but that this looked much more interesting.
Very interesting idea, actually more interesting than the Win8 layout itself. I haven't got right now time for coding tablet, but if I prototype it again, I'll definitely look at this approach over win8.
Click to expand...
Click to collapse
bmckenzie90 said:
Actually, this isn't just a theme. This is a hopeful development thread for a full-fledged home replacement app. I contacted the developer of Launcher 7, and he said that he doesn't have time to work on anything right now. He did say, however, that he was playing around with the idea of a Windows 8 launcher for android, but that this looked much more interesting.
Click to expand...
Click to collapse
Yea that guy is always busy I've been talking to him for awhile about my metroui thread to help brobot have a simpler process but no go as of yet.
Sent from my Iconia A500 using Tapatalk 2

Boot animation from Imgur

So I was browsing Imgur and I found this cool gif.
http://imgur.com/gallery/javIBwt
As the caption says: There is no rotational movement in this picture. They are all travelling linearly.
In the comments there are different versions linked that could also make boot animations, but I made the main one an animation.
The size is 800x800 which I think looks good on the Nexus 5. Can't say the same for other devices.
COPY TO /system/media/bootanimation.zip - Don't try and flash it!
Dropbox: https://www.dropbox.com/s/r5fxh0vaiy0s9wr/bootanimation.zip
Edit: the preview on the Nexus 5 looks odd. Best viewed on PC
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
pk92 said:
So I was browsing Imgur and I found this cool gif.
http://imgur.com/gallery/javIBwt
As the caption says: There is no rotational movement in this picture. They are all travelling linearly.
In the comments there are different versions linked that could also make boot animations, but I made the main one an animation.
The size is 800x800 which I think looks good on the Nexus 5. Can't say the same for other devices.
COPY TO /system/media/bootanimation.zip - Don't try and flash it!
Dropbox: https://www.dropbox.com/s/r5fxh0vaiy0s9wr/bootanimation.zip
Edit: the preview on the Nexus 5 looks odd. Best viewed on PC
Preview:
Click to expand...
Click to collapse
I just finished seeing this on Imgur! Nice one man!
Sent from my Nexus 5 using Tapatalk
Excellent choice
pk92 said:
In the comments there are different versions linked that could also make boot animations, but I made the main one an animation.
Click to expand...
Click to collapse
I think your choice is excellent, because it's not so simple, not so complex for other gifs.
Thanks for your converting!
alogblog said:
I think your choice is excellent, because it's not so simple, not so complex for other gifs.
Thanks for your converting!
Click to expand...
Click to collapse
Very welcome I made it for personal use but others may want to use it too so I posted it.
Hey I found others!! The first one is awesome. Could you please make it a boot animation? Thanks
http://imgur.com/gallery/xMqFV
Sent from my Nexus 5 using Tapatalk

DockClock for Galaxy S5

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi guys, just thought I'd let you all know about a free cool new app I've released on Play Store
DockClock allows you to turn your S5 (or S4) into a cool clock while it's docked or simply charging, and is specifically made for AMOLED screens which only light up the pixels they're using which creates an awesome effect, especially at night.
It also moves the clock randomly every 15 seconds to counter the renowned burn-in effect suffered by AMOLED screens.
Download it now from Play Store!
https://play.google.com/store/apps/details?id=com.bucker.dockclocks5free
​
Wow. Much needed app for me.
Tapatalk - Galaxy S5 (G900H)
Masum56k said:
Wow. Much needed app for me.
Tapatalk - Galaxy S5 (G900H)
Click to expand...
Click to collapse
Glad you like it.
Great app. Just what need. Only problem is sometimes on my S5 clock is outside of screen. I can see hours but not the minutes...
Here is image:
https://drive.google.com/file/d/0B5UiBvnqQF8IRHhpQU5TOURWejQ/edit?usp=sharing
frunc said:
Great app. Just what need. Only problem is sometimes on my S5 clock is outside of screen. I can see hours but not the minutes...
Here is image:
https://drive.google.com/file/d/0B5UiBvnqQF8IRHhpQU5TOURWejQ/edit?usp=sharing
Click to expand...
Click to collapse
Thanks for the feedback, I only have sub-1080 screen phones so was kind of hard guessing the X and Y for the locations of the clock. Easy to change, looks like it needs reducing a little on the X. Shall change this now, expect update in next couple hours.
sikodemon said:
Thanks for the feedback, I only have sub-1080 screen phones so was kind of hard guessing the X and Y for the locations of the clock. Easy to change, looks like it needs reducing a little on the X. Shall change this now, expect update in next couple hours.
Click to expand...
Click to collapse
Received the update. So far no problems with new update. Tnx for simple must have app :good:
frunc said:
Received the update. So far no problems with new update. Tnx for simple must have app :good:
Click to expand...
Click to collapse
Right that last update should have sorted it.
Lots of trial and error using an AVD in 1080p which nearly made the computer go into meltdown and was terminally slow, got there in the end
Enjoy.

Categories

Resources