How do I generate a notification icon from text? [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am currently developing an app which involves displaying a number from 1 to 60 in the notification bar. How do I implement this? At first I was thinking of
including all 60 number images within the app, but that seemed unintuitive as I would have to provide separate icons for different screen sizes. How can I generate these icons at runtime?

As long as you would need to use Drawable for notification large and small icons, you would obligatory change string value to drawable.
I think for this usecase, you can use this library: https://github.com/amulyakhare/TextDrawable
I haven't use that yet, but for Lollipop and higher version of Android notification bar, you may need to set transparent or no-color background for your chars.
Hope it help

Related

How to create a Color picker like this image of color picker [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
This picture is a screenshot of an exiting app.
Uses color picker both of steches and round selection.
anyone help me how can I create a color picker like this one.
As i can see that you need recent color at bottom part.
Well there is many libs are available.
Here is one of them.
if you don't need same design of the lib. then setup code of lib in you system and customize the design as per your requirement.
For Simplicity you can use the existing library for color pickers, it's better not to reinvent the wheels and use the existing one.
Here is some top library for this.

Android and iPhone topbar/Statusbar changing Pragmatically [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new to App development I am trying to make an app which needs to access and change top bar/status bar on both iOS and Android. I have Searched many Sites even StackOverflow but all I get was It shows how to change colour of text in these bars, there are tremendous Coders are out there working fantastic on both platform, please can any one give me is it could be done? if yes then what is the approach. For more clarification I am uploading Images for top bars.
Android
And Iphone
This is what I want to do. Change items or add items in the statusbar
Any Help will be highly appreciated.
In iOS:
Change in info.plist the row View controller-based status bar
appearance and set it to NO
Change in appDelegate.swift in didFinishLaunchingWithOptions
UIApplication.shared.statusBarStyle = .lightContent

Where do different icons appear on Android? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I’m trying to figure out where different icon files appear on a device.
– For example, if the notification icon in the status bar is the same one that appears in the notification drawer. See attached image for more a better explaination.
Notification icons are set in the Notification.Builder
https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html#setLargeIcon(android.graphics.Bitmap)
The difference in the picture on the right is because one shows a locked phone and the other shows unlocked.

Can i use .GIF file as a main icon in application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am trying to develop an application. So how can I use the main icon as a . GIF file? if it is possible. Then how?
According to Android docs you can't use .gif format for your launcher icon
Launcher icons should be 32-bit PNGs with an alpha channel for transparency. The finished launcher icon dimensions corresponding to a given generalized screen density are shown in the table below.
See this link for more informations on how to create a proper launcher image.
UPDATE:
In case that you want some more informations on this problem you can give a look at this forum. Spending a little more time on this I found that some people chose to use "dynamic launcher icons" changing the image programatically (details here). I do believe that this won't fix your problem, but this should provide some details on what's happening and maybe some starting point if you have to simulate somehow this behaviour.

Change notifiaction bar color [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm creating an app and i'm wondering it there's a possible way to change the color of the notification bar. Thanks.
KitKat + devices can get system bar tinted.
I just found this library, it may be close to what you are looking for :
https://github.com/jgilfelt/SystemBarTint
But it will only work on KitKat+. Before that, there was no API to change these components, there were considered part of the system, not of apps.

Categories

Resources