When I use andriod studio,I will open several classes.Once the classes I open are more and more,the bar will collapse.Just like the picture.enter image description here
The result I want is that,the classes have been opened don't collapse,all the classes will dissplay in the bar.Who can do me a favor?Thanks a lot.
Just uncheck the red one, when you want to configure something, type in the search bar on the left-top
Related
I want to display tool tip on menu item like this ,whenever the application loaded.! without any click ,it should show the tool tip.please help..!
There are a lot of libraries out there for this just search for showcase view.
Here's one of the most popular libraries: https://github.com/deano2390/MaterialShowcaseView
I have a problem with my Floating Action Button. I want to get the same "plus" button as in google design, however, when I import the "add_white" icon from material design studio and put it into project, it is redefined to have black background which completely distorts the effect.
I show on the attached picture how the problem looks like - the image in all possible dimensions is correctly inserted in the folder, however, the android studio reads it differently.
Thank you in advance,
Grzegorz
How to fix it/ or just get the proper "cross/plus" sign to the button?
I'd recommend you to download the icon in svg format from https://design.google.com/icons/#ic_add, you can add it to Android Studio by doing a right-click on the project and selecting Vector assets, you'll be able to remove your 5 ic_apps_white_48 pngs and use the one imported.
I'm new to Android Studio and I am trying to create a note app. However, I can't seem to interact with my action bar at all.
I am using the latest version of Android Studio. I was looking some tutorials of Android Studio, videos of one year ago, and in the videos, the app emulator showed 3 dots (the settings icon) on the top-right corner of the action bar. However, mine doesn't create it. It doesn't create any menu icon. In fact, I do NOT have a menu sub-folder on my RES folder, and my MainActivity.java does NOT have the onCreateOptionsMenu and onOptionsItemSelected methods that should be created by default.
Any way I can fix this? How can I add a simple icon my action bar?
Thank you
You can add these methods manually by clicking CTRL+O (shortcut for override methods) and choose these two methods from the list.
You can also write them from scratch or copy-paste them from somewhere.
EDIT:
Try all the different templates in the New Project menu. Maybe some of them works for you. And good luck. This appears to be some weird bug.
I need a navigation bar that doesn't slideIn above the current view (the usual overlapping stype), instead it should be as in new ebay app (as if scrolling the wallpaper in homescreen with more than one page). Is it possible to add this effect to material-design-navigation-view? How do I do it?
You can use Sliding Menu Library for your requirement. Here is the link to that library
Sliding Menu Library
And if you are using Android Studio then see this link to add it in your project
Importing in Android Studio
There is no default way to really do this. However, this thread of StackOverflow will help you: push activity on the right when open drawer
Another GitHub library that may suit your need is: Material Drawer. You can download the demo on Google Play Store (same name). A similar approach is the Persistent Header Drawer
I followed a template on android studio to create a navigation drawer app. As you know it creates an initial activity with a floating action button and the email icon in it. I just want to change it to a plus sign. Here is the problem. It turns out there is no plus sign available as the ones I can see in every single example ( There is just one I can use but then the plus sign color is green, and I want it white! ).
I followed this steps how to download Material icons , I get the icon ic_plus, and I put every single file in its correspondent folder ( drawables, drawables-hdpi... ).
Problem is when I try to use it here:
The name turns red as it can't find it. As I said, I copied all files one by one to its correspondent drawable folder. I even tried this drawable importer
but the same happen.
What am I missing? And why plus sign icon it is not shipped as default icon, as for example the e-mail icon is, as I can see it in every single app using floating action button? I use Android Studio 1.5. Thank you!
EDITED
Looks like images are correctly placed in correspondent folders because if I try to use it on menu bar, I can find it through #drawables/ . Still don't know why I can't do the same for the floating action button. Ideas?
Put your image in the drawable folder.
Use the design editor and when you click on the FAB scroll down to the src and click that little square button with 3 dots on the right side to pull up all your options. You should be able to search for the name of the icon you uploaded and select it from here.
I tried to type in my file name using text editor and it couldn't find my image either.