关于ActionBarDrawerToggle的构造方法参数详解

来源:互联网 发布:python except break 编辑:程序博客网 时间:2024/06/15 18:23

ActionBarDrawerToogle构造方法的参数解释,网上找了很多,最终找到了一个英文解释版本


new ActionBarDrawerToggle(this, /* host Activity */
                                               mDrawerLayout, /* DrawerLayout object */
                                               R.drawable.ic_drawer, /* nav drawer image to replace 'Up' caret */
                                               R.string.drawer_open, /* "open drawer" description for accessibility */
                                               R.string.drawer_close /* "close drawer" description for accessibility */
  )


原创粉丝点击