Apr 5 | 7:20 PM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Apr 5 | 7:30 PM |
scottt | has entered the room |
Mark M. |
hello, scottttttttt!
|
Mark M. |
how can I help you today?
|
scottt |
hello! i haven't attended in a while, but finally have a question that isn;t easy to just search-for in s/o
|
Mark M. |
go for it!
|
scottt |
so i'm doing a demo app and have a rather ambitious layout
|
scottt |
ambitious in terms of being pretty wide
|
Apr 5 | 7:35 PM |
scottt |
no big deal, just use a wXXXdp resource folder or another layout that has things a bit more vertical
|
scottt |
my question is this: what's the easiest/best way to determine XXX?
|
scottt |
i resorted to the brute force way of just making the layout and all its children wrap_content and then measuring
|
scottt |
and then dividing by the density
|
Mark M. |
I suspect more people just choose a typical value, then try it on a few environments and see if that holds up well
|
scottt |
but is there an easier way? some magic mathod such as "getMinimumRequiredDpWidth()?
|
Mark M. |
not really, because there is no definition of "minimum"
|
Mark M. |
for example, the minimum width needed for a TextView, to avoid word-wrap, would vary by locale
|
Mark M. |
and the framework doesn't know if word-wrap is fine or not
|
Mark M. |
and so on
|
Mark M. |
curiously, this will be a slight fringe benefit of the Android N freeform multi-window mode
|
Mark M. |
as we should be able to arbitrarily size windows
|
Mark M. |
and therefore can do the same thing Web developers do: play with the window size and see what feels good
|
scottt |
yeah, i was afraid of that. i never think this part through until after i have all the weights defined, etc.
|
scottt |
lol. i did something similar by defining arbitrary screen sizes for the emulator
|
Apr 5 | 7:40 PM |
scottt |
but then, i had to alos keep in mind the denisty
|
Mark M. |
I am not aware of a scientific-ish approach to the problem
|
scottt |
thanks, anyway
|
scottt |
i was considering using one of the new mini-presentations built into the APK version of the book, but ran into a snag...
|
Mark M. |
"using"?
|
scottt |
w/o an easy way to jump back 10 seconds (or the like), i don't think that would work for one of my meetups
|
Mark M. |
yeah, that's kinda difficult to do, given the fact that this isn't a simple video
|
scottt |
too often there's a minor distraction or question and it would be nice to be able to repeat the last few seconds
|
Mark M. |
clearly, you need to enact more severe punishments for distractions or questions
|
Mark M. |
:-)
|
scottt |
true. but then, it;s usually me that causes it
|
Mark M. |
the best I can offer you now is going back to the beginning of the current "scene" (slide, video, code snippet), not in-scene navigation
|
Apr 5 | 7:45 PM |
scottt |
ok. consider this a feature request. i'll just use other resources for now
|
Mark M. |
you're not the first person to ask for this, so it's on my to-do list
|
scottt |
that's all i had
|
Moe | has entered the room |
Mark M. |
OK, sounds good
|
Mark M. |
I'll swing back to you in a bit, in case you come up with another question, but for now...
|
Mark M. |
Moe: hi! welcome to the chat! how can I help you today?
|
scottt |
btw, i've decided no forgo the boston andevcon again this year, but should see you in the west coast one later in the year (assuming you're there)
|
Moe |
Hi Mark, hi Scott
|
scottt |
hello Moe, he's all yours
|
Moe |
Thanks, I wanted to ask if this is a good place to ask a question about getting a job as an Android dev?
|
Mark M. |
(scottt: I probably won't be at AnDevCon Santa Clara, but have fun!)
|
Mark M. |
um, you're welcome to ask, but I don't know how much use I'll be
|
Moe |
just general stuff, like level of competence things employers looking at nowadays, just general advice
|
Apr 5 | 7:50 PM |
Moe |
mainly about SF bay area though
|
Mark M. |
yeah, I haven't the foggiest notion of that
|
Mark M. |
and even less about the West Coast
|
Moe |
:-D
|
Mark M. |
I get the impression that they've gone past their early "if you can spell Android, you're hired" phase
|
Mark M. |
but I couldn't give you any idea of what level of depth they seek, what topic areas are hot, etc.
|
scottt |
yeah, i've noticed companie
|
scottt |
...companies being more selctive
|
Moe |
yeah, I've noticed that too
|
Moe |
well yeah, just landed an interview, just trying to be ready
|
scottt |
at one time, i would get a lot of calls with apparently guaranteed gigs just because i ran the local android developers group. now i'm finding i have to sell myself more and provide ref's, etc.
|
Mark M. |
and if you're already at the interview phase, "cramming" for Android knowledge probably won't help
|
Mark M. |
you know what you know, and either that's a good fit or it isn't
|
scottt |
i agree with mark. the android ecosystem is so very large that cramming is unlikely to help much
|
Moe |
it's gonna be a discussion about the app task I've created for them as part of the selection phase
|
Apr 5 | 7:55 PM |
Moe |
but you're saying that today there's more competition
|
Apr 5 | 7:55 PM |
scottt |
that being said, many of the interviewers dont know the topic very well, so making sure you have a solid grasp of the basics (and some past work to show) is likely enough
|
Moe |
ok
|
Moe |
salary wise I'm seeing 80 to 140, is that what you hear too?
|
scottt |
if you've gone through the beginning parts of mark's book and understand it, then you should be fine
|
Mark M. |
no clue, sorry
|
Moe |
Yeah, I know this is not this chat is meant for, but I appreciate trying to help, thanks guys
|
Moe |
will let you know in aweek
|
Mark M. |
you're very welcome, and best of luck!
|
Moe |
thanks, have a great evening
|
Mark M. |
you too!
|
scottt |
time to grill some steaks, good night.
|
Mark M. |
have fun!
|
Apr 5 | 8:10 PM |
scottt | has left the room |
Moe | has left the room |
Apr 5 | 8:30 PM |
Mark M. | turned off guest access |