Which image is looks better resolultion (png or svg) [closed] - android-studio

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
Which image is looks beeter resolultion (png or svg)
I have used but it not looks good for smaller icons

Svg Image because you can scale them to any size and you don't loss of quality.
SVG files basically use for logo, icons, etc.
So, I recommend you to use SVG

Well it depends about the img type.
If You are dealing with an icon than go for SVG :)
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types

Related

Google Font in Android Studio Application? [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 7 years ago.
Improve this question
I am trying to use a font from the available online Google Fonts (https://www.google.com/fonts). I would like to put the font in my Android Studio app so that the text looks nice rather than boring. Thanks.
Take a look at http://www.101apps.co.za/index.php/articles/using-custom-fonts-in-your-android-apps.html
I believe you have to use a .ttf font file.

Why didn't android provide native support for autoresizing of text size in text view or buttons? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I tried to do autoresize of text view. I came to know that android doesn't support it natively.
I found a few links like Auto Scale TextView Text to Fit within Bounds to do this. I just want to know why android didn't support it natively. Is there any specific reasons for it?
It's not really useful for anything other than strings of text that may be replaced with long strings of text that require 100% visibility at all times.
DP & SP are units that are density-independent and scale-independent respectively. This allows the device, system, and user to adjust the sizes appropriately. You should always use SP for your text.

What are the problems with using SVG today? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I noticed https://beta.icloud.com/ didn't use SVG which surprised me. Here Apple is on the cutting-edge using things like background: -webkit-canvas(animation) and they're not using SVG on what seems like a perfect place to use it. I want to delve deep into SVG but before I do I want to understand its limitations. When I see demos like this Mozilla demo it doesn't seem like it has major problems. What would be the reasons a large corporation, for example, would not use SVG?
There are relatively few "problems" with using SVG today. For the most part, it's a question of fit and familiarity - there are a lot of problems where the solution is to dynamically draw to a raster buffer. That is, canvas.
However, for Apple, the problem is that Safari has the worst of SVG compatibility of any major browser (at least, the last time I tested it). They want their sites to work in Safari.

IE9 strips comma from translate(123,456) SVG markup [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
Observed: IE9 strips comma character from incoming SVG <g transform="translate(123,456)"> markup. Just thought I'd throw the observation out here in case is bites anyone trying to provide Javascript client-side mods to the SVG DOM. This seems kind of wierd since comma is supported in the W3C standard.

Export as Bitmap from inkScape has poor quality [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have drawn something in inkscape and it looks great. I resize the image to the size I want and then export it as a Bitmap. The result has very poor quality, looking like no anti-alias has been applied to it, all edges are jazzy.
All the images are vectors, and I resize them to fit Android screen resolutions. I had the impression that if I use inkscape I will be able to scale and export images and mantain great quality. I attach an image to see the jazzy lines.
How can I improve this export ?
I would actually export it as a SVG open it with Gimp, do additional stuff if required and then save it as a PNG using Gimps save for web function.
Have you tried this plugins?
It have worked pretty well for me:
http://code.google.com/p/pixelsnap/
The problem about the conversion of vector graphics to pixel based file is explained there.

Resources