Groups
Groups
Sign in
Groups
Groups
日本Androidの会
Conversations
About
Send feedback
Help
menuを自作ボタンで呼び出す方法について
514 views
Skip to first unread message
cody
unread,
Jul 2, 2014, 4:22:10 AM
7/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
お世話になります。
さっそくですが、メニューを自作のボタンから呼び出す方法はあるのでしょうか?
通常はActionBarのメニューボタンから開きますが、画面領域を広く取りたいのでこのActionBarを消したいです。
しかしActionBarを消してしまうとメニューが開けません。
いろいろ調べてみましたが解決法が見つからないので質問させていただきました。
呼び出し方法、または代替案をご存知の方はご教示ください。
Hirokazu Fukami
unread,
Jul 2, 2014, 4:36:39 AM
7/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
こんにちはfkmです。
これ試してみましたか?
http://developer.android.com/reference/android/app/Activity.html#openOptionsMenu()
> --
> このメールは Google グループのグループ「日本Androidの会」に登録しているユーザーに送られています。
> このグループから退会し、グループからのメールの配信を停止するには
>
android-group-j...@googlegroups.com
にメールを送信してください。
> このグループに投稿するには
android-g...@googlegroups.com
にメールを送信してください。
>
http://groups.google.com/group/android-group-japan
からこのグループにアクセスしてください。
> その他のオプションについては
https://groups.google.com/d/optout
にアクセスしてください。
--
-------------------------------------------------------------
深見 浩和(Hirokazu Fukami)
URI:
http://www.fkmsoft.jp
email:
f...@fkmsoft.jp
cody
unread,
Jul 2, 2014, 8:02:06 PM
7/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
回答ありがとうございます。
openOptionsMenuでできました!
android developersは一通り目を通したつもりなんですが見落としていました。
ありがとうございました!
Reply all
Reply to author
Forward
0 new messages