Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Silent gratitude isn't very much use to anyone." -- G. B. Stearn


computers / comp.mobile.android / how to hide navigation bar when is onCreateOptionsMenu active

SubjectAuthor
o how to hide navigation bar when is onCreateOptionsMenu activeJakub

1
how to hide navigation bar when is onCreateOptionsMenu active

<60f175e0$0$557$65785112@news.neostrada.pl>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17782&group=comp.mobile.android#17782

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: comp.mobile.android
X-Mozilla-News-Host: news://news.neostrada.pl:119
From: jak...@interia.pl (Jakub)
Subject: how to hide navigation bar when is onCreateOptionsMenu active
Date: Fri, 16 Jul 2021 14:04:48 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: pl
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <60f175e0$0$557$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 37.47.205.242
X-Trace: 1626437089 unt-rea-a-02.news.neostrada.pl 557 37.47.205.242:10157
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1590
 by: Jakub - Fri, 16 Jul 2021 12:04 UTC

I have this code to show menu

override fun onCreateOptionsMenu(menu: Menu): Boolean {
// Inflate the menu; this adds items to the action bar if it is present.
menuInflater.inflate(R.menu.menu_options, menu)

for ( i in 0 until menu.size() ) {
val item = menu.getItem(i)
val spanString = SpannableString(item.title.toString())
val end = spanString.length
spanString.setSpan(RelativeSizeSpan(1.8f), 0, end,
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE)
item.title = spanString
}

return true
}

when show menu active is showing naviagation bar.

how to hide navigaction bar?


computers / comp.mobile.android / how to hide navigation bar when is onCreateOptionsMenu active

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor