android-toolbar Questions

8

I'd like to integrate something like this: And I've done it like this, but I can't seem to put the imageview below the toolbar. Without the toolbar, I can make it under the status bar, but combi...

7

Solved

I'm trying to recreate the look of Theme.AppCompat.Light.DarkActionBar with the new support library Toolbar. If I choose Theme.AppCompat.Light my toolbar will be light and if I choose Theme.AppCo...
Ordinary asked 22/10, 2014 at 8:25

0

I have a special situation that I am not able to find a solution for. I am trying to force a view to be laid-out in RTL, but one of the restrictions is that supportsRtl must be false in the manifes...
Angelicaangelico asked 9/10, 2017 at 16:4

4

I want to remove space between in-built back arrow & imageview in toolbar. Below is my xml : <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout ...

4

I used CollapsingToolbarLayout and i need to make it stretching something like this: this is my layout: <android.support.design.widget.CollapsingToolbarLayout android:id="@+id/collapsing_t...

3

I have a set up of 3 'top-level' fragments that each use their own Child Fragment Managers to offer drill-down navigation. These top-level fragments are switched around by being replaced using the ...

2

Solved

main.xml <item android:id="@+id/action_back" android:orderInCategory="100" app:showAsAction="always" android:icon="@drawable/ic_action_back" android:title="@string/back"/> <item ...

3

I have a BottomNavigationView with five items. The default behavior is to only show the label of the selected item and the spacing between all five items differs depending on what item is selected....
Leghorn asked 30/11, 2016 at 20:47

3

Solved

Hello I'm attempting to simply put my content below the toolbar but at the moment when I run my application some of the content is hidden behind it when it should be below it. I have read up about...
Screak asked 24/4, 2016 at 17:55

1

Hei Guys, I'm trying to get the scroll_behaviour done right for my layout. My problem is that if I wrap the bottom navigation into a relative layout and put my main content above it, then the bott...

1

Solved

I need to design something like this with Transparent Toolbar But I am getting something like this Design is like transparent statusbar and actionbar with background image actionbar must be...
Cannikin asked 23/8, 2017 at 9:56

2

Solved

I have two activities MainActivity DetailActivity My MainActivity.xml has AppBarLayout and Toolbar elements. In Main Activity.java, I set the icon in toolbar using: Toolbar toolbar = (Toolba...
Municipalize asked 23/8, 2017 at 8:22

3

Solved

I am trying to add a custom view to the new toolbar (Lollipop) . But somehow the view gets added below the toolbar. It was working fine when I used actionBar.setCustomView but now after migrating t...
Cliquish asked 13/11, 2014 at 10:49

1

Solved

Tried implementing a toolbar for my layout but a gap keeps appearing underneath it. What is the correct way to eliminated that gap? I believe android:fitsSystemWindows="false" or android:fitsSystem...
Nickinickie asked 29/7, 2017 at 22:15

3

Solved

I'm trying to use Android ActionBar in my app, and have an option that's hidden away in the overflow menu. There's a lot of documentation out there, but it's confusing because most of it is only r...

7

Solved

I have an AppBar and a horizontal linearlayout (which includes an edit text and two imagebuttons) and other things in my layout. When user scrolls down, I want AppBar(actually, the Toolbar to hide....

6

Solved

With Google’s recent release of the Design Support Library several cool new views have been introduced. Using some of the new components (e.g. CoordinatorLayout ) might (!) enable you to achieve th...
Obsess asked 11/1, 2016 at 6:55

3

Solved

Action bar views (share action provider and searchview) crashes after generating signed apk. When i debug app from android studio it's working but when i generating signed apk and install app to de...
Kilar asked 6/12, 2014 at 19:33

5

I want to show the back arrow button in my app, but the app crashes when I put this in my code: getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayShowHomeEnabl...

3

Solved

I am creating a custom ActionBar using a RelativeLayout with an ImageButton to the left to replace it. I have downloaded the Back icon from google's website to use on the ImageButton The problem i...
Cioffred asked 6/1, 2016 at 13:30

2

I want to add multiple input fields in top bar area of application (toolbar) for search purposes of my app. I see that Airbnb does that at its best! I have tried various scenarios using AppBarLayou...
Pertain asked 20/1, 2017 at 16:47

1

Solved

I want to implement collapsing toolbar with two EditText in it, for the purpose of user input. I'm following this answer. The answer gives perfect solution for adding two EditText into the collapsi...

4

Solved

I have the following problem. I've setup my Actionbar to use a Toolbar instead using the API 21 with the appcompat-v7:21. The textColorPrimary style tag is configured to use the color @android:colo...
Pulpy asked 26/11, 2014 at 18:43

6

Solved

I've done a few researches on this topic but I couldn't found some solution for my App/ Activity. I have tried to get a transparent action bar. First, I have tried to change the themes in my ...

1

Solved

My question is the same as this question (which is not a duplicate of this question). The only answer to that question does not work for me as, rather than changing the default hamburger icon to t...

© 2022 - 2024 — McMap. All rights reserved.