Mohit sharma wrote:
Any solution yet ?
popup.showAtLocation(...);
int wrap = LayoutParams.WRAP_CONTENT;
popup.update(wrap, wrap);
pskink
--
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Any solution yet ?
On Thursday, June 10, 2010 3:02:00 PM UTC+5:30, Axel Garcia wrote:
I have exactly the same problem... did you finally found some
solution?
Thx
On May 27, 8:17 pm, Nathan critter...@crittermap.com wrote:
I've experimented with a PopupWindow, but don't have a very
Can you please explain more ?
On Friday, July 23, 2010 8:39:08 AM UTC+5:30, Ryan Tan wrote:
You can set the height and width of the PopupWindow to a non-absolute
value by referencing the anchor view's width and height.
On Jun 10, 5:32 pm, AMGG axel...@gmail.com wrote:
I have exactly the
Abstract classes and interfaces both have their downsides:
- Abstract classes don't allow multiple inheritance, resulting in an
explosion of tiny classes.
- Interfaces tend to result in a hard to maintain framework because it is a
lot harder to introduce new functionality (can't add a new method
Those many cases for this there is no particularly good reason one
was picked over the other are most likely, I hope, the cases where I
gave up on trying to figure out why the Android team chose to make the
one 'abstract class' and the other 'public interface';)
On Jul 21, 10:28 pm, Dianne
An interface is exactly just that (plus constant declerations). With
abstract classes, you can have static methods and everything else that
comes with a proper class. The drawback is, of course, that you can
only inherit from at most one abstract class.
I cannot think of even a single example,
You can start an activity as a dialog (it will look like a pop up window) by
setting its theame to Theme.Dialog in menifest.
So Here you can make an activity with list view and open it with
startActivityWithResult() and set the selected value on text view in
onActivityResult() method
hope this will help you.
TextView tx = new TextView(this);
tx.setClickable(true);
txtextControl.setOnClickListener(new OnClickListener() {
@Override
public void onClick(final View view) {
//add ur alert box here, dont ask me how, read the
documentation, :D im serious
I know it sounds cruel, but TreKing was 100% correct: you have to know
the basics and then some of how to code, and that in Java using
object oriented design, even the (in)famous design patterns. Both
the online docs and any decent book on Android assume that background.
Without it, it just reads
On Thu, Jul 21, 2011 at 8:16 PM, Indicator Veritatis mej1...@yahoo.comwrote:
They do not pause to explain, for example ... why some classes are defined
a public abstract classes, while very similar other classes are
defined as interfaces.
Well hopefully you generally don't care. And to be
On Apr 25, 1:53 pm, TreKing treking...@gmail.com wrote:
On Mon, Apr 25, 2011 at 2:36 PM, jotobjects jotobje...@gmail.com wrote:
I'm not clear about what parent in the last line is supposed to be...
How is this compiling?
context == activity. text==foobar and merry christmas.
I've tried a
On Mon, Apr 25, 2011 at 6:27 PM, jotobjects jotobje...@gmail.com wrote:
It does compile and tracing it with the debugger it executes without error.
OK, I thought you literally didn't know what you variable parent was,
which didn't make much sense :-P
Well, I've not used PopupWindow myself, so
You can set the height and width of the PopupWindow to a non-absolute
value by referencing the anchor view's width and height.
On Jun 10, 5:32 pm, AMGG axel...@gmail.com wrote:
I have exactly the same problem... did you finally found some
solution?
Thx
On May 27, 8:17 pm, Nathan
Got it to work,
nameDetailsPopup.setLayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT,
LinearLayout.LayoutParams,WRAP_CONTENT) ;
And when I need to roll it up nameDetailsPopup.dismiss() ;
Conny
On Jul 14, 6:11 pm, Conny mcon...@gmail.com wrote:
Log.d(NameView, NameViewDropDown Clicked);
I have the same problem and when I try to catch the back key in my
list activity (my popup display when an item is clicked) it doesn't
catch the back key
On Jun 4, 4:35 pm, arnouf arnaud.far...@gmail.com wrote:
- Use a Dialog component
or
- Catch the event on back button to finish your
I have exactly the same problem... did you finally found some
solution?
Thx
On May 27, 8:17 pm, Nathan critter...@crittermap.com wrote:
I've experimented with a PopupWindow, but don't have a very good way
of controlling its size. It only responds to absolute pixels.
I've tried doing this:
- Use a Dialog component
or
- Catch the event on back button to finish your PopupWindow.
Best
On Jun 4, 1:42 pm, ionel ionelt2...@gmail.com wrote:
Hi,
I've created a custom PopupWindow but when I press back button, the
window doesn't dissapear.
If somebody found a solution please response.
I am still unable to capture the OnItemClick event from my GridView
that is in the PopupWindow. Can anybody help me with this?
On Dec 4, 12:48 am, k_day kevin.r@gmail.com wrote:
I ended up finding the problem. I was using the ImageAdapter code
form the Hello, Gallery example. That
I ended up finding the problem. I was using the ImageAdapter code
form the Hello, Gallery example. That contained a line of code
referencing a Gallary:
imageView.setLayoutParams(new Gallery.LayoutParams(150, 120));
When used with a GridView, this obviously causes a class cast
exception.
Now
I did notice that if I remove
popupview.setAdapter(new ImageAdapter(this));
I no longer throw the exception. Am I using the Adapter wrong? Any
help would really be appreciated.
On Nov 10, 7:29 pm, k_day kevin.r@gmail.com wrote:
I tried to post on
On Aug 8, 4:46 pm, loctarar andrei.bu...@gmail.com wrote:
Solved :). If anyone is interested the styles.xml should look like
this:
resources
style name=Animation.Popup parent=android:Animation
item name=android:windowEnterAnimation@anim/popup_in/
item
item
Hello!
Yes, it seems I have the same problem. I'll test it on a G1 device
tommorow at work and tell you if it works.
On Aug 9, 10:46 am, skink psk...@gmail.com wrote:
On Aug 8, 4:46 pm, loctarar andrei.bu...@gmail.com wrote:
Solved :). If anyone is interested the styles.xml should look like
There is a bug in 1.5 with the system's cache of animations, where it would
not clear them when an application is updated.
On Sun, Aug 9, 2009 at 12:46 AM, skink psk...@gmail.com wrote:
On Aug 8, 4:46 pm, loctarar andrei.bu...@gmail.com wrote:
Solved :). If anyone is interested the
Dianne Hackborn wrote:
There is a bug in 1.5 with the system's cache of animations, where it would
not clear them when an application is updated.
--
Dianne Hackborn
Android framework engineer
thanks Dianne for update!
pskink
--~--~-~--~~~---~--~~
You
Solved :). If anyone is interested the styles.xml should look like
this:
resources
style name=Animation.Popup parent=android:Animation
item name=android:windowEnterAnimation@anim/popup_in/
item
item name=android:windowExitAnimation@anim/popup_out/
item
/style
25 matches
Mail list logo