Blurred images in Android Studio - Android Studio

Im making a pixel art game in Android Studio.
My question is, is possible to don't get the image blurred? Here is the example:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is my layout:
Code:
Here is my layout:
<!-- logo-app -->
<ImageView
android:layout_width="516px"
android:layout_height="122px"
android:id="@+id/logo_engine"
android:layout_gravity="center"
android:src="@drawable/logoengine"
android:contentDescription="@null" />
The imagen is 516x122 px so the size is correct but I dont know if the device zooms the application..
For example, the same App in Adobe Air, fits correctly because is designed in 240×320px and the device fits the application to screen perfectly. The application Is zoomed but pixels are zoomed perfectly. Is there any way to conserve the pixels and don't get blurred images?
Thanks!

Use a SVG format picture. But I'm not sure that will work in Android Studio
Sent from my Nexus 9 using XDA-Developers mobile app

Related

Large Robot Icons

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Free Large Android Icons picture various space creatures, such as robots, crawlers and androids. Not only does the set present the creatures themselves, it also shows their moods and actions.
All the images are demonstrate bright colors and well-finished edges.
The icons contain sizes 32x32, 48x48 and 256x256 pixels. 32-bit color scheme is used, making the set compatible with Windows XP and Windows Vista. PNG images in the size of 512x512, as well as AI vector source images, are also included in the archive.
Insect-robot, Scorpio-robot, Flying robot, Paranoid android, etc.
Download
Here you may find page with this icons pack: www.large-icons.com

Battletech Wallpapers

I built myself a Modified Federated Suns wallpaper for my phone, designed to utilize the right side for icons/buttons.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Since I had the template already built, it was a pretty simple thing to put together four more versions, each for the original major factions in the universe of Battletech. I used the logo art by Punakettu on deviantart. Enjoy!
Federated Suns [House Davion]
Draconis Combine [House Kurita]
Lyran Commonwealth [House Steiner]
Capellan Confederation [House Liao]
Free Worlds League [House Marik]

Camera view, black stripe

Does anyone know how to fix this camera black bar? It should be transparent right?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
_________________
« Sony Xperia Z »
Set the resolution to 9MP, which is 16:9. If you use 13MP, then the image will be 4:3, hence the black bar behind the capture button.
kingvortex said:
Set the resolution to 9MP, which is 16:9. If you use 13MP, then the image will be 4:3, hence the black bar behind the capture button.
Click to expand...
Click to collapse
Indeed this fixes it, how dumb not to have realised it myself.
Thanks for the help.
You're welcome.

How to generate chessboard made from 10x10 rectangles horizontally/vertically in Task

I was wondering. When creating for example image by code, there is some code snippet inside. I wanted to replace the x position in there with variable PosX, which I would like to set beforehand. Unfortunately the code does not recognize nested variables.
What I wanted to achieve is some kind of a "chessboard" made from images in form of rectangles automatically after I tape the button or start a task. Can someone guide me, how to do it? I would like to set the distance between rectangles as well as their size. Currently I am stuck. I dont know what to look for. Tasker is so mysterious.
It could look like that:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
thanks in advance.

Split screen mode ratio

On my previous pixel 3 w/ android 10, screen can be splitted by merely 1:2 or 1:3 that perfectly fit into a youtube portrait window.
But on Pixel 4 XL I can't adjust the ratio anymore but in 1:1.
Is that a bug or a "feature"?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mine seems fine
No problem here. YouTube on the top and Tapatalk on the bottom. I usually do YouTube and Maps while driving. [emoji2958] I'm not really looking at the video and more just having the audio in the background anyway. [emoji1]
Sent from my Pixel 4 XL using Tapatalk

Categories

Resources