andbook!.pdf - Learning Android Get an anddev.org - Android-Shirt Back to index
anddev.org Header Logo
FAQ Search Top rated articles Browse Feeds anddev.org - Authors Contact Details Register Log in

new widget - Panel

Goto page Previous  1, 2, 3, 4, 5
 
       anddev.org - Android Development Community | Android Tutorials | Index -> View, Layout & Resource Problems
Author Message
pskink
Master Developer
Master Developer


Joined: 24 Nov 2008
Posts: 334

PostPosted: Thu Jan 29, 2009 10:52 am    Post subject: Reply with quote

MrSnowflake wrote:

Oh and I believe BSD is a lot more liberal than Apache. I have never read the apache licence, but as it's a lot bigger than BSD's it can only be more strickt :). The BSD (style) licence is only a couple of lines long.


ok, changed to BSD

_________________
pskink
Back to top
View user's profile Send private message
MrSnowflake
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 1437
Location: Flanders, Belgium

PostPosted: Thu Jan 29, 2009 11:19 am    Post subject: Reply with quote

Well, I just recalled, I think MIT is even less restrictive than BSD, but it won't make a big difference. Smile.

But I DO think you need to add the licence itself to easy source file, to be sure Smile.
Back to top
View user's profile Send private message
pskink
Master Developer
Master Developer


Joined: 24 Nov 2008
Posts: 334

PostPosted: Thu Jan 29, 2009 10:48 pm    Post subject: Reply with quote

added some nice stuff including themes & custom title
_________________
pskink
Back to top
View user's profile Send private message
Emmanuel7
Senior Developer
Senior Developer


Joined: 12 Dec 2008
Posts: 161
Location: Paris

PostPosted: Fri Feb 20, 2009 1:44 am    Post subject: Reply with quote

I've just read on the Android google group that the Android home page sliding drawer will be available as a public widget in cupcake !
_________________
Emmanuel
My Android development blog : http://androidblogger.blogspot.com/
My application site : http://www.alocaly.com
Back to top
View user's profile Send private message Visit poster's website
MrSnowflake
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 1437
Location: Flanders, Belgium

PostPosted: Fri Feb 20, 2009 10:07 am    Post subject: Reply with quote

That's very good news, too bad for Pskink's effort to make the Panel. Though I think you have learned a lot Smile.
Back to top
View user's profile Send private message
pskink
Master Developer
Master Developer


Joined: 24 Nov 2008
Posts: 334

PostPosted: Fri Feb 20, 2009 12:25 pm    Post subject: Reply with quote

MrSnowflake wrote:
That's very good news, too bad for Pskink's effort to make the Panel. Though I think you have learned a lot :).


but i think SlidingDrawer doesn't have fancy interpolator stuff that Panel has ;)

_________________
pskink
Back to top
View user's profile Send private message
MrSnowflake
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 1437
Location: Flanders, Belgium

PostPosted: Fri Feb 20, 2009 2:41 pm    Post subject: Reply with quote

Probably true but you can extend the drawer and implement it yourself.
Back to top
View user's profile Send private message
avolovoy
Experienced Developer
Experienced Developer


Joined: 03 Nov 2008
Posts: 68
Location: kansas

PostPosted: Fri Feb 20, 2009 3:49 pm    Post subject: Reply with quote

pskink wrote:
MrSnowflake wrote:
That's very good news, too bad for Pskink's effort to make the Panel. Though I think you have learned a lot Smile.


but i think SlidingDrawer doesn't have fancy interpolator stuff that Panel has Wink

i've asked them - they don't even going to have an ability to attach to any place. So no good Smile

_________________
Alexey Volovoy
Bytesharp.NET
Back to top
View user's profile Send private message Visit poster's website
JustMe
Once Poster
Once Poster


Joined: 27 Nov 2009
Posts: 1

PostPosted: Fri Nov 27, 2009 11:24 pm    Post subject: How to Use Reply with quote

Can someone point me towards a tutorial or provide some sample code on how to integrate this control? I was originally trying to integrate the SlidingDrawers widget until I found out I could make a drawer going down from top to bottom...

Thanks.
Back to top
View user's profile Send private message
mad.dogg
Developer
Developer


Joined: 20 May 2008
Posts: 41
Location: Bulgaria

PostPosted: Mon Jan 25, 2010 8:07 am    Post subject: Reply with quote

pskink wrote:

.. licence is: 'do what you want' Smile ...

for exception: the check was 'stolen' from some google sources (TabHost.java IIRC) and i wanted to be consistent since they also used R.id prefix.

i'm facing minor problems with padding - hope to upload new version really soon

1) that's a really great license... I love it Smile
2) I think google encourage what you callled 'stolen' (I prefer reused). As far as I remember someone was talking about this at one of the last years's Google IO presentations.
3) tell us more about the padding issues, perhaps we(adddev comunity) can help.

Sorry, I've just seen thread's date. My bad.

_________________
If it's boring it ain't heavy enough!
Back to top
View user's profile Send private message
TheBigCheese
Junior Developer
Junior Developer


Joined: 26 Nov 2009
Posts: 21

PostPosted: Thu Feb 11, 2010 10:47 pm    Post subject: Reply with quote

I'd like to add a drawer in my application that comes down from the top, and this widget seems like it would work perfectly, however the widget uses older forms of the SDK with R.styleable.<param>. Is there any substitute for this widget, or a way to work around this?

Thanks.
Back to top
View user's profile Send private message
pskink
Master Developer
Master Developer


Joined: 24 Nov 2008
Posts: 334

PostPosted: Fri Feb 12, 2010 3:43 pm    Post subject: Reply with quote

TheBigCheese wrote:
I'd like to add a drawer in my application that comes down from the top, and this widget seems like it would work perfectly, however the widget uses older forms of the SDK with R.styleable.<param>.


what do you mean - older style?

_________________
pskink
Back to top
View user's profile Send private message
TheBigCheese
Junior Developer
Junior Developer


Joined: 26 Nov 2009
Posts: 21

PostPosted: Fri Feb 12, 2010 6:11 pm    Post subject: Reply with quote

Panel.java uses references to R.styleable.<attribute> in order to get the attributes from the xml file. R.styleable is no longer supported by the Android SDK. I managed to work around it though by just replacing the references to R.styleable with various calls to get the attributes through code.
Back to top
View user's profile Send private message
pskink
Master Developer
Master Developer


Joined: 24 Nov 2008
Posts: 334

PostPosted: Fri Feb 12, 2010 6:59 pm    Post subject: Reply with quote

TheBigCheese wrote:
Panel.java uses references to R.styleable.<attribute> in order to get the attributes from the xml file. R.styleable is no longer supported by the Android SDK. I managed to work around it though by just replacing the references to R.styleable with various calls to get the attributes through code.


hmm, i dont get it, android.R.styleable is not supported but your.package.R.styleable is supported and is imho the only way to get custom attributes.

if you see android.R.styleable in the code that means you have some old version, watch the thread to get the newer one

_________________
pskink
Back to top
View user's profile Send private message
lsag02
Once Poster
Once Poster


Joined: 26 Feb 2010
Posts: 1

PostPosted: Fri Feb 26, 2010 12:12 am    Post subject: Panel at the bottom with overlay Reply with quote

I am trying to use the panel bottom aligned on the screen with overlay and no luck. i would really appreciate if someone would help me here.

I have screen with listview that occupies entire screen and want panel to slide from the bottom overlaying the listview.
Back to top
View user's profile Send private message
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> View, Layout & Resource Problems All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


© 2007, Android Development Community
All rights reserved.
Powered by phpBB.