android-toolbar Questions

13

Solved

Weirdly, the react-native-vector-icons was working well but by using ^ ("^6.6.0") for its version in the package.json file on the new release this error happens. It's weird because two d...

5

Solved

I am trying to hide my tool bar when I scroll my text and image with content. Here I use scrollView for getting scroll content. When I scroll content up, how to hide the tool bar? Here is my XMl co...

4

Solved

Hi I wonder if there is an xml tag for this function using Android Data Binding Library or how to achieve this without findViewById() method Thank You
Cambist asked 6/1, 2016 at 15:36

2

Solved

I have a Toolbar that when in landscape mode isn't as wide as usual, but it has more height than usual and for that reason I want to set the title to be multiline (2 lines to be precise) when it is...
Alidaalidade asked 27/5, 2016 at 8:52

4

Solved

When I try to set a specific value to elevation for AppBarLayout, the shadow disappears completely. <android.support.design.widget.AppBarLayout android:layout_width="match_parent" android:la...

12

Solved

NOTE: I have searched for an hour and tried all solutions already provided by stackoverflow. I am studying theme overlays. I have made a sample app, which opens a popup menu on clicking an act...

3

Solved

I need to have a curved bottom view for Toolbar or CardView. What I've tried: bg_toolbar.xml <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.co...
Biggin asked 30/8, 2019 at 8:35

3

Hi I want to make scrollable toolbar with searchbox. on scrolling toolbar should be hide toolbar and show search box. Give me some suggestion that how i can build this kind of UI for my application...

6

Solved

The code on which I am working, is using a Toolbar and inflating a menu. Here is the code private Toolbar mToolbar; mToolbar.inflateMenu(R.menu.chat_screen_menu); setupMenu (); private void setup...
Freberg asked 9/12, 2014 at 12:28

1

I use Navigation Component which automatically handles if app should display Menu button to display to open navigation drawer or Back button to return back to home (dashboard for example): setupAc...

7

Solved

In my application I have a collapsing Toolbar. If I start a specific Fragment I want to collapse the Toolbar so it behaves like a "normal" one and that the user can not expend it by himself. Here i...
Lass asked 6/3, 2016 at 0:10

8

Solved

I have a toolbar in my activity ( import android.support.v7.widget.Toolbar; ) and I'm trying to provide Up navigation using its home button. What I have: Manifest: <!-- ... --> <activity...
Chipper asked 15/12, 2015 at 0:9

4

I am making an Android app using Toolbar with Custom style but when i'm running the app, i'm getting the following error: Caused by: java.lang.IllegalStateException: This Activity already has a...
Sinkage asked 17/1, 2016 at 17:6

8

Solved

I'm trying to display my toolbar title in the center and to do it I use the method which is given in this answer :-Toolbar Center title However, when I enable back button in my activity by followi...
Bemire asked 26/7, 2016 at 6:19

3

I'm trying to use the MotionLayout View to get a collapsing toolbar behavior. My approach is similar to the example here: https://blog.stylingandroid.com/motionlayout-collapsing-toolbar-part-1/ Th...

9

I have a CoordinatorLayout which contains AppBarLayout and a FrameLayout which contains fragments. One of this fragment contains a TabLayout at Top, one List trough RecyclerView and at the Bottom ...

2

I am using a toolbar from v7.widget.Toolbar support library and v7.app.ActionBarActivity. When the onCreateOptionsMenu is inflated on the toolbar, I see a standard "Back" arrow on the leftmost side...
Tilghman asked 3/2, 2015 at 3:44

4

I have a layout like the one below and I would like to have the following behavior when the user taps on the EditText: Keyboard should overlay the "LinearLayout aligned to the bottom"; EditText s...
Shipment asked 4/3, 2016 at 12:57

6

Solved

I am trying to create a viewpager that swipes through 3 different fragments each with a different toolbar. I have implemented the new toolbar in an activity before and got it to work however I am t...

6

Solved

I have an android.support.v7.widget Toolbar in my Android app. The background color of this is bright orange and the best looking color on top of this would be white instead of black. I have the d...
Unhealthy asked 21/4, 2017 at 8:43

3

I have an Activity which implements OnClickListener, and I am handling onClick event as below code: void onClick(View v) { final int id = v.getId(); switch (id) { case R.id.xxx: break; } } an...
Impending asked 30/5, 2015 at 14:29

3

Here is my application screen: And layout xml: <android.support.v4.widget.NestedScrollView android:id="@+id/content" android:layout_width="match_parent" android:layout_height="match_pa...

5

I'm getting this warning spammed in my console. The only info I can find is most people get it when they have fast scroll enabled in a listview. I'm not using any listviews. It says its being impro...

2

I am trying to implement collapsing toolbar in my app using SliverApp bar, but the problem is that the SliverAppBar is overlapping my content when the SliverAppBar is collapsed, I am attaching the ...

10

Solved

I have an xml that I use with so many activities with fragments file but my problem is that I can't display the text I want in the toolbar, I use that xml that way because I have a navigation drawe...

© 2022 - 2024 — McMap. All rights reserved.