I'm looking to add a menu option to change the font size in my Android application. Most applications I've seen that have this option (Kindle reader, Google Books) use an icon like "Aa" to indicate the ability to change the font size, but I can't seem to find a standard icon for this for Android. Is there one? Or am I better off creating my own?
I know what you mean but cant think that android have a designated icon, I would advise creating one of your own. It's more fun creating your own anyway.
Related
I want to ask if it is possible to change the system font size out of an App.
So the idea is to create an App to change some system parameters, but I don't know if I can use RRO's or the Dynamic Theme function from Android 12 or another alternative.
I read that:
"The “Styles” option for customizing system icons, icon outlines, and
fonts will be removed with Android 12" / © NextPit."
https//new.in-24.com/News/111901.html
I know I can change the font size in the settings but I want to do it out of an App and maybe also change the icon size and more later.
Does anyone have a good idea of how to start or an example?
To make any system changes, you need the user to navigate to Settings App. an OTT app cannot do system level changes.
Other Possibility is, root your device and make your app as an system app.
I have recently pushed a React Native app to playstore and used an Icon to represent in playstore.When Dark Mode is enabled my app's playstore Icon's background turns black which makes Icon ugly. Now my doubt is
Do I have to use white background for Icon for all the future apps?
OR
Is there any way to make our Icon to be flexible in both Normal Mode and Dark Mode?
regarding your first question if the issue is only inside of playstore I think light background will not hurt. I dont think google play store offers a way to make this adaptive on their website.
regarding the second one, yes! inside your android project you can place alternative versions of your launcher icon inside of /res/mipmap-night-** resource folder btw it is possible you will need to create it. And also I recommend you actually create /res/mipmap-night-hdpi, /res/mipmap-night-xhdpi etc. to take into account the different screen resolutions. Since you are developing with react you would have to dive into your android project to find the res folder, or alternatively open your project in android studio and you will see it right away. this should change how your app looks on your users home screen
UPDATE
by mistake I had pointed to the drawable-night-** folders in my answer but Launcher icons in android are actually saved in the mipmap folders. I have now corrected this. I also tryed it out and it works (however I had to restart my device for it to take effect. asuming your users dont switch constantly between day and night mode they will always se the right icon for them)
Play Store icon it is a different image that you upload.
Make a complete white (or whatever) background to that image. In the official guidelines, Google says that you shouldn't make a partial background.
There is no "dark" icon in the Google Play Store; if you leave it transparent, it will display the default background color for each state (normal-dark).
I'm putting together an app that lets users create tags (cooking, tv, shopping, etc.) and I want to allow them to pick an icon to attach to the tag.
I haven't been able to find anything online, I think mostly because I can't word it in a way that is distinct enough from everyone that seems to be having problems with their apps actual icon. But I've seen it in plenty of apps in my day.
Is there any way to implement an in-app icon picker? Preferably a method that doesn't involve me having to individually add 100+ icons as resources in my project?
Look at this "icon picker dialog" at:
https://github.com/maltaisn/icondialoglib
I have an app that features a grid view. For each item in the grid view I want to provide a context menu, much like you see on the play store
I would like to use the built in android menu icon, but I can't find it anywhere in android.R.drawable, like one might expect it to be. Where, therefore, can I find the icon so I can set it as a drawable in my grid view item.
According to Dmags' answer to this question Google advises that
you should not reference these icons using the Android platform resource IDs (i.e. menu icons >under android.R.drawable).
(though the page linked no longer appears to contain this warning)
I am puzzled as to why this advice would be given? I would want the design to be consistent with the OS it is running on. If Android 5 decides to have an image of a lemon to display the menu, I'd want my app to also use the same image of a lemon to show sub menus.
So can anybody either give me a good reason as to why I should be creating my own graphic rather than use the default Android graphic, or give me the location in which the menu graphic can be found?
Have a look at your android-sdk folder:
C:\Program Files\android\sdk\platforms\android-18\data\res\drawable-hdpi\ic_menu_moreoverflow_normal_holo_light.png
I think this might be the one you are looking for.
It is not a good practice to use drawable direct from #android:... because android is an open-source platform and every customer (like Samsung or the cyanogen mod crew) can build their own version of it without the drawable u are using. so you can get a null pointer exception. The better way is to copy the drawable from the android sdk directly into your project.
I have created an Android app using the standard controls available. It seems that most apps on the market have their own set of controls. It generally looks much better that the standard controls. How do I create better looking control? Can I just apply a theme or should I overwrite the onDraw method? For instance, there is a problem with the default android spinner control details here .
adding custom images is the best way to have more eye-catching GUI, use colorful & meaningful images to your application to appeal users. Custom theme's and styles are helpful too.....
You can apply different themes and styles on the one hand or work with 9patch-drawables - have a look here for details and examples