[android-developers] Re: Sliding Drawer question

2011-02-12 Thread Indicator Veritatis
I'm not surprised the visual editors in ADT are so far behind. It
really is difficult to code such things. That is why I never use the
visual editors.

Actually, there are other reasons, too.

On Feb 10, 10:59 am, Salsero69 vaillancourt@gmail.com wrote:
 I'm having the same issue.  Eclipse allows me to add it, but then
 can't do visual editing which sucks.

 On Jan 15, 11:24 pm, Scott Deutsch surger...@gmail.com wrote: Hello group.

  I tried to add a Sliding Drawer through the visual xml builder thingy,
  but it is telling me The following classes cannot be found
  SlidingDrawer. Why is that?

  They they take that out in the SDK or something?

  What should I try?

  Thanks group!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Sliding Drawer question

2011-02-12 Thread Cliff Davies
Out of interest, what are the other reasons? I find the visual editor
doesn't give an exact idea of the final layout (doesn't auto-scale properly,
show custom views sometimes or show sliding drawers at all) but it helps get
the basic framework up and running quickly
On 12 Feb 2011 10:46, Indicator Veritatis mej1...@yahoo.com wrote:
 I'm not surprised the visual editors in ADT are so far behind. It
 really is difficult to code such things. That is why I never use the
 visual editors.

 Actually, there are other reasons, too.

 On Feb 10, 10:59 am, Salsero69 vaillancourt@gmail.com wrote:
 I'm having the same issue.  Eclipse allows me to add it, but then
 can't do visual editing which sucks.

 On Jan 15, 11:24 pm, Scott Deutsch surger...@gmail.com wrote: Hello
group.

  I tried to add a Sliding Drawer through the visual xml builder thingy,
  but it is telling me The following classes cannot be found
  SlidingDrawer. Why is that?

  They they take that out in the SDK or something?

  What should I try?

  Thanks group!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Sliding Drawer question

2011-02-12 Thread Kevin Duffey
Reminds me of trying to develop a web site with using JSF.. the visual
editors suck at providing any sense of the actual layout and look and feel.
Always better to do it in code and refresh the changes in the browser.

On Sat, Feb 12, 2011 at 4:45 AM, Cliff Davies cliff.dav...@gmail.comwrote:

 Out of interest, what are the other reasons? I find the visual editor
 doesn't give an exact idea of the final layout (doesn't auto-scale properly,
 show custom views sometimes or show sliding drawers at all) but it helps get
 the basic framework up and running quickly
 On 12 Feb 2011 10:46, Indicator Veritatis mej1...@yahoo.com wrote:
  I'm not surprised the visual editors in ADT are so far behind. It
  really is difficult to code such things. That is why I never use the
  visual editors.
 
  Actually, there are other reasons, too.
 
  On Feb 10, 10:59 am, Salsero69 vaillancourt@gmail.com wrote:
  I'm having the same issue.  Eclipse allows me to add it, but then
  can't do visual editing which sucks.
 
  On Jan 15, 11:24 pm, Scott Deutsch surger...@gmail.com wrote: Hello
 group.
 
   I tried to add a Sliding Drawer through the visual xml builder thingy,
   but it is telling me The following classes cannot be found
   SlidingDrawer. Why is that?
 
   They they take that out in the SDK or something?
 
   What should I try?
 
   Thanks group!
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Sliding Drawer question

2011-02-10 Thread Salsero69
I'm having the same issue.  Eclipse allows me to add it, but then
can't do visual editing which sucks.

On Jan 15, 11:24 pm, Scott Deutsch surger...@gmail.com wrote:
 Hello group.

 I tried to add a Sliding Drawer through the visual xml builder thingy,
 but it is telling me The following classes cannot be found
 SlidingDrawer. Why is that?

 They they take that out in the SDK or something?

 What should I try?

 Thanks group!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sliding Drawer question

2011-01-25 Thread Scott Deutsch
Just to let you guys know...i decided not to use it and went a
different route.

Thanks anyways group.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sliding Drawer question

2011-01-18 Thread Oded O.
You can also see a view I built:
http://code.google.com/p/mobile-anarchy-widgets/wiki/DockPanel

The full source code is available there

Good luck

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Sliding Drawer question

2011-01-17 Thread Scott Deutsch
I will give that a try. Oh, I should say that I am using Android SDK
2.3, but I am most likely to switch to 2.0 since that is my target/
minsdk level.

Thanks.

On Jan 16, 3:51 am, Mark Murphy mmur...@commonsware.com wrote:
 SlidingDrawer definitely exists. It may be there is a problem with it
 and the Eclipse UI builder. Try adding it to your XML manually.

 Here is a trivial sample project showing the use of a SlidingDrawer:

 https://github.com/commonsguy/cw-android/tree/master/Fancy/DrawerDemo









 On Sat, Jan 15, 2011 at 11:24 PM, Scott Deutsch surger...@gmail.com wrote:
  Hello group.

  I tried to add a Sliding Drawer through the visual xml builder thingy,
  but it is telling me The following classes cannot be found
  SlidingDrawer. Why is that?

  They they take that out in the SDK or something?

  What should I try?

  Thanks group!

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sliding Drawer question

2010-05-19 Thread DonFrench
Oh, THAT

On May 17, 11:12 pm, aadnon marty.musa...@gmail.com wrote:
  ELF              (     ¨   4    †      4     (        p        
 X   X                           ”   ”                           Ðe
 $f              (   (   (   à   à                   È   +   é
 ~       Œ   Ë           ¸   ›                       Ÿ
 €   ]           t   ·           –   ¬   »           •   Ü       Ã
 Å                       ¬   |       õ   ô   d               È
 ¦       ‘   r   Æ   Ì   :   Î           C                
 Ê   †           I               Ë   ¾   ±   È               õ
 I       ´       æ   ¬   Ø       ¿   Š       s       A   ª   ö
 p           °                       $       š   «
 ß                               j   à   í   ã   Á   n
             Ý   ó   ö                   Ö   ƒ       W   ‡       ²
 ï   ‚       æ   ë   ¶              ñ       ý           V   «   Å
 –               ‡   ž   /                       Í       e       ü
 w   ¡       º           “               ã   Ø   ý   ¢    
 W               Ê   Ü           F   ¼   ˆ          )   ÿ       N
 ²           z                   Ð   ®       v   P   ñ   y   ¨
 í       u       P   Í   O                       =       À   ¸
 é           ´   5       .        
    \               Î      ”               ÷   °   ^       J
     d   -       ®   ³   –   Ï       »   û   E   Ý   L       ˜
 ·   .               Í   î   Y   ©   ù               }   !   x
 ÿ   á      m   Ú   -       R   u   Y   z       0           š   +
 †   2   ©   Ÿ   Ë           œ   ß           P   „   ”   ï
 ü                           ó   Ì       H       Z   þ   ì   8
 ‰               ²   È       ô   t       ò   Ö       Ô
 '           à   0   G               œ   o       2   º   É
 µ           1       ‹   ;       b       {   ¿   Ï       ?
 Š       ™   ~       ™   Þ       !       D           “
             D           ù   ý   á                   ]       â   =
 ”   F       Ö   š   ¤   ‘   [       é       *       W   „   ñ   ¨
 à   7       ƒ   ð           Ž   ¥   §               Â   1    
 ^           w   U   Ñ   ,       Â   G       Ý   h   ˜       Z    
 _           è   ù   e   ™   ì   ç       ‡       ¹       X
 ¡           š           Û       *   9   T       Y       s   ê
 ¸   ¢   H       Û           º   ª       ‹   Ç   ,
                         Ä       _               I   æ       3   “
 â   X   ü           ³   À   ²       Ñ   Ì   p       h   ð       Æ
     :           J       |   Õ       Ä       q       ž
 ø       É   Z   ø   ã           z   T       ú   Ð       #       D
                             n   §   [           |           m
 5       i   ´   O   î       ã   c           g
 1                       !       O   ò           å       ë   2
 Ò       ¾
    K       Ò   +           ‚   þ       ¼   Ù       ±   b
 Á   ;           ï   Û   ¸   m       X           ÷   y       Ò   ð
 Ù       Q   }   ¯           w   E   n   µ   °                   Q
 Ü                               ˆ   '   ç               H
    u      ×                               ­   j   ú   ¬       i
 µ           !   5           (       …   3   J   Ó       S   N
 4          j           ½   L   N   ß                   ä       æ
 ˜       }           ×   v           ñ   ¤   É   ¡   k   L   ’
 Ø       •   å   e           Ï               ¥   Ë
                            §   ,   Ú   u   ¢   †   z           Ÿ          
 C   ›           „   Š   €       Â   '          ¡   á   o
 R       €   ¿       ®   @   @               »   l           {    
 t       í       œ           ¹       ù                   %        
 @           ×   )           ú   ä       ï   è       Ä
 º               û   £       U       `   P   `   S   s   U   ­
                     c       ª       «   Û        
 ý               á   Ç   B       {           Ž   ’   Ã   ‚   ?
 C       ¦   R           Í   d   X   ø           ö   —   \   F
        r       ;   ‚   ¯   ”      Ï               ¹       ?        
 Þ       Ô   r       Ê   ƒ       o           Ø
 ¹                   Ñ       8   )          J
                        Õ   ž               Ó       ÷   j   Q   Å
 q       —       g            
    Ã       Þ   7       v       Ä   Ž       Ó   ä
 ƒ

 6
 V                                   :
 8                                           Œ

 E                               c          o
 K
 A                   
 (   ¿           ©
 ¤               Á               `               ‘
 0           Ê           À
 ¶                       Õ
 Š
 ’   =                                                   2
 ‰           Ñ   Ž   %           ¥       t
 ø                                           b          
 U                       ü                       ð
 9       S       E       ­                                   
 l
 ÿ                               v        
                        x       w
                                ç   9   T
 ò           ¨               B   ‡               ä
     ?                           õ               r   ¾           Ö
 _       A                                       e  

[android-developers] Re: Sliding Drawer question

2010-05-06 Thread brucko
Never done this before, Tommy.

Have a look at

http://developer.android.com/reference/android/widget/ImageView.html#attr_android:scaleType

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sliding Drawer question

2010-05-05 Thread Tommy
I was able to get this working. If you have a second could you answer
one more question? Is there a way to make the Image for the Handle
take up the whole width? No matter what I set the width to it stays
the same. I even tried to change th width of the image to 1000px and
it doesn't seem to make the handle any wider.

On May 4, 11:14 am, Tommy droi...@gmail.com wrote:
 Thank you, I will give this a try and see what happens.



 -Original Message-
 From: android-developers@googlegroups.com

 [mailto:android-develop...@googlegroups.com] On Behalf Of brucko
 Sent: Tuesday, May 04, 2010 3:52 AM
 To: Android Developers
 Subject: [android-developers] Re: Sliding Drawer question

 Tommy,

 Whilst RelativeLayout is quite powerful, and as Mark stated earlier,
 is what you need for your sliding drawer - especially as you have
 other elements - you may need to be a little more careful in the order
 you declare your view elements.

 If you want your SlidingDrawer to go over the top of all of the other
 elements, then declare it last in your Relative Layout.

 Better still, as it appears you may not be used to RelativeLayout yet
 - just try dropping the SlidingDramer for now (Ctrl-c will comment out
 the rows in the XML Editor in Eclipse) - put it back in last in your
 relative layout when you have the rest of your layout where you want
 it.

 You need to declare your elements in the correct order.

 For example, you should declare tvStationName before TideLoadMessage
 if you want TideLoadMessage to obey android:layout_below=@+id/
 tvStationName .

 I don't think you want to use android:layout_below=@+id/lvReport 
 for your Sliding drawer if you want it to open  over your lvReport - I
 think (not really sure on that).

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sliding Drawer question

2010-05-04 Thread brucko
Tommy,

Whilst RelativeLayout is quite powerful, and as Mark stated earlier,
is what you need for your sliding drawer - especially as you have
other elements - you may need to be a little more careful in the order
you declare your view elements.

If you want your SlidingDrawer to go over the top of all of the other
elements, then declare it last in your Relative Layout.

Better still, as it appears you may not be used to RelativeLayout yet
- just try dropping the SlidingDramer for now (Ctrl-c will comment out
the rows in the XML Editor in Eclipse) - put it back in last in your
relative layout when you have the rest of your layout where you want
it.

You need to declare your elements in the correct order.

For example, you should declare tvStationName before TideLoadMessage
if you want TideLoadMessage to obey android:layout_below=@+id/
tvStationName .


I don't think you want to use android:layout_below=@+id/lvReport 
for your Sliding drawer if you want it to open  over your lvReport - I
think (not really sure on that).

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


RE: [android-developers] Re: Sliding Drawer question

2010-05-04 Thread Tommy
Thank you, I will give this a try and see what happens.

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of brucko
Sent: Tuesday, May 04, 2010 3:52 AM
To: Android Developers
Subject: [android-developers] Re: Sliding Drawer question

Tommy,

Whilst RelativeLayout is quite powerful, and as Mark stated earlier,
is what you need for your sliding drawer - especially as you have
other elements - you may need to be a little more careful in the order
you declare your view elements.

If you want your SlidingDrawer to go over the top of all of the other
elements, then declare it last in your Relative Layout.

Better still, as it appears you may not be used to RelativeLayout yet
- just try dropping the SlidingDramer for now (Ctrl-c will comment out
the rows in the XML Editor in Eclipse) - put it back in last in your
relative layout when you have the rest of your layout where you want
it.

You need to declare your elements in the correct order.

For example, you should declare tvStationName before TideLoadMessage
if you want TideLoadMessage to obey android:layout_below=@+id/
tvStationName .


I don't think you want to use android:layout_below=@+id/lvReport 
for your Sliding drawer if you want it to open  over your lvReport - I
think (not really sure on that).

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sliding Drawer question

2010-05-03 Thread Tommy
I seem to be running into the same issue here. See I am wondering if
the
fact that my listview isn't populated at start up if that has
something to
do with it. It takes a few seconds for the data in the listview to be
pulled
down and populated. Could this be affected the sliding drawer? If so
is
there a way to work around this? Here is the new XML:
?xml version=1.0 encoding=utf-8?
RelativeLayout
android:id=@+id/widget84
android:layout_width=fill_parent
android:layout_height=fill_parent
xmlns:android=http://schemas.android.com/apk/res/android;

ListView
android:id=@+id/lvReport
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_below=@+id/TideLoadMessage
android:layout_alignParentLeft=true

/ListView
SlidingDrawer
 android:id=@+id/drawer
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:layout_below=@+id/lvReport
 android:handle=@+id/handle
 android:content=@+id/content
 ImageView
 android:id=@id/handle
 android:layout_width=88dip
 android:layout_height=44dip
 android:src=@drawable/icon
  /
 LinearLayout android:layout_width=wrap_content
 android:layout_height=fill_parent
 android:id=@id/content
 android:orientation=vertical
 android:padding=10dip
   Button android:text=Test1
   android:id=@+id/Button01
android:layout_width=fill_parent
android:layout_height=wrap_content /
   Button android:text=Test2
   android:id=@+id/Button02
android:layout_width=fill_parent
android:layout_height=wrap_content /
   Button android:text=Test3
   android:id=@+id/Button03
android:layout_width=fill_parent
android:layout_height=wrap_content /
  /LinearLayout
 /SlidingDrawer
TextView
android:id=@+id/TideLoadMessage
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=Loading Report, Please Wait...
android:textSize=12sp
android:layout_below=@+id/tvStationName
android:layout_toRightOf=@+id/widget85

/TextView
TextView
android:id=@+id/tvStationName
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=TextView
android:textSize=12sp
android:layout_alignTop=@+id/widget89
android:layout_alignLeft=@+id/tvReportLength

/TextView
TextView
android:id=@+id/widget89
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=Station Name:
android:textSize=12sp
android:layout_below=@+id/tvStationId
android:layout_alignParentLeft=true

/TextView
TextView
android:id=@+id/tvStationId
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=TextView
android:textSize=12sp
android:layout_alignParentTop=true
android:layout_toRightOf=@+id/widget87

/TextView
TextView
android:id=@+id/widget87
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=ID:
android:textSize=12sp
android:layout_alignParentTop=true
android:layout_toRightOf=@+id/tvReportLength

/TextView
TextView
android:id=@+id/tvReportLength
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=1 Day
android:textSize=12sp
android:layout_alignParentTop=true
android:layout_toRightOf=@+id/widget85

/TextView
TextView
android:id=@+id/widget85
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=Report Length:
android:textSize=12sp
android:layout_alignParentTop=true
android:layout_alignParentLeft=true

/TextView
/RelativeLayout

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en