**** BEGIN LOGGING AT Sat Mar 24 02:59:59 2012 Mar 24 03:00:02 it looks like the green wave is filling the screen width wise Mar 24 03:00:10 at least in the screen shot it shows it filling Mar 24 03:00:15 it's the background that doesn't fill Mar 24 03:00:39 Ok, so any idea why the background isn't then? Mar 24 03:00:55 And why isn't my other ImageViews now starting at 0,0 cord then? Mar 24 03:01:01 They should be a few pixels to the left as well Mar 24 03:01:10 I haven't modified their location yet. Mar 24 03:01:41 not* not now. And actually now that I think about it those images might have a few transparent pixels around them so ignore those last messages. Mar 24 03:02:14 Yeah, so.. I suppose your screen is 480x800.. Subtract the title bar and notification bar, then you have say 740 for your content.. So the background is scaled to 740 height, and 4XX width (since it keeps aspect ratio) Mar 24 03:02:49 Thus, it doesn't match width Mar 24 03:03:19 try android:scaleType="fitXY" Mar 24 03:03:51 You should account for not knowing the screen size anyway. You don't know the screensize/aspect ratio of the user, so gotta apply the right scaletype for your case Mar 24 03:03:52 or, why not use green_wave as the background? Mar 24 03:04:10 (in the relative_layout) Mar 24 03:04:40 or whichever is the green background thing Mar 24 03:04:49 That fixed it JesusFreke Mar 24 03:05:06 What exactly does that do? Was what SimonVT just said the reason why it was freaking out? Mar 24 03:05:12 T-Dub|DlolPics: yes Mar 24 03:05:17 and that is the fix Mar 24 03:05:24 T-Dub|DlolPics: it's not freaking out. It is a cmoputer. And it only does what you tell it to. Mar 24 03:05:26 ;) Mar 24 03:05:39 Lol. Very trye HacDan. Mar 24 03:05:40 without that, it keeps the aspect ratio constant. with it, it will stretch the image to fill Mar 24 03:05:45 However the easy way out is to blame it. Mar 24 03:05:49 T-Dub|DlolPics: Look up the ScaleType class in the docs Mar 24 03:05:54 It'll explain the different types Mar 24 03:07:30 Hmm, by what the docs say why not use android:scaleType="fitStart" Mar 24 03:07:43 It says that keeps the ratio correct but still fits it to the screen? Mar 24 03:08:12 Oh nvm Mar 24 03:08:13 t least one axis (X or Y) will fit exactly Mar 24 03:08:21 at* Mar 24 03:12:36 hm, eclipse won't compile my code, it says there is an error, which is fine, except I cannot see where the error might be, how do I troubleshoot it? Mar 24 03:12:53 b0nn: check down near the bottom Mar 24 03:12:56 there's a tab called errors Mar 24 03:13:06 it should give you the error and line number if applicable Mar 24 03:13:26 ok Mar 24 03:13:34 how do I clear the old errors? Mar 24 03:13:40 those aren't old errors Mar 24 03:13:42 those are current errors Mar 24 03:13:52 100 of 263 items? Mar 24 03:13:59 possibly? Mar 24 03:14:08 and the tab is called 'Problems' my mistake Mar 24 03:14:16 Check the Console tab if it mentions any xml errors Mar 24 03:14:38 ohai Mar 24 03:14:45 a lot of 'Mat cannot be resolved to a type' Mar 24 03:14:54 Console is clear Mar 24 03:15:22 oh the problems are for other applications :| Mar 24 03:15:58 for some reason, my app is requesting the debugger... how to stop this ? Mar 24 03:16:20 give it a debugger! feed it! Mar 24 03:18:21 HacDan: seriously, I nerver had this behaviour before Mar 24 03:19:03 maxagaz: sounds like your running w/ a debug option. Are you using eclipse by chance? Mar 24 03:19:30 HacDan: yes... seems I have to reboot the phone to fix it Mar 24 03:19:40 use the run option, or.... just get rid of the debug break points Mar 24 03:19:56 wait so you're debugging it, and wondering why it wants to talk to the debugger? Mar 24 03:20:09 Description Resource Path Location Type Mar 24 03:20:10 Error generating final archive: Debug Certificate expired on 22/02/12 6:20 PM Egg Timer Unknown Android Packaging Problem Mar 24 03:20:17 oops Mar 24 03:20:37 indeed, rebooting the phone solved it Mar 24 03:23:06 heh mv ~/.android/debug.keystore ~/ fixed that, and it's compiled :) Mar 24 03:24:00 b0nn: that's actually a know problem, or at least it was. I still run into it, but my build tools are a bit outdated Mar 24 03:29:54 Is android:paddingBottom for example the only way to "move" or place an ImageView where ever you want? I would much rather use layout_paddingBottom or something, but it isn't letting me. Mar 24 03:30:30 And it appears that when I create padding it isn't actually moving my imageView, it's just making it smaller, its squishing in blank pixels and resizing my image Mar 24 03:32:32 Oh I see because I'm doing dp for the width, so it thinks I don't want to go beyond those pixels. That's cool but annoying. Mar 24 03:33:45 height* but w\e Mar 24 03:49:20 so, my code http://pastebin.com/xsvDnLRf I want the text in the textview to be updated when I click a button. The textview is updated when the app loads (ie. it is 00:00:00 in the code but once the app loads it is 'Hi') BUT not after that Mar 24 03:49:39 ie. the button clicks are having no effect Mar 24 03:51:47 and how are you registering the onclick method Mar 24 03:54:59 If you are going to just "create" the onClick method you must add a listener Mar 24 03:55:10 aka, either do button.setOnClickListener Mar 24 03:55:16 yeah, sorry, the example code I HAD DIDN'T MAKE THAT CLEAR Mar 24 03:55:35 Or by the way you have it currently, do implements Mar 24 03:55:40 I sometimes have BEEN KNOWN to have trouble CONTROLLING the volume OF MY VOICE Mar 24 03:55:43 I think implements View.OnClickListener? Mar 24 03:55:45 in the XML file for the button properties add android:onClick="onClick" Mar 24 03:55:46 implements means do it once, right? Mar 24 03:56:02 Yeah Mar 24 03:56:08 ok, I'm getting a bit confused Mar 24 03:56:09 rdonx can you explain yours Mar 24 03:56:17 ^ Mar 24 03:56:22 I'm new and I would like to know more about setting it up in the xml :o Mar 24 03:56:46 does that just mean "onclick as in the listener do "this method" " Mar 24 03:57:16 yes Mar 24 03:57:25 So like if you did android:onClick="sup", any time the onclick listener sees a click it will do the method public void test(){ Mar 24 03:57:54 no, it'd do public void sup(View view) Mar 24 03:58:08 oh crap I did put test haha Mar 24 03:58:13 and forgot it passes a view Mar 24 03:58:15 but I ment that Mar 24 03:58:25 Awesome, didn't know that Mar 24 03:58:25 b0nn Mar 24 03:58:28 Open up R.layout.main Mar 24 03:58:41 /res/layout/main.xml Mar 24 03:58:48 in the main.xml I put Mar 24 03:59:09