2016-01-01から1年間の記事一覧
launchMode="singleTask" のActivity ではgetIntent() で取得したIntent のExtras などが欠落する。 これはAndroid Developer のドキュメント にあるようにlauncMode がsingleTop やsingleTask の場合はonNewIntent() をコールしているかららしい。 この場合…
item ノードの属性「actionViewClass」をapp: にしないとgetActionView() でNULL が返される。 要注意。 <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> </menu>