May 28 | 7:20 PM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
May 28 | 7:30 PM |
Joshua C. | has entered the room |
Mark M. |
hello, Joshua!
|
Mark M. |
how can I help you today?
|
Joshua C. |
Hello, Mark.
|
Joshua C. |
Well, today I'm trying to implement a custom LayoutParams in my custom Layouts.
|
Joshua C. |
Now, as I understand, in addition to creating the class itself as a public static class in the Layout for which it is the params, I need to override 3 functions in the Layout itself...
|
Joshua C. |
generateLayoutParams, checkLayoutParams and generateDefaultLayoutParams, correct?
|
Mark M. |
:: shrug ::
|
Mark M. |
I have never implemented a custom ViewGroup that needed its own LayoutParams
|
Joshua C. |
The documentation on this subject is pitiful.
|
May 28 | 7:35 PM |
Mark M. |
this is one of the reasons why I have never implemented a custom ViewGroup that needed its own LayoutParams :-)
|
Joshua C. |
Hmm..
|
Joshua C. |
It is proving tricky indeed.
|
Joshua C. |
Oh well, figured it was worth asking. I'll keep poking around.
|
Mark M. |
sorry
|
Mark M. | |
May 28 | 7:40 PM |
Mark M. | |
May 28 | 7:50 PM |
Joshua C. | has left the room |
May 28 | 8:05 PM |
Ron T. | has entered the room |
Mark M. |
hello, Ron!
|
Mark M. |
how can I help you today?
|
Ron T. |
HI!
|
Ron T. |
We are using Studio with SVN and are having trouble 'ignoring' files/directories...
|
Ron T. |
We think that the ignores for SVN are kept in the workspace.xml, is that true?
|
Mark M. |
:: shrug ::
|
May 28 | 8:10 PM |
Mark M. |
I haven't used SVN in ~15 years
|
May 28 | 8:10 PM |
Ron T. |
What do you use?
|
Mark M. |
git
|
Mark M. |
and not using IDE integration
|
Ron T. |
Moving to git is not possible for us at present (too much to learn w/ Studio).
|
Mark M. |
understood
|
Ron T. |
Do you know what else is kept in Studio's workspace.xml?
|
Mark M. |
well, generally, it's stuff that gets synchronized from external sources, like build.gradle
|
Mark M. |
taht
|
Ron T. |
We see that it is NOT recommended to be stored in a repository but we feel it is our only shot at fixing our problem. As for build.gradle...
|
Ron T. |
We are just now implementing buildVariants and making pretty good progress although judging by the SO comments it is still a bit rough. Any tips from you?
|
Mark M. |
well, since Studio is built on IntelliJ IDEA, and since I doubt they have done much, if anything, special for SVN in Studio, I'd see what the SVN/IDEA recommendations are
|
Mark M. |
I'm not sure what you're looking for tips on, specifically
|
Mark M. |
from my vantage point, build types and product flavors are easy enough, until you start getting into trying to do lots of custom tasks with them
|
Mark M. |
and I haven't had a need for flavor dimensions yet, so that might add some complexity that I haven't encountered
|
Ron T. |
Is seems that Android has made major changes in the Gradle/Groovy language in the last year or two.
|
Mark M. |
if you mean the Android plugin DSL, yes, that's a moving target
|
May 28 | 8:15 PM |
Ron T. |
We are not using dimensions at present nor are we writing our own tasks...
|
Ron T. |
Yeah, the DSL is what I'm talking about.
|
Ron T. |
As for Studio, is there any definitive documentation on what the IDEA directory holds and what the responibility of the sub directories/files are?
|
Mark M. |
for build types and product flavors, I cannot think of a substantial DSL change since 1.0 or thereabouts
|
Mark M. |
Studio itself probably does little to nothing with those files, beyond what IDEA does
|
Mark M. |
and generating them from build.gradle, etc.
|
Mark M. |
so, I'd focus on IDEA docs, for the version of IDEA that lines up with your version of Studio
|
Mark M. |
as to whether IntelliJ has docs for this, I haven't a clue
|
Mark M. |
though on the whole, they have more documentation than I'm used to from tool vendors
|
Ron T. |
Okay, that is all I have for now! Thanks for the info. Over and out!
|
Mark M. |
sorry I couldn't be of greater assistance
|
Ron T. |
No problem, I read alot of your replies on SO!
|
Ron T. | has left the room |
May 28 | 8:25 PM |
Mark M. | turned off guest access |