Hi Mukesh,
Thanks for the reply.
am doing the same
Context context = this;
On Nov 25, 4:04 pm, Mukesh Srivastav wrote:
> Code looks fine but the problem would be with context.
>
> do the following.
>
> 1.create a context class variable. some thing like this.
> Context parentcontext;
>
> 2.As
its not working...:(
looking for some help
On Nov 25, 4:20 pm, Mukesh Srivastav wrote:
> Let use know, if it works.
>
> Warm Regards,
> *Mukesh Kumar*,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
>
>
> On Fri, Nov 25, 2011 at 4:43 PM, Shajahan wrote:
> > Hi Mukesh,
>
> > Thanks for the
// Start of code for PopupWindow
PopupWindow popupWindow = new
PopupWindow(context); Line 1
TextView textView = new
TextView(context); Line 2
popupWindow.setContentView(textView);
LayoutParams layoutParams = new
LayoutParams(LayoutPar
try adding this:
popupWindow.setWindowLayoutMode(LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT);
--
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
Let use know, if it works.
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.
On Fri, Nov 25, 2011 at 4:43 PM, Shajahan wrote:
> Hi Mukesh,
>
> Thanks for the reply.
>
> am doing the same
> Context context = this;
>
> On Nov 25, 4:04 pm, Mukesh Srivastav wrote:
> >
I am sure, the problem must with the context.
Any ways, for the popupwindow, you could always go with the AlertDialog, it
will also work as popup.
On Fri, Nov 25, 2011 at 4:57 PM, Shajahan wrote:
> its not working...:(
> looking for some help
>
> On Nov 25, 4:20 pm, Mukesh Srivastav wrote:
>
// Start of code for PopupWindow
PopupWindow popupWindow = new PopupWindow(context);
TextView textView = new TextView(context);
popupWindow.setContentView(textView);
LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT);
textView.setLayoutParams(layoutPa
what was the actual problem ?
On Mon, Nov 28, 2011 at 3:04 PM, Shajahan wrote:
> // Start of code for PopupWindow
> PopupWindow popupWindow = new
> PopupWindow(context); Line 1
> TextView textView = new
> TextView(context); Line 2
Jovish P wrote:
> what was the actual problem ?
>
0x0 dimension
pskink
--
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 t
9 matches
Mail list logo