Code Monkey home page Code Monkey logo

Comments (7)

AnimaSA avatar AnimaSA commented on August 27, 2024

Wow, that does indeed look cluttered.

Unfortunately, this is standard android behavior. Android only puts the tabs on a new row on small-width devices (I.e. phones).

So, making this better involves one of two things: Custom implementation of the action bar, or tablet layout that doesn't use action bar tabs.

I'm thinking the latter.

from atarashii.

niknetniko avatar niknetniko commented on August 27, 2024

I don't know if this is standard Android, but you could also a spinners (instead of the name of the app) and chance the 'Switch List' to icon only. That way you win a lot of space.

from atarashii.

AnimaSA avatar AnimaSA commented on August 27, 2024

Actually, that was the original implementation way way back before 1.0. Unfortunately, as far as I know, Action bar tabs and spinners aren't compatible, they're separate Navigation Modes. :/

from atarashii.

niknetniko avatar niknetniko commented on August 27, 2024

And if you moved the search and refresh button to the menu and changed the 'Switch Lists' to a icon only? Is this something you can do or is it also something Android does on its own?

from atarashii.

AnimaSA avatar AnimaSA commented on August 27, 2024

Should be possible. The items in the action bar (search, refresh) are set to ifRoom and withText. Android is simply expanding them to fill as much space.

But then again, we've set the values as they are to be optimized for phones. A better tablet layout would also include making the action bar cleaner for tablets.

Basically: app is optimized for phones; tablet layout coming, possibly in 1.4 (which should really be just the new layouts, so hopefully it won't take forever)

from atarashii.

srvrguy avatar srvrguy commented on August 27, 2024

One possibility would be to re-think the flow of the application, possibly moving to use a ViewPager and use the list switcher as the main navigation element. That might be messy, but I haven't investigated.

from atarashii.

niknetniko avatar niknetniko commented on August 27, 2024

This is fixed now on my Nexus 7.

from atarashii.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.