I've been looking for threads talking about what I need, but to no avail. So if I should be looking somewhere specific please point me in the correct direction. I've been trying to get an image to move from A to B. I just need an idea of how to do this. Like am I able to use images from drawable, put it over an image button, and then move it over the location of another image button? Any suggestions or help are greatly appreciated. Also, I'm using a linear layout and have looked through the android dev pages but didn't find what I needed(or at least I don't know how to use what I've found for what I'm trying to do)
I dont really know what you're talking about with the whole imageview thing... but if you want to move an object from A to B, id suggest looking at the Animation class
Related
I searched all over the forum & couldn't find anything on this...
I was just curious what program anyone uses that would allow me to create themes with the dual images? I am currently using the Microsoft theme generator but when I go from portrait to landscape, the image doubles on the background. Is there a certain program or do I need to resize the image to a different size?
If anyone has a program or a link to download something I would greatly appreciate it.
Thanks,
Luis
Beast84 said:
I searched all over the forum & couldn't find anything on this...
I was just curious what program anyone uses that would allow me to create themes with the dual images? I am currently using the Microsoft theme generator but when I go from portrait to landscape, the image doubles on the background. Is there a certain program or do I need to resize the image to a different size?
If anyone has a program or a link to download something I would greatly appreciate it.
Thanks,
Luis
Click to expand...
Click to collapse
I've never used it personally but check this out.
http://www.codeppc.com/telechargements/themegence/themegence.htm
Confusing
Thanks for the response. This program is a bit confusing. I guess I'll have to play around with it some. If anyone has anything simpler, please let me know.
Thanks,
Luis
Hi all,
I'm VERY new to Android Development and I'm finally at the point where I'm starting to write my first VERY basic app.
I've done a bunch of reading and watched a bunch of tutorials to get to this point.
I'm one of the tutorials I'm watching they show how the 'Quick Fix' in Eclipse can help with things such as suggesting which imports to use and and option to import them.
For instance I'm defining a Button that I put on my main layout and I haven't imported anything... now I know I have to add the button class, but can't figure out how to get the quick fix working so that it shows suggestions.
Right now if I click on the line and hit CTRL+1 (or select it fromt he Edit menu) it just gives 'No suggestions available'.
I've done some searching and haven't found anything to help with this yet.
Thanks for any information!
**** UPdate ****
Ugg, total newbie error.
I was trying to define them outside of the public class, so of course it didn't know what the H*LL I wanted to do. :0
Moved them inside and it pops right up now..
Hello everyone,
Sorry if this has already been answered. I did search but I couldn't find a clear answer(there were some but they weren't exactly what I needed).
What I'm trying to do is just show a bunch of images from the web. I figured getting the images would be the hard part but it turned out to be easy. Now I have an arraylist of imageviews and I figured the easiest way to show them would be in a listview. I made a ListActivity and then used setListAdapter with the arraylist of image views that I have. I ended up with a bunch of things like
[email protected]
for all of my list items. Obviously, this is not what I was hoping for.
Any help here would be greatly appreciated.
Thank you so much,
Samuel Maskell
I meant to say ArrayAdapter, actually. That would make more sense..
maybe I'll explain a bit more what I'm doing.
I'm getting a bitmaps from BitmapFactory.decodeStream()
then creating a BitmapDrawable
and finally using ImageView.setImageDrawable() with that BitmapDrawable
should I be doing something else?
I kind of figured it out using this tutorial
http://www.anddev.org/novice-tutori...t97.html?sid=57c1096099cb666b386eb4ab65aba0c6
It wasn't exactly what I wanted to but I managed to figure it out eventually
however, now my images have a bunch of space between time.. oh well
hopefully I can figure that out
I had a thought while describing to a user how to use my wallpaper template.
Would anyone be willing to help edit the box that shows for cropping when setting a wallpaper? All that would really be needed to make it useful is to add in 4 additional lines inside of the cop box itself. Two horizontal and two vertical lines to serve as a guide for what is actually visible on the desktop.
If someone can point me in the right direction of what file to edit, Ill start working on it myself.
That is a wonderful idea. Would love for someone to actually fix the crop tool. Wish I could help but I would love to help test if you need it.
150 some odd view and no one knows where what files need to be edited to modify the crop tool?
Some one just point me in the right direction and Ill work towards getting this done.
that is a great idea! Maybe posting this in the android development section will get some feedback.
I am new to Android app development and have been looking for tutorials on how to use touch events to move around and zoom in and out of a canvas that is seen by way of a mask/viewport. The mask/viewport would, I'm guessing, be the parent layout that has a fixed size and position. The attached .jpg shows a better diagram of what I would like to be able to do. If there are any experts out there itching to create a tutorial, this might be a good one. At least I know I would appreciate it.
cinci-hal said:
I am new to Android app development and have been looking for tutorials on how to use touch events to move around and zoom in and out of a canvas that is seen by way of a mask/viewport. The mask/viewport would, I'm guessing, be the parent layout that has a fixed size and position. The attached .jpg shows a better diagram of what I would like to be able to do. If there are any experts out there itching to create a tutorial, this might be a good one. At least I know I would appreciate it.
Click to expand...
Click to collapse
Well you should read this class on touch events.
From what I understand you want to do, it is something like the Viewer from the Gallery App, so it might be a good idea to take a look at the sources!