« first day (1524 days earlier)      last day (3407 days later) » 
00:00 - 16:0016:00 - 00:00

12:00 AM
unless I can remove the linearLayout and make that the search bar?
Like right now its <LinearLayout><EditText></EditText><LinearLayout>, so can I do <SearchBar><EditText></EditText>< SearchBar >,
 
Menu.add(MenuItem m where m's constructor is something along the lines of LinearLayout l = new LinearLayout(Context c), this.addView(l)
Sounds good.
 
Ok, I got the reference and added it to the search bar, all good so far, (just text though)
 
Big step!
 
IT WORKS
searchItem.setActionView(searchBar);, and in onCreate I initiate the searchBar
and it looks correct! WOOOO.. Thanks Alex:D
 
why did I lose 1 rep point for down voting an answer?
 
12:06 AM
because you lose rep for downvoting answers?
 
I dislike that:P
 
Down voting questions costs 0 rep, Down voting answers costs 1
 
oh.. lol
 
hmm
 
@Maximilian Brilliant! Glad to hear it!
 
12:08 AM
so if I were greedy I'd leave a stupid answer floating around just to keep my points?
 
Ok be bad later, gotta go to school and get dinner
 
Have fun bro.
 
the system is flawed
 
@Guilherme I didn't know that about losing points. Why can't you downvote a crappy answer?
Crappy answers deserve it, damnit.
 
I can, but I will loose a point
 
12:10 AM
Why even offer the downvote?
 
I am doing my duty, down voting stupid answers. I should be rewarded instead.
 
I mean, if it's just going to lose rep... Why take incentive from improving a thread?
 
exactly
 
Just get some really nice negative score, @Guilherme. Be a martyr.
 
o/ Good day android programmers
 
12:13 AM
good night
 
o/ Good night
 
night guil
 
I'm not leaving (yet)
 
I guess Cjames' greeting was ambiguous
 
it always is
half of the earth will always be day, while the other half is night
 
except for tatooine
 
that's how we should enter android chat
 
android cat*
>:)
 
lol
 
now I'm leaving. bye o/
 
12:28 AM
o/
 
interesting
 
12:45 AM
Oh wow, his password. What a find!
 
Now I'm reading it...
 
It's all gibberish to me until he gets to the code.
 
Their function names are camel cased, nice. All php dudes should follow that
 
Well it depends on their naming conventions I guess
 
I know
 
12:51 AM
every single damn function and variable should be camelcase. Starting with a Capital should be reserved for Classes and Java every language should strictly enforce that.
other than constants of course
 
php should use camel case too
 
1:05 AM
'sup, peeps?
Everything should use camelCase
 
cM shows up and SO chat goes down for 30 seconds
it must hate him
 
fuck it...I hate chat too
 
Night everyone! Except cM, I hate that guy.
 
Night. Stop hating yo
 
Who doesn't hate him?
 
1:13 AM
even codeMagics name is camel case
dedication
 
fo sho!
 
damn represent!
 
That wasn't a happy accident ;)
I even camelCase all of my work email messages
I don't really but that would be funny to do sometime
 
Ah, that's what it's called. I totally forgot.
 
1:26 AM
Im at the school
 
hm?
 
Cow
 
Sooo...working from home tomorrow then one more day and I'm on vacation for 2 weeks
<-- excited
 
1:43 AM
Me too!!!
2 weeks
 
Why would you vacation?
Aint nobody got time for that
 
gotta stay strong until friday
I have the times
 
I don't like vacationing
although i work on my own stuff not a job for someone
 
Gonna have x-mas party at the office on friday \o/
 
Also, you are 19 and in school so...you've got that going on
 
1:49 AM
How can i pass data from view to activity
 
Vacation is when I can work on my own stuff
 
In only 2 weeks?
you need more time!
 
Cjames, awesome! We apparently aren't having anything this year
 
Ive been working on this iOS app for 2 years altogether.. need to make another app soon:P
its tiring me
 
I do need more time but that gives me time to focus on some things for awhile instead of just occasionally in the evenings
 
1:51 AM
Nice
 
Working on the same app for that long will do that
 
Ok wait, is there like a thing where you can call a method in a view that can pass info to the activity?
 
Plus I have four kids so those two weeks are actually a lot less
 
Do i use a Intent for that?:P
:O Woah
I have 0 kids
they're fantastic
:P
 
Does the class extend View or it's a view in your activity?
 
1:52 AM
It extends linear layout
 
What data do you need from it? Don't you inflate that class in your Activity?
 
Nope
I initiate the class and that inflates a XML
 
I don't know what you're doing
 
And its a search bar (for web searches, like Chrome), so I already detect the Enter key, just need to pass that text to the activity so the WebView can load the page
 
You need an Intent to start an activity but you need to set a flag outside of an activity
If I understand what you're doing
 
1:59 AM
@codeMagic Yeah but I insist that instead where having our x-mas party,we should having a feeding program.
 
To feed people who need help?
 
Yeah
 
That's awesome of you!
 
But no one agrees , They want gifts and raffle prizes
 
Of course
 
2:04 AM
They'd probably just forget about the presents anyway. I think that's a really good idea.
 
Xmas parties here are becoming like halloween right @Cjames
Who started that trend should get a smack in the face
 
Yeah I guess some companies like having an X-mass theme
 
I don't get it:P
Can i make a custom listener?
 
@LawGimenez I've already emailed them
 
Replied?
 
2:14 AM
Chillax scold them hahaa
still no reply
 
Chillax who?
 
You said you gonna smack someones face
hahha
 
Yes because it's corny
 
and exhausting
exhausting to find dress to wear for the xmas party theme
 
I'm interviewing later for a company who still uses CRT tube monitors
lol wtf
 
2:23 AM
What company?
LOL
 
2:39 AM
@LawGimenez o.o
run.
 
3:37 AM
Only took a month or so for grooveshark to respond about using their api. Lol
 
CRTs are common in the developing world
But if that's Europe/USA you should run
 
o/
 
Companies with CRT monitors should change to LED's. It consumes to much electricity
 
And they are heavy
 
yeah, except if you want to throw it to your colleague's face hahaha
 
4:23 AM
Hi, Good Morning
 
4:45 AM
o/
 
 
2 hours later…
6:17 AM
\o
 
6:56 AM
I'm using Crashlytics. Do I have to export Crashlytics enabled android application ? I'm not using proguard for now.
 
Yo People!
 
o/
 
Yo Williams
 
7:38 AM
Williams - what do you mean?
 
@jlindenbaum I have one more option after integrating crashlytics in project
Export Crashlytics enabled android application
I am confused what I should use either export android app or export Crashlytics enabled android application
 
huh, i've never seen that before. This is eclipse I assume?
 
Yes
 
i'm on AS, i throw crashlytics in my gradle and export my apk, just works - sorry i'm no help with eclipse
 
ok thanks :)
 
8:06 AM
@jlindenbaum I noticed it works fine when I make a build from debug.keystore but it doesn't when I try on signed app. Do we have to do some extra things for release build ?
 
focusatwill granted me 60 days free full service - yay!
 
 
1 hour later…
9:23 AM
What is cache path of an app usually, not Data?
 
9:55 AM
\o
 
o/
 
10:24 AM
o/
 
10:44 AM
o/
that play button over there, is it a regular (Image)Button or is it a new control?
 
"image not found" for me
 
10:59 AM
 
really?
 
Seriously ?
 
Wow? is it russia?
 
Why on earth github has been blocked ?
 
github is not blocked here
 
11:00 AM
in russia, it breaks the law actually
 
did someone mess with your DNS settings?
 
believe it or not
 
I asked my Networking team, they dint do anything.
 
cygery, go to material.com, check the 2nd design
 
@SargeBorsch What law ?
 
11:08 AM
yo, I am having an issue with a textview,
http://imgur.com/pyf6DHL
 
what's wrong?
 
11:20 AM
license text is bold
and on both text views i have style = normal
 
what's your xml?
 
LL -> vertical -> RL | RL
 
no, the <TextView> obj
 
they are the same
 
and you're not changing anything programmatically?
 
11:32 AM
@TheLittleNaruto there are some "extremist" documents uploaded to Github, and russian government can't deal with it
 
Ohh I see.
 
@Guilherme found the culprit: public static void setTypeface(View view)
 
great
 
still do not understand why is he doing that from code
(got a project to maintain)
 
11:49 AM
 
user image
8
Weird Al!
 
who is that guy?
i've seen him before
 
Weird Al Yankovic?!
MUST KNOW! GOOGLE! NOW!
 
it's more interesting when other people tell me
 
11:56 AM
gotta watch it later :/
 
Warren, reminds me about another video about balls… youtu.be/8tPkoLdF_gE
 
Yesterday Pedro showed me this to implement sliding tabs, but I don't have enough tabs to fill the screen width. How can I make each tab wider to the group of tabs matches the width?
 
Let's see if this helps
on createDefaultTabView
You create a textview that is used as tab
try to change it's layout params to match parent
 
let me try
 
12:14 PM
it didn't work, using match parent makes the first tab fill the screen width
then I tried width = 0 and weigh = 1.0f, but now all the tabs have the same width and breaks the text
 
well that's what is supposed to happen right? all tabs with same width. Not sure about the text
take a screenshot please
 
I wanted they all to grow equally to fill the screen width :/
 
I'm confused. What if you change it's weight to be the number of characters they have?
That could help with "equality"
 
Try this
on populateTabStrip you have something like tabTitleView.setText right?
I've changed my code too so I don't know if you have the same
 
12:23 PM
i tried using the char count, didn't work really well
 
Oh. :\
 
I have that, what do you suggest?
 
I was about to suggest that
 
also, that would't be good for smaller devices, I thing
 
Just imagine. If you wanted to build a layout like the one you want how would you do.
Because I can't see an easy answer for that
Without calculating the space that's left on the strip
dividing by the number of views
and applying pading
 
12:26 PM
yeah..
guess I'll stick to the way they are now
 
You can check play store for example. They use it like that too. They don't fill the rest of the strip
 
yeah, you're right
 
 
1 hour later…
1:58 PM
Morning
 
o/
 
> The world's first
MMO strategy open world game for programmers
 
2:47 PM
2
 
3:02 PM
somehow I managed to create a dialog fragment, that allows to interact with activity UI BEHIND it. So when I clock dialog button - a button in activity behind gets clicked.
even more: I can't click a button in diag if there's nothing clickable behind it lol
 
Did you extends DialogFragment?
or it is a custom Fragment?
 
the first one
 
I thought DialogFragment got its own Window
I thought that was a difference with a regular Fragment
what you are seeing is normal Fragment behavior
 
this is one of the reasons I say that Fragments compare more to Views than Activities
I asked about this before
6
Q: Shouldn't there be an option for Fragments to retain click events within their view hierarchy?

EmmanuelAfter seeing a couple questions here on SO regarding Fragments "passing" their click events down to clickable Views in underlying Fragments, I recalled that I once encountered this problem. What is actually happening is that if a user clicks on a blank area of the top most Fragment, since its Vie...

 
3:11 PM
 
@DenRimus I do not think that is the way you should suppose to use DialogFragment
 
I khow it (now, after 4h of messing with code). I need to create a iOS-like (yes, once again customer wants that - this never going to end) dialog - like this: joxi.ru/1A5yWnJCbNnYAE
I bet I should've go with activity for that
 
I think you can use a DialogFragment with an AlertDialog
 
Ugh I hate those action sheets on iOS.
 
like they do here
But please do not use that nasty pattern they use that ties the Activity to the Fragment
I do not understand Google sometimes
They say that Fragments should be modular things
but they show a pattern that ties this modular thing to another thing
even using LocalBroadcastManager is better than that, IMHO
 
3:51 PM
yo ppl 0/
I am getting error in adding google play services in studio project
Error:Failed to find: com.google.android.gms:play-services:6.1.71
I did everything, don't know what the fudge is wrong.
 
try compile 'com.google.android.gms:play-services:6.5.87'
 
updated sdk
Nice hat there Guilherme
 
do you have Google repositories installed?
 
Yes
 
and Android repos?
 
3:55 PM
In SDK, i updated play services.
@Emmanuel SDK u mean?
 
you are 100% sure when you go to your SDK manager
and scroll down to the bottom
to the extras section
 
do you have this in your project's build.grade?
repositories {
jcenter()
}
 
that both Android repositories and Google repositories are installed?
 
@Emmanuel ok updating them
@Guilherme no
:(
But it downloaded joda-time.
And failing to do for play services :S
 
you probably have jcenter() on your global build.gradle
 
3:58 PM
Yes I do.
 
yes, that's why I said project, not module :p
 
I thought in build.gradle inside app.
My bad.
 
did you try restarting AS?
 
Yes.
 
00:00 - 16:0016:00 - 00:00

« first day (1524 days earlier)      last day (3407 days later) »