**** BEGIN LOGGING AT Thu Mar 15 02:59:58 2012 Mar 15 03:08:44 JesusFreke: forgive me if i'm pestering.. i'm assuming you're pretty knowledgeable re dalvik assembly. i'm looking thru the function (a dfs search) that's causing the stack overflow i'm getting and not seeing any glaring errors and wondering if it'd be a feasible proguard-style defense technique to string together a control flow that'd break a graph builder Mar 15 03:09:59 maybe it's just a really really large function? Mar 15 03:10:32 that sounds possible, but I'm not sure about feasible Mar 15 03:11:07 have you tried increasing the stack size? Mar 15 03:11:46 also, take a look the arguments to the recursive function. does it look like it's in a loop? Mar 15 03:12:16 :) Mar 15 03:21:23 I'll look at other things tophyr cheers Mar 15 03:22:57 hey Mar 15 03:23:18 How can I get my app to print to the eclipse console when I'm running it in debug mode? Mar 15 03:24:13 ლ(ಠ益ಠლ) Mar 15 03:24:47 Can nobody help me? Mar 15 03:24:48 :C Mar 15 03:24:52 benzrf, Log.v("MyApp","Print to LogCat"); Mar 15 03:24:59 :3 Mar 15 03:25:01 THANK you Mar 15 03:25:02 :D Mar 15 03:25:11 benzrf, make sure you look at LogCat, not Eclipse Console view Mar 15 03:25:21 Where is LogCat Mar 15 03:25:23 -_-; Mar 15 03:25:35 ddms perspective Mar 15 03:25:38 or add the view Mar 15 03:25:50 um Mar 15 03:25:52 ddms? Mar 15 03:25:53 :p Mar 15 03:26:04 oh, logcat Mar 15 03:26:06 alright Mar 15 03:26:09 thank you very much! Mar 15 03:26:10 :D Mar 15 03:26:26 Have Fun, bud..., nvm he left Mar 15 03:26:51 JesusFreke: that's kinda my thought. i'm currently getting everything i need to build the proj myself so i can add some logging stuff to the func so i can tell if it's bugged or if it's parsing through a function that's legitimately that big Mar 15 03:27:08 i set stack size to 1m and it still did it.. suppose i could try something ridic like 50m stack size Mar 15 03:27:19 is it possible these days to ship a 700 MB app? Mar 15 03:27:23 tophyr: quick check: run it through smali and see if it's huge or anything Mar 15 03:27:43 TheBunny: the apk itself can only be 50MB. but you can have OBBs that are up to.. 2GB? iirc Mar 15 03:27:48 prob is i don't know which function is causing the failure Mar 15 03:27:52 ah Mar 15 03:28:01 nevermind then :) Mar 15 03:28:25 ok I was not sure the extra data could go that high.. Mar 15 03:29:04 what's 0BB? Mar 15 03:29:07 OBB rather Mar 15 03:29:11 Can most stores serve that extra data or does the app maker need to arrange a private server of some kind? Mar 15 03:29:47 "Opaque Binary Blobs (OBBs)." Mar 15 03:29:54 TheBunny: http://android-developers.blogspot.com/2012/03/android-apps-break-50mb-barrier.html Mar 15 03:30:02 2 OBBs up to 2GB each Mar 15 03:30:58 I remember the news. Mar 15 03:31:33 what happens on say the amazon store? Mar 15 03:31:53 JesusFreke: heyyyy, stack size of 50mb did it. guess it really was a legit func Mar 15 03:32:12 TheBunny: OBBs are specific to android market Mar 15 03:32:18 someone wants to port an OLD CD rom game to android Mar 15 03:32:31 which is why im asking the current state of all this Mar 15 03:32:35 tophyr: ha Mar 15 03:32:42 the old data is almost 700MB on ios Mar 15 03:32:54 well 1 CD rom worth ;) Mar 15 03:33:03 yeah, sounds like OBB would be the way to go Mar 15 03:33:21 what about older systems or like the amazon FIRE etc? Mar 15 03:33:29 no options there at all? Mar 15 03:33:46 third party server? Mar 15 03:34:11 private? or are there companies that provide this? Mar 15 03:34:20 or can iyt just be a a web server? Mar 15 03:34:33 web server is what i'd do Mar 15 03:35:21 not as "simple" a solution as the market OBBs obv, but it'd do Mar 15 03:36:38 OBB are just sexy! Mar 15 03:36:43 about time Mar 15 03:39:30 Thanks all :) Mar 15 03:40:12 Oh the idea is to port 7th guest over Mar 15 03:40:28 its been forward ported to Mac OSX and now iphone and ipad Mar 15 04:13:32 Is there any way to fix the width and height of buttons (i don't want them to stretch when the layout width changes Mar 15 04:20:57 bluezone, wrap_content Mar 15 04:21:12 pfn: oh good idea Mar 15 04:30:24 yo pfn Mar 15 04:30:27 wrap_content Mar 15 04:32:09 anyone good with SimpleXML? Mar 15 04:32:15 been stuck for 4 hrs on this damn thing Mar 15 04:32:47 canadiancow, what Mar 15 04:32:51 Gaz`, use something not simplexml? Mar 15 04:32:56 like what everyone else uses Mar 15 04:33:01 dom, sax, or whatever is popular Mar 15 04:33:53 json Mar 15 04:34:36 mostof the proj is done using this tho Mar 15 04:34:39 seems silly to swap Mar 15 04:38:17 oh finally got done localizing to spanish Mar 15 04:38:20 fuck that sucked Mar 15 04:39:57 nice Mar 15 04:40:02 cant wait to get this working Mar 15 04:40:07 extremely simple xml defeatign me Mar 15 04:40:13 because "Simple XML" is not simple at all Mar 15 04:41:06 QubeZ: isn't it simple? don't you just have to have the ability to mark everything as "mañana"? :) Mar 15 04:41:14 Leeds: hehe Mar 15 04:41:28 lucky for me, my wife in half venezuelan Mar 15 04:41:36 she actually jus went through my strings.xml hehe Mar 15 04:42:12 yeah, I got my gf to translate my main app to Chinese Mar 15 04:46:45 * Gaz` screams in agony Mar 15 04:47:10 might have to make my first post on stackoverflow Mar 15 04:47:14 or kill myself Mar 15 04:57:40 Gaz, just use regular expressions Mar 15 05:00:08 this will work im just missing somethign simple, ive parsed like 20 other xml streams using this same lib Mar 15 05:00:12 its just weird Mar 15 05:08:24 do tags honor spaces? like Yo ? Mar 15 05:08:52 I think so Mar 15 05:32:28 QubeZ yes Mar 15 05:32:53 oh thank goodness Mar 15 06:55:04 How can I set a custom Drawable class as the action bar tab selector? Mar 15 06:55:18 without walking the window's tree to get at the Views Mar 15 06:56:26 is there any way to specify a class in a drawable XML somehow? Mar 15 06:57:06 I don't sure if its your need, find this view by context.getWindowManager().getDecorView() Mar 15 06:57:21 then .findViewById() is it works maybe? Mar 15 06:57:37 yeah i'd prefer to not walk the view tree though Mar 15 06:59:36 oh I think I know what you want Maybe you want : Drawable target = context.getResources().getDrawable(R.drawable.target);? Mar 15 07:00:09 I don't sure if I have correct spelling, I have no IDE right now Mar 15 07:04:03 it's a shame you can't create aliased resources by specifying a fully-qualified class name to a drawable Mar 15 07:09:27 Do you guys just discuss about android development or someone can help me solving a doubt? Mar 15 07:10:39 if you ask intelligently we will likely help Mar 15 07:10:47 we're not big on hand holding Mar 15 07:14:17 I don't understand how android knows what layout to use. If I create new .xml on the /layout folder and not specify R.layout.main, It uses the first on the alphabetical order .xml? Mar 15 07:14:47 it won't use any Mar 15 07:14:51 you have to call setContentView Mar 15 07:15:36 but thats the strange part! I didn't called anything... Still It is using file.xml Mar 15 07:16:19 I commented the part "setContentView(R.layout.main); Mar 15 07:16:50 and It is using file.xml as layout Mar 15 07:17:04 since /layout only has 2 items (file.xml and main.xml) Mar 15 07:17:24 I guess it uses the first in alphabetical order, I'll test if other .xml Mar 15 07:17:45 you'll know when you change something in file.xml won't you Mar 15 07:18:04 it only uses what you put in setContentVIew Mar 15 07:18:18 maybe you edited wrong .java? just guess Mar 15 07:18:20 recompile your project and you'll see that the activity is blank Mar 15 07:18:57 Still seeing file.xml layout Mar 15 07:19:21 and tried to find for setContentView on the main class, no results Mar 15 07:19:31 try project->cleanup? Mar 15 07:19:36 It is calling file.xml layout for somereason Mar 15 07:19:48 Ok, I'll try, brb with the feedback Mar 15 07:19:59 is there anything like ".inflate" or "LayoutInflater" ? Mar 15 07:21:25 Oh man... sorry, I guess that is the reason, I'm using an Inflater, that's right... Sorry for bothering you two. :( Mar 15 07:21:34 pffff Mar 15 07:22:10 I'll read the reference for everyclass I'm using for not bother people anymore. Mar 15 07:22:15 Thanks for the patient! Mar 15 08:04:16 Man, ACRA is fantastic Mar 15 08:11:59 +1 Mar 15 08:20:20 is there any layout behavior that is somewhat like a float:left; of HTML/CSS? Mar 15 08:20:46 (dynamic width of a table, changing the number of columns of sort) Mar 15 08:20:49 anyone use screen here? Mar 15 08:21:57 a long time ago Mar 15 08:22:54 what do you mean, a long time ago? what replaced it? Mar 15 08:22:56 screen as in the terminal multiplexer? Mar 15 08:23:09 yeah Mar 15 08:23:13 every day Mar 15 08:23:19 that awesome thing that i just discovered Mar 15 08:23:20 XD Mar 15 08:23:35 a long time ago, as i've not had need recently Mar 15 08:23:45 I've been using it daily for several years Mar 15 08:24:21 float:left? Mar 15 08:24:39 maybe trying android:layout_alignxxx or gravity Mar 15 08:25:46 Leeds, does the "reset" command actually clear all your previous output in the terminal (with screen) ? Mar 15 08:26:13 yup, it appears to Mar 15 08:26:53 mine just adds blank space...same when i open a new terminal window, lots of blank space before the prompt Mar 15 08:27:06 well, it clears the 'screen' - the content is still there in the scrollback buffer Mar 15 08:27:40 but reset is supposed to clear the scrollback buffer too, otherwise what's the difference b/w clear and reset Mar 15 08:28:01 reset should also clear terminal settings, I think Mar 15 08:28:09 hmm, this isn't #screen :) Mar 15 08:28:21 lol yes Mar 15 08:35:53 Hey, if I'm making multiple widgets, how can I make them all show up together when you go to select widget Mar 15 08:36:47 Like for example it says Music (2 Widgets) and then on click it opens a new menu to pick Mar 15 08:45:22 does anybody know where to read about how to use scala for android applications? Mar 15 08:46:51 Just in general? Mar 15 08:46:59 or how to tutorial? Mar 15 08:47:07 either Mar 15 08:47:16 https://www.google.com/webhp?sourceid=chrome-instant&ie=UTF-8&ion=1#hl=en&safe=off&output=search&sclient=psy-ab&q=android%20scala&oq=&aq=&aqi=&aql=&gs_sm=&gs_upl=&gs_l=&pbx=1&fp=8229844274f67c87&ion=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&biw=1920&bih=1019 Mar 15 08:58:41 damnit.. the completion stopped working in android xml layout files Mar 15 08:58:43 in eclipse Mar 15 08:58:45 i wonder what's up Mar 15 08:59:06 restart eclipse :-P Mar 15 08:59:25 hrmpf Mar 15 08:59:38 that was it Mar 15 08:59:39 gnah Mar 15 08:59:40 :D Mar 15 08:59:42 thanks Mar 15 09:02:14 Mikellip: know anything about widgets? Mar 15 09:02:49 I'f im making an app that has multiple widgets, how can i make them all show up grouped in the widget selector? Mar 15 09:04:08 Hey guys Mar 15 09:05:16 hmm, what's the canonical way of creating a button using a drawable selector and place text on top of it? Mar 15 09:05:18 I'm trying to switch between views. I'm calling removeAllViews() and then addView(), but what I get is the two views on top of each other... any ideas what I'm doing wrong? Mar 15 09:10:24 sasson perhaps you're calling removeAllViews on some inner view? Hard to tell without code Mar 15 09:11:36 It seems that my app does not load /res/layout-large (ie Galaxy Nexus still get the normal layout). Is there anything else I need to do=? Mar 15 09:12:14 I'm calling the removeAllViews from the view class variable, same variable I'm adding the other view to Mar 15 09:16:04 maybe you should use .bringToFront() (sic) instead of removeAllView then addView? Mar 15 09:16:49 or considering using viewswitcher(or what…. i can't type it correctly) Mar 15 09:29:36 aspic: do you have (x)large-screen / anyDensity support in android-manifest? Mar 15 09:29:54 anyone here who can shed some light on my android adk best practices question? http://stackoverflow.com/q/9615635/320057 Mar 15 09:30:08 iivvoo: ah, dont think so. Mar 15 09:30:10 basically I'd like to know if it really is as cumbersome as described there :) Mar 15 09:33:40 iivvoo: doesnt seem to make a difference, I added support-screens (and -largeScreens="true") in the manifest. Mar 15 09:34:17 wouldn't know then, sorry Mar 15 09:39:11 for some reason every time I run in debug mode it seems like I have a break point in DexFile.class (which I never added), any one knows why it happens and how to remove it (there is no breack point viewable, but the running stops in DexFile.class until I press Play again) Mar 15 09:41:04 sasson clear all breakpoints? Mar 15 09:42:39 how stupid of me ! Mar 15 09:55:57 When a certain fragment is displayed I'd like to remove the back-stack (using several fragments for the purpose of logging in, when displaying one of these fragments, I add it to the backstack..) once logged in, the backstack should be cleared.. but when I do fragmentManager.popBackStack(null, FragmentManager.POP_BACK_STACK_INCLUSIVE), onCreateView of the fragment in the backstack is still executed Mar 15 09:56:03 and also, displayed.. when it shouldn't be Mar 15 09:57:48 iivvoo: you can do adb via ip for debugging Mar 15 09:58:10 dark-side interesting. is that documented somewhere? Mar 15 09:58:26 (I should probably google that :) Mar 15 09:58:32 yes, yes you should Mar 15 09:59:31 hi Mar 15 09:59:34 is there a way to know in which screen mode my AVD is running? (ldpi,mdpi,...) ? i have several icons in different directories and want to know where it's taking them from Mar 15 10:00:02 iivvoo: essentially 3 is correct but without the remote debugging in it Mar 15 10:09:45 any ideas how I can clear the view which is displayed? Mar 15 10:14:06 hmm, i have inherited Button so i can set our own ttf font in it: http://pastesite.com/32863 Mar 15 10:14:13 and we use it in a layout like this: Mar 15 10:14:40 http://pastesite.com/32864 Mar 15 10:14:53 but it seems when onClick is set it doesn't react at all to clicks any more Mar 15 10:14:57 not even a state change Mar 15 10:18:30 that's extending a TextView... not a Button Mar 15 10:18:35 i haven't found a way to reference the ttf from the xml yet.. otherwise we wouldn't have to subclass the button Mar 15 10:18:44 alowaniak: oh, copy and paste bug :D Mar 15 10:18:45 thanks Mar 15 10:18:47 good eyes Mar 15 10:19:02 xD Mar 15 10:19:09 we had done the same for TextViews before ;D Mar 15 10:19:41 doesn't a textview and button show up completely diff though? :p Mar 15 10:20:02 it seems no :D Mar 15 10:20:06 lol Mar 15 10:20:09 ah yes one difference: Mar 15 10:20:14 no selected and focussed states Mar 15 10:20:18 hmk Mar 15 10:20:18 that's why we didn't see it :D Mar 15 10:21:13 hello Mar 15 10:21:23 So i have this image of some pixel hearts that needs to stretch across 4 cells of homescreen widget. do I just create 4 copys based off dpi? Mar 15 10:21:37 Where Android apps keep their data? I don't mean .apk files, I mean for example notes, or save files in games, etc. Mar 15 10:23:12 Nevermind... :-) I found specific place used by this app Mar 15 10:23:15 data/package/ or something i think? Mar 15 10:27:30 alowaniak: usually its /Android/data// Mar 15 10:31:19 is there a seperate channel for zxing questions? Mar 15 10:56:18 Hey Mar 15 10:56:49 hi Mar 15 11:36:43 how do i lose focus on an edittext to make the bloody keyboard go away when i kill my fragment? Mar 15 11:40:01 As far as I can tell from looking around on stackoverflow, looks like you need to give something else focus to do that Mar 15 11:40:08 Some more info here: http://stackoverflow.com/questions/6677969/tap-outside-edittext-to-lose-focus Mar 15 11:41:28 how odd Mar 15 11:41:50 yeah, it's not a problem i've had before as I've not really needed to do that, but seems strange there is no easy way Mar 15 11:42:15 just some kind of edittext.setFocus(false) would be nice Mar 15 11:42:40 i know right Mar 15 11:43:56 I think this one is what you might want though: Mar 15 11:44:00 InputMethodManager imm = (InputMethodManager) view.getContext() Mar 15 11:44:00 .getSystemService(Context.INPUT_METHOD_SERVICE); Mar 15 11:44:00 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); Mar 15 11:44:15 I haven't tested it, but seems to shown working on stackoverflow Mar 15 11:45:43 yeah i'm doing that, doesn't seem to be working Mar 15 11:46:26 hmm Mar 15 11:46:33 Sorry, wish I could help then. I'm stumped too Mar 15 11:46:55 Curios... I might have a play around with it myself, but can't promise anything Mar 15 11:47:31 there's no way to show/hide the keyboard yourself easily? Mar 15 11:47:46 doesn't seem like it Mar 15 11:47:48 weird Mar 15 11:53:26 Testing something now, will let you know if it works Mar 15 11:54:32 seems to... Mar 15 11:54:49 let me send you a zip Mar 15 11:54:50 one mo Mar 15 11:55:27 dw about it Mar 15 11:55:33 i think it's my viewpager that is the problem Mar 15 11:55:37 not the keyboard Mar 15 11:55:50 NutterzUK: Please share the solution/pointers to the solution to the rest of us. Mar 15 11:55:58 will do Mar 15 11:56:45 NutterzUK: preKudos. :) Mar 15 11:56:50 www.nutterzuk.com/android/TextEditTest.zip Mar 15 11:56:54 I hope this is what you mean Mar 15 11:58:12 so i'm confused, with a viewpager + fragment adapter, you need to do your own tidying up afterwards right? otherwise the fragments are never removed from memory? Mar 15 11:58:50 I have no experience with viewpagers / fragments sorry :( Mar 15 11:59:14 :( Mar 15 11:59:56 After what? Mar 15 12:00:53 when you're finished with it Mar 15 12:01:18 seems like the fragments i'm loading are never getting destroyed Mar 15 12:01:39 Usually the viewpagers are there for the lifetime of the activity Mar 15 12:02:54 not in my case Mar 15 12:03:36 Well yeah, if you just randomly remove it, you probably have to clean them up. Else they'll be there until the activity is destroyed Mar 15 12:04:02 any tips on this Mar 15 12:04:07 /home/eclipser/android-ndk-r7b/platforms/android-8/arch-arm/usr/include/sys/prctl.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' Mar 15 12:04:16 it's just weird.. Mar 15 12:04:25 fair enough Mar 15 12:04:32 i'm using the viewpager in a fragment Mar 15 12:05:33 Fragments in fragments? yo dawg :p Mar 15 12:06:22 i know right :/ Mar 15 12:07:25 there are a lot of things wrong with this application and the thought process behind it Mar 15 12:07:28 this is just one of them Mar 15 12:09:03 hi Mar 15 12:09:35 anuron: Hey Mar 15 12:11:17 I'm currently trying to customize ExpandableListView a bit, which means i want to place the group indicator myself, but the drawable (com.android.internal.R.styleable.ExpandableListView_groupIndicator) is in an internal package, is there any way of getting this obviously theme dependant drawable? Mar 15 12:15:24 anuron: I do it like this: http://pastebin.com/DeQYg419 Mar 15 12:16:26 dunno if that is the best way Mar 15 12:16:45 that gives me a indicator but its of very poor quality Mar 15 12:16:53 i do really fucking hate fragments sometimes Mar 15 12:17:26 hrnt: thats working fine for you? Mar 15 12:17:34 yes Mar 15 12:19:51 storkme: Just gotta use them right :p Mar 15 12:22:44 hrnt: how do you size it in your .xml? Mar 15 12:29:00 or use hem wrong and bitch about them acting weirdly Mar 15 12:29:11 anuron: i use wrap_content for width/height Mar 15 12:29:39 mhm thats working fine Mar 15 12:29:51 thanks for the tip Mar 15 12:33:34 Ugh, this one should be simple enough but I can't get it to work. I'm using strings.xml to store various URL's to RSS-feeds. Mar 15 12:34:02 These URL's contain ampersands (&) and I've escaped them with & where needed. Mar 15 12:34:59 Problem: When feeding these URL's to Url url = new Url(myFunkyUrl), all the information after the first & is truncated/deleted/removed. Mar 15 12:35:24 drlaban: you don't escape URL ampersands with & Mar 15 12:36:15 drlaban: use URLEncoder, don't try to reinvent the wheel Mar 15 12:36:17 hrnt: How do I go about this? If I remove & from the xml, Eclipse gets mad at me. Mar 15 12:36:36 so i have a fragment with a viewpager and two subfragments in it, when i add this parent fragment to the view it initializes the two sub fragments and all is well. then i remove it from the view, and it's killed, but the two sub fragments remain alive - so when i re-add the parent fragment to the view everything just fucks up Mar 15 12:36:37 you need to do both Mar 15 12:37:12 drlaban: actually, can you give us an example URL Mar 15 12:37:43 hrnt: Alright, keep the & in the XML and use URLEncoder in the java class where I want to read from a URL? (Example coming in a bit) Mar 15 12:37:57 well, it depends on where you have the ampersand in the URL :) Mar 15 12:38:10 if you store the query parameters in the XML, then you don't need to URL encode them Mar 15 12:38:13 hrnt: I'll go and do some pastebin wizardry Mar 15 12:38:29 on the other hand, if those ampersands are not meant for query parameters, then you do need to URL encode Mar 15 12:42:51 hrnt: http://pastebin.com/EHUqsJsT Mar 15 12:44:54 drlaban: ok, you shouldn't URL encode that Mar 15 12:46:13 hrnt: This is bloody weird... I'll do some more extensive testing and see what all this is coming to. Mar 15 12:46:23 hrnt: Thanks for the helping hand. Mar 15 12:53:26 how can I refresh a layout? Mar 15 12:53:42 (like when holding phone horizontal and vertical) Mar 15 12:56:08 so why aren't fragments supported in a viewpager in a fragment? seems like it's a fairly useful thing to be able to do Mar 15 12:56:24 sasson: that should happen automatically in android Mar 15 12:56:36 sasson: you can create a separate layout for portrait and landscape Mar 15 12:58:33 hrnt, what happens is that I try to switch views, (removeAllViews then addView) and I have both views sitting on top of each other. but when I flip the phone horizontal it cleans and only the currect view stays... I'm guessing it's refreshing somehow, now I want to do that without the horizontal/vertical thing... Mar 15 12:59:21 sasson: the default behaviour in android is that your activity is killed when the orientation changes Mar 15 12:59:38 and then created again Mar 15 12:59:57 you are not saving and restoring the state on orientation change Mar 15 13:07:01 hrm Mar 15 13:07:13 I can't delete things inside /sdcard/Android/data/ Mar 15 13:07:17 (on my Galaxy Nexus) Mar 15 13:07:26 I clearly remember being able to do that on my old HTC Desire Mar 15 13:07:33 * lut4rp has root access Mar 15 13:07:37 Pointers? Mar 15 13:12:44 http://blogs.msdn.com/b/jw_on_tech/archive/2012/03/13/why-i-left-google.aspx Mar 15 13:13:00 <`z> "why i left goldman sachs" Mar 15 13:15:53 "why I left the chocolate factory" Mar 15 13:16:10 who's that Mar 15 13:16:31 o. loompa Mar 15 13:16:47 <`z> "why I left the milky way" Mar 15 13:28:57 hmm, interesting i have an include in my xml and in that included xml file there's a relativelayout with an id.. Mar 15 13:30:05 tapas: yep Mar 15 13:30:13 pretty nifty, right Mar 15 13:30:32 so i get the view of the include and then do a findVewById of the relative layout Mar 15 13:30:43 nope Mar 15 13:30:47 registering a onClickListener on that fails with a null pointer exception :D Mar 15 13:30:52 the include merges the layout for you, you can pretend the include isn't there Mar 15 13:30:58 hmm Mar 15 13:31:06 just like a c/c++ #include Mar 15 13:31:13 but it's given an id.. Mar 15 13:31:18 it doesn't need one, though Mar 15 13:31:26 http://www.curious-creature.org/2009/02/25/android-layout-trick-2-include-to-reuse/ Mar 15 13:31:32 maybe you can use it Mar 15 13:31:35 I don't, personally Mar 15 13:31:39 well, the thing is i have several of these Mar 15 13:31:45 taking a look Mar 15 13:31:46 is there an easy way to change a checkbox's check color? Mar 15 13:32:26 i know there's a setButtonDrawable, but I would rather have a setCheckColor or something easy like that tbh Mar 15 13:32:38 hi.. i can no longer click on my arrayadapter.. after ive put: style="@style/list_item_wh to its textview layout.. Mar 15 13:32:52 tapas: ah, i guess the id there overrides the id of the root view.. I hadn't been using this feature though. I just used the root view id Mar 15 13:33:06 it wont react to clicks no more..the arrayadapter..or the list..both?.. Mar 15 13:33:08 alowaniak: Have to set new drawables Mar 15 13:33:29 so how does that work exactly? (not too sure on how drawables work etc) Mar 15 13:33:37 do i have to make an image of the checkmark? Mar 15 13:34:20 The checkbox graphics is just a statelistdrawable defined in xml Mar 15 13:34:29 If you want to change how it looks, define your own statelistdrawable Mar 15 13:35:11 readme: yeah.. that was the reason for the layout in the included file to be not found Mar 15 13:35:53 k, thnx SimonVT you happen to know where i can find that default xml? Mar 15 13:37:01 its fine though, because you can just use the id from the include to reference it Mar 15 13:37:19 Look in the framework drawables Mar 15 13:37:24 It's called somthing with "check" iirc Mar 15 13:40:15 ah think i got it, thnx SimonVT Mar 15 13:45:49 Is there a way to start Settings with a particular Fragment in 3.0+ Mar 15 13:46:44 Also, is there a way to detect which subkeys (back, home, search, etc.) are available on a device? Mar 15 13:50:23 hi.. i can no longer click on my arrayadapter.. after ive put: style="@style/list_item_wh to its textview layout.. Mar 15 13:50:37 any ideas? ive read this is a common problem.. Mar 15 13:58:56 bestKoderEver: so you have a custom layout you are inflating in the listview and you are applying a style to a textview in that layout? Mar 15 14:03:35 mostModestKoderEver: what is the style declaration? Mar 15 14:07:25 VJTachyon correct! Mar 15 14:09:08 VJTachyon and then, when the listitem is clicked on, a style event happens instead, like change listitem color, but i also want to fire up the: listview.setOnItemClickListener Mar 15 14:09:36 which will start a new intent.. Mar 15 14:10:45 Hey VJTachyon, how's it going? Mar 15 14:11:19 Dark-Side: yo Mar 15 14:11:46 <`z> yo Mar 15 14:12:16 Hi all , I want to set gesture listener for a set of views.. The problem is , How can I differentiate the view which got the actual gesture? There is no "View" item in the gesture detection callbacks :( Mar 15 14:12:18 sorry i missed your pm the other day Mar 15 14:12:46 sha1sum style="@style/list_item_wh"/> Mar 15 14:13:49 must one extend ListView if one need it to be clickable with a style in it..? Mar 15 14:17:27 nope Mar 15 14:18:08 bestKoderEver: have you set the parent for your style? Mar 15 14:18:22 hey there, i need some help on my application, especially about a code designing problem. I have a main activity with 2 fragment. one on the left for the menu which switches between other fragments (differente menus that i add to backstack) and a viewfragment that is supposed to be a fragment displaying exercices and stuff but i don't know if i can work like i do for the left part. Like Mar 15 14:18:22 using fragmenttransaction.replace() method Mar 15 14:19:23 SimonVT: I used the default theme, Holo and DeviceDefault to cover all Android devices in To Do Mapr. Thanks for the feedback yesterday. Mar 15 14:19:33 :) Mar 15 14:20:02 Dark-Side