Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ActionBarSherlock のサイズをピクセル単位で教えてください。具体的には高さです。背景をデザインする必要があり、この寸法をピクセル単位で指定する必要があります。
そして、私はすでに検索しましたが、見つかったのはdpのサイズだけでした.
明らかに、
ActionBar actionBar = getSupportActionBar(); int height = actionBar.getHeight();