Questions tagged [android-toolbar]
A Toolbar is a widget based generalization of action bars for use within layouts.
3,111
questions
0
votes
0
answers
22
views
How can I set focus for navigation icon in material toolbar?
As of now the entire material toolbar is highlighted when the screen is entered but I need only on the navigation icon to receive focus.How can I do this?
I tried adding request focus to material ...
0
votes
0
answers
23
views
CollapsingToolbarLayout title not displaying in Collapsed state with MaterialToolbar items
I am developing an Android app and using a CollapsingToolbarLayout combined with a MaterialToolbar. My goal is to display icons inside the MaterialToolbar while maintaining the visibility of the title ...
0
votes
0
answers
10
views
Intellij IDEA SplitEditorToolbar
Android Studio için bir Intellij IDEA eklentisi oluşturmaya çalışıyorum. Eklentiye bir SplitEditorToolbar eklemek ve düğmeler aracılığıyla ona eylemler eklemek istiyorum. Böyle bir şey elde etmeye ...
0
votes
0
answers
24
views
Android CollapsingToolbar not collapsing in some cases
I have a problem with CollapsingToolbarLayout not collapsing in some cases only. The report came only from one user with a Samsung Galaxy A53. We tried reproducing it in other Samsung & Xiaomi ...
0
votes
0
answers
8
views
Android views: preview Toolbar design
When theming my Toolbar, I would like to see the bar title in the preview, but it's empty. How can I simulate a title?
For other Views, there are attributes with a wrench icon to simulate content, but ...
1
vote
1
answer
56
views
Search menu not showing in Android Studio toolbar
I've made a custom toolbar with a title and functioning popup menu, but I can't seem to get a search menu to show up in the toolbar. The search menu icon doesn't even show in the toolbar for this ...
0
votes
0
answers
17
views
MaterialToolbar breaks TabLayout scroll
I've recently updated my app to Material3 and replaced the ActionBars in my app with MaterialToolbars. My app has a ViewPager2 where each Fragment in the pager has a RecyclerView. Previously, ...
0
votes
0
answers
29
views
Toolbar small to Medium by Text Lenght
I'm developing a toolbar that adheres to MD3 guidelines, but I'm unsure if this aligns with the intended use.
The toolbar will dynamically change its title based on server-received data. This text ...
0
votes
0
answers
15
views
Android: case:R.id.Action_item1: getting CONSTANT expression required error
I checked the item it is in menu res under res file.
I was trying to build a toolbar.I created menu file under res file which contain item. I was trying to use switch to toogle between items. I was id ...
0
votes
0
answers
18
views
Rectangular thing displaying in App bottom used with toolar
I would like to ask, how should I remove this, I have tried mutiple things and tried changing all its attribute but its not going,
Screenshot the UI
Xml Code for this
<?xml version="1.0" ...
0
votes
0
answers
23
views
android toolbar disappeares when I open dialog or switch between apps
I have an android app, in which I made a parent activity (let's say "BaseActivity") that all activities extend from that.
In "BaseActivity", I made a toolbar with some images, like ...
0
votes
1
answer
35
views
iconTint in the Toolbar menu in Android
I have a menu:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas....
0
votes
0
answers
29
views
How to get Height of Android Action Bar for landscape mode while in portrait mode?
I need to get the height of the Android actionBar for landscape mode while the app is in portrait mode.
I´m using followed code, and it works fine in portrait and in landscape mode, but I want the ...
-1
votes
1
answer
29
views
Title of the app is not appearing on the homescreen
As you can see there is not app title
like in this image
I am very new to Android, and I am learning to make this app with java on android studio.
I'll share more info as per your query.
I tried ...
0
votes
1
answer
792
views
How to use TabLayoutResource and ToolbarResource in .net MAUI?
I'm migrating my Xamarin forms code to .NET MAUI. I need the replacement of the Following code in .NET MAUI:
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout....