android-toolbar Questions

2

Solved

I am trying to set up a toolbar in a fragment. Whilst the Google Developer docs have been updated to include Kotlin code (see this page): override fun onCreate(savedInstanceState: Bundle?) { sup...
Sermonize asked 24/6, 2018 at 8:27

4

Solved

I have a toolbar inside of an AppBarLayout like this: <android.support.design.widget.AppBarLayout android:id="@+id/appBarLayout" android:layout_width="match_parent" android:layout_height="wr...
Promptitude asked 23/3, 2016 at 19:18

1

Solved

I am trying to make an app where tab bar, navigation drawer and search all comes under the toolbar but when I try to do it in tabbar page title gets separated where I want to show the title of othe...
Soave asked 2/6, 2018 at 17:29

5

Solved

I have created an activity and set toolbar as the actionbar which i have positioned at the bottom. Inside that activity, I have a listview that contain some data. Problem is, when I long press a...

1

Solved

I would like my activity's Toolbar to smoothly scroll out as a given scrollview grows, and then smoothly scroll back in if the user scrolls down. I.e. the basic scroll|enterAlways behaviour from e....
Yoko asked 10/5, 2018 at 14:25

0

How can I make such popup item menu for my toolbar (support v7)? screenshot of transparent toolbar's popup menu (MX Player) I found out how to make transparent background: from layout <andr...

2

Solved

I want my spinner to be next to my menu in the toolbar (to the left of the menu), but currently the spinner appear below the menu. Do i have to add it somehow inside the onCreateOptionsMenu(Menu me...
Invercargill asked 16/5, 2016 at 9:14

5

Solved

If I set android:layout_height="56dp", I can see the toolbar in graphical layout. But when I set like the below, <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_w...

8

Solved

I created a ToolBar which I set as my ActionBar and I have it transparent, my question is I want it to overlay the rest of the content, right now it is acting like a normal ActionBar where my Linea...
Xiaoximena asked 17/12, 2014 at 18:16

2

I saw some apps made it. So I am intersting at how to do it. I believe there must be some trick way to do it. Example: I add the cart icon in the menu file. ` <item android:id="@+id/action_dr...
Blankbook asked 14/9, 2016 at 17:22

4

Solved

My activity design like below: <android.support.design.widget.AppBarLayout android:id="@+id/movie_detail_appbar" android:layout_width="match_parent" android:layout_height="wrap_content" and...
Cyprinodont asked 17/10, 2016 at 11:4

6

Using the Standalone toolbar has an issue with the select able background of the items, following this article didn't work also: http://blog.mohitkanwal.com/blog/2015/03/07/styling-material-toolba...
Unimposing asked 1/6, 2015 at 15:5

4

Solved

Ever since upgrading to the latest appcompat library, I'm seeing a message in my logs from ViewUtils. app:theme is now deprecated. Please move to using android:theme instead. I'm using parent="Th...
Harvester asked 24/4, 2015 at 17:54

2

Solved

I'm unable to see how adding a popup menu from the title is accomplished like is shown in many of the material design examples. Any help would be much appreciated.
Quinacrine asked 22/10, 2014 at 15:14

5

I want to notify user about new unread message in the app which is accessible through navigation drawer. I was thinking about notification badge something similar Apple have but over drawer toggle ...
Lynettelynn asked 18/10, 2015 at 17:6

10

Solved

How do I get rid of the extra padding in the new Toolbar with Android SDK API version 21 (the support library)? I am talking about the red arrows on this picture: Here is the code I am using: <...
Bardo asked 19/10, 2014 at 20:25

4

Solved

My Toolbar Text, Back arrow and all is coming as black but I want it to be white How can I achieve it? My styles.xml looks like this: <resources> <style name="AppTheme" parent="MyMateri...

6

How can i remove the leftmost navigation drawer menu item on the Android Toolbar. Basically i wan't to contain 4 images in a horizontal fashion, Nothing else !
Breana asked 15/2, 2015 at 4:6

18

Solved

I am looking at the chrisbanes/cheesesquare and I am trying to put TabLayout with a Toolbar inside a CollapsingToolbarLayout, and here is my code <android.support.design.widget.CoordinatorLayou...

4

Solved

I want to set toolbar on my activity which extends FragmentActivity. I know that for use setSuppoertActionBar(toolbar) method we extends AppCompatActivity instead of FragmentActivity but I override...
Chronological asked 19/1, 2016 at 6:51

2

I got an activity with many fragments. When i change fragments i need to change also and my toolbar declared in MainActivity.class. My problem is that i include a layout and didnt find a method to ...
Sacha asked 17/2, 2016 at 21:18

3

I have given toolbar for each fragment in my app. Following is code in the fragment to set toolbar. setToolbar is a method in Activity which is called from fragment using the interface. @Override...
Interdepartmental asked 9/3, 2018 at 17:42

2

I set up my Toolbar within a collapsingtoolbarlayout like so: <android.support.design.widget.AppBarLayout android:id="@+id/appbar" android:layout_width="match_parent" android:layout_height="...
Scrimmage asked 25/9, 2015 at 15:18

4

Solved

I created a new activity with the default navigation drawer, but the default color is black, how to change it? I tried this code works, but the animation is not running and can not be cli...

1

I might be missing something very simple here, but I could definitely use some help. I have an activity inside which I want to load different fragments with different content and different toolbar...

© 2022 - 2024 — McMap. All rights reserved.