How can I draw a arrow for showing incoming/ outgoing calls - android

I'm creating an app that shows Call Log.
In most of the contacts app we see arrows representing incoming/outgoing/missed calls.
where can I get them or can I create them using drawables or something?

You can install and use this plugin - Android Material Design Icon Generator - in Android Studio. It has a collection of several icons. It will also automatically put different sizes of drawables in their respective drawable folders.
To install a plugin in Android Studio: Goto settings/preferences -> plugins -> browse repositories.

If you are talking about icons, you can try Google Material Icons. It is the standard library of icons recommended by Google.

https://romannurik.github.io/AndroidAssetStudio/index.html
I got those icons from this website.I think this is very good website to make new icons

Related

App's icon not visible in Phonegap Build's page

I have made an Android application. It was done by Phonegap Build. Now I want to share it.
But whenever I go to Phonegap Build's page of my app (https://build.phonegap.com/apps/1539142) it doesn't show my app's icon. Rather it shows the phonegap's icon. Now it is not possible to share an app in this way. Image attached for showing.
I am talking about the icon just beside the name of app. What is the problem and a solution?
It should be enough to add this line to your config.xml:
<icon src="AppResources/icons/icon.png"/>
And make sure that the Icon file is in the same Directory.
#Abeer, You need to add all the icons sizes. I know that because I did it before with Android. When I added iOS, I marked the size of each icon on the icon. That way I could tell the size of the icon displayed. So when I added iOS to my Splash Screen Demo, Phonegap build used the 180x180 icon for iOS instead of the Android. In your case, I think you just have to make sure you add all the icons sizes. This is the reference I used.
Adendum - July 15, 2015
#Abeer,
Source:
https://github.com/jessemonroy650/Phonegap-Splashscreen-Test
All examples:
http://codesnippets.altervista.org/examples/phonegap/demos/PUBLIC.Apps.html
I did not use Eclipse or Android Studio either. I upload www. I use github.com, is same as www folder

How do I get the Android Icons in Android Studio?

I'm using Android Studio, and I always see people's drawable calls to things like ic_launcher. I don't have any of these files - hell, where are they even stored? All of my few files begin with abc_ic. How would I go about getting the icons, and where would I put them?
You can get the system's drawables by
android:drawable/the_drawable_here on XML and
getResources().getDrawable(android.R.drawable.one_random_drawable,null);
programmatically.
abc_ are ActionBarCompat stuff. It's used by ActionBarCompat. For instance, you'll find the overflow icon there (the vertical dots indicating the menu).
Then there is android:drawable/ that contains the system stuff, not always convenient because it varies a lot from a version to another.
Finally, there is https://github.com/google/material-design-icons/ Pretty much all icons ever mentioned in material design are there, in black and white, in all sort of size, and for all densities.
The Android asset studio is a great tool for things like this. It will generate icons for all the main DPIs. It can be found here:
https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html

Android Lollipop system icons in Android Studio

How do I get the Android Lollipop system icons in Android Studio for use in my app? I am strictly working on Lollipop and whenever I try and do android:icon="#android/drawable/... I always get old Kit Kat era icons. I want the icons referred to on this page here. But I get stuff like this:
EDIT: Found a neat little plugin available for Android Studio. I created an answer to this question. Hopefully it will help others in the future who are looking to do the same.
After some more digging I found a great solution. Not quite exactly built in but it is a great alternative and I didn't find a 100% definitive answer on here so I'll make this post for future people.
So there is this plugin for Android Studio called Android Drawable Importer by a man named Marc Prengemann that will allow you to import whichever icons from the Lollipop system icons, given that you download them first.
To download them go here and you can download, they are also available on github. But, the plugin also offers the ability to download them. Your choice.
So to get the plugin go to:
WINDOWS: File > Settings > Plugins > Browse Repositories
MAC: Android Studio > Preferences > Plugins > Browse Repositories
and at the top search for Android Drawable Importer. It should look similar to this:
Click install and Android Studio will need to restart.
Next you are going to have to go back to:
WINDOWS: File > Settings > Android Drawable Importer
MAC: Android Studio > Preferences > Other Settings > Android Drawable Importer
and here is where you either download the icon pack or provide the path you stored them if you previously downloaded them (that's what I did here). It will look similar to this:
Now you are good to go. To add an asset to you project, right click on
WINDOWS/MAC: Drawable > New > MaterialIcons Import like so:
You will get a nice little popup window like this that will allow you to look through the different categories like alert or hardware or social and choose the icon, size, and which dimensions you want (hdpi, xhdpi, etc..):
Hope this helps some folks in the future. You don't only have to use it for material design icons, you could put whatever icons you want in the root path. Again, I didn't make this, just sharing the wealth.
It will depend on your target android version and also on the version you use for rendering in android studio.
Open the preview panel on the right of your xml, on the top left you can choose 'Android version to use when rendering in the IDE'. That only changes what you see in the IDE though.
Your app theme could also be responsible.

Android New Updated Market App Menu Icons

Has anyone seen a icon library that has the thin style gray scale look as the new updated android market app?
Yes, install the new SDK APIs and look into these platforms within the SDK folder.
Really don't know what you exactly mean. maybe you post some screenshot or give more details.
here is a list of some quite good icon-packs
if you are searching for psd-templates to get your own icons
vector graphics to use for icons

Is this a built in drawable?

In this linked image , I see the button on the right quite often in a lot of apps. On my Moto Droid, it is used extensively in the settings app. It is also used as the default AlertDialog icon. Can I use this via a android.r.drawable?
The icon is built-in with the Android development, you can access the image by using R.drawable.ic_dialog_menu_generic
While it may be possible to use it via android.R.drawable, you may want to find the image in the resources that come with your SDK ($ANDROID_HOME/platforms/$VERSION/data/res, where $ANDROID_HOME is where you have the SDK installed and $VERSION is a relevant Android API level). So, per Mr. Forloney's answer, you'll find that in, say, drawable-hdpi/ic_dialog_menu_generic.png in the aforementioned directory. Then, copy that image into your project. While it will add 5K to your project size, it will mean that the icon does not change based upon OEM or Android changes.

Categories

Resources