mercredi 25 avril 2018

Design patern for switchable basic/advanced user interfaces (Android)

I want my Android app to include two user-interfaces, one for advanced users and one for beginners, which users can switch between. I want the components to look different between the basic and advanced interface.* For instance, in advance mode I want

--------------------------------------
| icon | Title. Description | select |
--------------------------------------

and in the basic mode I want a button

--------------
| icon       |
| Long Title |
--------------

such that the drop-down menu in advanced mode (which includes options disabled and default) is replaced by a button (which toggles between disabled and default). These interfaces share common components, e.g., they both contain an icon and the drop-down menu (in advanced mode) behaves similarly the button (in basic mode), but they are also rather different.

Is there a design pattern for (an Android) app with a basic and an advanced user-interface?


* When the advanced interface simply includes more components than the basic interface, solutions seem straightforward. For instance, you can use
((View)findViewById(R.id.advancedComponents))
.setVisibility(basicView ? View.GONE : View.VISIBLE);
to add/remove advanced components. My problem is seems more complex.

Aucun commentaire:

Enregistrer un commentaire