3,101 questions
0 votes
0 answers
21 views
Why resizing AdaptiveIconDrawable for MaterialToolbar's logo not working?
In an activity layout file: <com.google.android.material.appbar.AppBarLayout android:layout_width="match_parent" android:layout_height="wrap_content&...
0 votes
0 answers
84 views
Material3 theming: Set toolbar options menu icons color
Trying to set app toolbar options menu icons color, but they still look black. Setup: Material3 app theme, Android API32. App Theme: <style name="Theme.App" parent="Theme.Material3....
0 votes
1 answer
183 views
Android Kotlin app the toolbar is not showing
I have this working in the java version but I am clearly missing something when I rewrite it in kotlin. I want to use a toolbar rather than the topapp bar. I am using a compose screen (the same as the ...
0 votes
0 answers
169 views
MaterialToolbar doesn't work properly with edge-to-edge
I am trying to make my MaterialToolbar fill the system bar with its background color. From what I understand, this should work automatically on SDK 35 without any additional actions. However, I’m ...
0 votes
0 answers
94 views
Collapsing toolbar in jetpack compose
I am trying to create a collapsing toolbar in jetpack compose (more like a home page of flipkart with nested scroll.) I have tried many solutions available but not understanding the actual solution. ...
4 votes
1 answer
4k views
android toolbar not working properly in api 35 [duplicate]
I have an app which works great on every device, but I recently updated the target sdk to api 35 and now the toolbar of my app breaks in android api 35 and works fine on every other device upto api 35....
0 votes
1 answer
352 views
Android edge-to-edge and Toolbar height when menu icons are hidden
Since in Android API 35+ the Edge-to-edge behavior is enforced, I'm trying to implement it in my app Toolbar. This is my current implementation: <androidx.appcompat.widget.Toolbar android:id=&...
1 vote
1 answer
250 views
How to create a Top App Bar with a row below inside it
I want to create a Top App Bar with a row below it and make it (top bar + row) hide when i scroll down and appear when i scroll up. I want the row be part of the Top App Bar. This is a litte test that ...
0 votes
0 answers
41 views
Content inside CollapsingToolbarLayout is not showing in my Fragment
I am trying to implement a CollapsingToolbarLayout inside a Fragment using XML. However, the content inside my CollapsingToolbarLayout is not showing up. I am using AppBarLayout, Toolbar, and ...
0 votes
1 answer
249 views
How to Completely Hide the Back Button (Up Button) in a Toolbar in Android?
I'm working on an Android app with one MainActivity and three fragments. I've successfully disabled the back button (Up button) in the toolbar, but it still gets rendered in the toolbar. I want to ...
0 votes
0 answers
71 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 ...
1 vote
1 answer
87 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
1 answer
88 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....
-1 votes
1 answer
42 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 ...
1 vote
1 answer
1k 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....