i have searched about how to draw prespctive image in canvas like in the picture but i dont find anything thing. if its not possible using canvas, how i can make something like it? i find this:- but this cut the image. Answer This is possible by magic method of canvas drawBitmapMesh. This is example from my project:
Tag: android
Google Play Console: ‘Your app signing key’s encryption strength does not meet Google Play’s recommended minimum standard’
I enrolled my apps in ‘Google Play Signing’. Now I see in the console the following message: I thought that it is due the fact that all my apps were initially signed with the same release key (that I uploaded to Google Play Console during the enrolling procedure to Google Play Signing). So I thought that Google Play sees that
Firestore – RecycleView – Image holder
I don’t know how to write a holder for an image. I already have 2 texts set, but I don’t know what the holder for the image should look like. Can you help me tell what the writeup for the image should look like in order for it to appear correctly? My code: Answer You can use a library like
How to send this JSON POST request in Java using volley
POST request in Postman {“data”:[“dog”,45,256,256,2,5]} Answer i think that you First need to create your post request like this: (you will need to change the headers and parameters depending on what you are currently using in your Postman The previous one is a normal way of sending HTTP requests. Using Volley requests will be something like :
Java – Android Media Player – change icon play to pause. Back not working
i have a code for playing sound from firebase storage. I setting now for ImageView change icon play to pause for playing music. I need the icon to go back to play after playing. Does anyone know how to do this? Thank you for your help. Answer Just add a setOnCompletionListener:
Pass data from recyclerView to another in fragment
I want to pass data from recyclerview to another both in fragment, first adapter for display item, and second adapter for basket fragment that want to put selected item in. Adapter I want to take data from: this is adapter for basket fragment that I want to put the data in Now, what I can use to pass data between
Trying to change custom dialog Background color
Ok so I am trying change my background of my dialog box from white to a dark blue. However when I long press on one of the grid elements the dialog box looks like this: I am trying to make it look something like this (this is a photoshop): Here is snipet of my XML code for the edit dialog
How to make Views iterating on data objects (without ListView / RecyclerView)?
I am trying to spawn some XML view for each instance of POJO data objects in a list, similar to how a ListView would do it, but it’s not a ListView actually, but an empty LinearLayout instead, which is inside a ScrollView below other Fragment’s content. This is the item.xml file I want to inflate for each element of the
Glide for Android: How to include GIFs from Google Drive?
I am trying to include GIFs in my android application. My GIFs are shared as a document on Google Drive with public access enabled. Currently, I’m trying to use Glide to include the GIFs. However, although there is no error, the GIF does not display on my phone, even after a long time(internet issues shouldn’t be the problem). It appears
AlertDialog In MVVM
I am building an app in MVVM pattern and I am using 3 different styles of dialogs(some of them have 2 buttons,some of them 3). Since the AlertDialog refers to the view, I wrote the code in the fragment. I have 3 dialogs in the same fragment and its look kind of messy. My questions: Is this a good practice