Hi Mr.Mark Murphy !

Thanks for your reply,  i got The method getAssets() is undefined for the
type ListAdapter this err.

On Mon, May 9, 2011 at 3:59 PM, Mark Murphy <mmur...@commonsware.com> wrote:

> And your "err in getAssets()" is... what, exactly?
>
> On Mon, May 9, 2011 at 6:21 AM, subha <subhashini.andr...@gmail.com>
> wrote:
> > Hi Mr.gaurav gupta !
> >
> >
> > Thanks for your response , but i can't use this line
> >  Typeface tf=Typeface.createFromAsset(getAssets(), "maduram.ttf");
> >
> > particularly i got err in getAssets();
> >
> > On Mon, May 9, 2011 at 3:33 PM, gaurav gupta <gaurav.gupta...@gmail.com>
> > wrote:
> >>
> >> hi , '
> >> use these lines in ur application
> >>
> >> On Mon, May 9, 2011 at 3:27 PM, subhashini alaguchokku
> >> <subhashini.andr...@gmail.com> wrote:
> >>>
> >>> Hi!
> >>>
> >>> how to implement the following concept
> >>>
> >>>
> >>>         Typeface tf=Typeface.createFromAsset(getAssets(),
> "maduram.ttf");
> >>>         holder.text1=(TextView)vi.findViewById(R.id.text1);
> >>>           holder.text1.setTypeface(tf);
> >>>
> >> i hope this will work 4 u..
> >>>
> >>> Here.
> >>>
> >>>
> >>>
> >>>   public View getView(int position, View convertView, ViewGroup parent)
> {
> >>>         View vi=convertView;
> >>>         ViewHolder holder;
> >>>         if(convertView==null){
> >>>             System.out.println("inside
> >>> null........................................");
> >>>             vi = inflater.inflate(R.layout.item, null);
> >>>             holder=new ViewHolder();
> >>>             holder.text=(TextView)vi.findViewById(R.id.text);
> >>>             holder.text1=(TextView)vi.findViewById(R.id.text1);
> >>>             //Typeface typeface =
> >>> Typeface.createFromAsset(myContext.getAssets(), "FONT.TTF");
> >>>
> >>>             holder.image=(ImageView)vi.findViewById(R.id.image);
> >>>             vi.setTag(holder);
> >>>
> >>>         }
> >>>         else
> >>>             holder=(ViewHolder)vi.getTag();
> >>>
> >>>         holder.text.setText(Listdisplay.name[position]);
> >>>         holder.text1.setText(Listdisplay.count[position]);
> >>>
> >>>         holder.image.setTag(data[position]);
> >>>         System.out.println("inside not
> >>> null...........................................");
> >>>         imageLoader.DisplayImage(data[position], activity,
> holder.image);
> >>>         return vi;
> >>>     }
> >>> }
> >>>
> >>> --
> >>> 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
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training...At Your Office: http://commonsware.com/training
>
> --
> 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

Reply via email to