Skip to main content

Home/ Android Dev/ Group items tagged menu

Rss Feed Group items tagged

Vincent Tsao

Icons for submenu items doesn't show up - Android Developers | Google Groups - 0 views

  • The fact that sub-menus don't support icons. http://developer.android.com/intl/fr/guide/topics/ui/menus.html <http://developer.android.com/intl/fr/guide/topics/ui/menus.html> *Icon Menu * This is the collection of items initially visible at the bottom of the screen at the press of the MENU key. It supports a maximum of six menu items. *These are the only menu items that support icons* and the only menu items that *do not* support checkboxes or radio buttons.
  • Try to use PopUpWindow <http://developer.android.com/reference/android/widget/PopupWindow.html>class. Here you have an example<http://www.anddev.org/how_to_create_a_popupwindow-t1259.html>
Vincent Tsao

Can I Use this Intent? | Android Developers - 0 views

  • This article describes a technique you can use to find out whether the system contains any application capable of responding to the intent you want to use. The example below shows a helper method that queries the system package manager to determine whether there's an app that can respond to a specified intent. Your application can pass an intent to the method and then, for example, show or hide user options that the user would normally use to trigger the intent.
  • /** * Indicates whether the specified action can be used as an intent. This * method queries the package manager for installed packages that can * respond to an intent with the specified action. If no suitable package is * found, this method returns false. * * @param context The application's environment. * @param action The Intent action to check for availability. * * @return True if an Intent with the specified action can be sent and *         responded to, false otherwise. */public static boolean isIntentAvailable(Context context, String action) {    final PackageManager packageManager = context.getPackageManager();    final Intent intent = new Intent(action);    List<ResolveInfo> list =            packageManager.queryIntentActivities(intent,                    PackageManager.MATCH_DEFAULT_ONLY);    return list.size() > 0;}
  • @Overridepublic boolean onPrepareOptionsMenu(Menu menu) {    final boolean scanAvailable = isIntentAvailable(this,        "com.google.zxing.client.android.SCAN");    MenuItem item;    item = menu.findItem(R.id.menu_item_add);    item.setEnabled(scanAvailable);    return super.onPrepareOptionsMenu(menu);}
Vincent Tsao

Action bar | Android Interaction Patterns | - 1 views

  • The action bar: is located at the top of the screen to support navigation and highlight important functionalities replaces the title bar (which is often included into it) is best used for actions across your app, like search, refresh and compose can provide a quick link to app homeby tapping the app logo is preferably not contextual, but actions can differ from page to page
  • Use when You want to bring key actions on screen, so they are in sight. You don't want to hide them under the menu-button. The action bar is best used for common actions like search, refresh and compose. When screen real estate is valuable, consider putting actions in the options menu.
Vincent Tsao

simple-quickactions - Project Hosting on Google Code - 2 views

  • This is a demo Android project showing how it's possible to have QuickActions and Popdown menu interface actions like those in the Twitter App.
Vincent Tsao

手势操作(自然用户界面)再探讨 | ifanr 爱范儿 ♂专注于拇指设备的小众讨论 - 0 views

  • 手势相对于无趣的触摸和点击来说,给用户带来了的动态感。但是,缺乏一致性,操作的不易发觉,加上极易触发的不可恢复的操作,使得整个系统的可用性遭到损害。  我们迫切的需要回到基本原则,为这些系统开发可用性指南,这份指南应该基于交互设计的坚实原则,而不是某个公司在人机交互指导中的奇思,或者一些开发者的妙想
  • 简单的宣称你的用户界面“有趣”和“自然”并不能证明你的界面可用,当你的用户使用软件时,对于如何操作茫然无措,并不是什么好玩的事情
    • Vincent Tsao
       
      good point!
  • 1.Android 许多重要的功能是不可见的,除非你长按界面上的某东西,我经常对此感到懊恼
  • ...2 more annotations...
  • 2.他们提到了“隐藏手势”和取消可见菜单。很明显的,在可视菜单上,WebOS 比其它系统做的好。Android 和 iPhone 在这方面都做错了。iPhone 没有菜单, Android 用一个硬件按钮来触发菜单,这意味者你永远不知道程序在什么情况下会有菜单。硬件按钮始终在那里,无论程序是否需要它。
    • Vincent Tsao
       
      尤其对于Android新用户,隐藏的menu会让人手足无措,这点远不如iphone (webos没有使用过,no comment)尚被人接受的原因是:学习成本还好并不高
  • 3.在使用一个 iPhone 应用记录我的购物清单的时候,我发现每次去购物我都会少卖几件东西。最终,我发现,在向购物车里放物品的时候,我经常无意的划过 iPhone 的屏幕,随机的把清单上的东西移除了。这个触摸删除功能是可以关掉的,但是作为默认操作,这个程序会表现的不可靠,在用户没有意识到的情况下出现错误,而且对于用户来说,这个后果不易发现,更无法恢复
    • Vincent Tsao
       
      这个例子应该算作这个app的用户体验设计缺陷,但是iphone对这类场景体验的原生设计是很不错的。举个经典的例子:用iphone接电话,偶尔需要用键盘输入东西。当手机靠近耳朵,屏幕就变黑,默认为不可触摸,当手机离开了耳朵,黑屏就变为了可触摸,并且默认将键盘显示,这一贴心的考虑让"误触摸"的几率尽量降低。而Android上的同一场景体验简直是个噩梦!
1 - 5 of 5
Showing 20 items per page