android - how to set image in my More_FragmentListView -


i have more_fragment listview , listview side arrowimage in not properway? want set images in listview? how? see image once? can clerity??

enter image description here

this more_fragmnet listview

public class more_fragment extends fragment implements adapterview.onitemclicklistener { more_fragment context; listview listview; public static int[] images = {         r.drawable.project14,         r.drawable.event,         r.drawable.social,         r.drawable.gallery,         r.drawable.shop,         r.drawable.share,         r.drawable.nextbutton};  public more_fragment() {     // required empty public constructor }  @override public view oncreateview(layoutinflater inflater, viewgroup container,bundle savedinstancestate) {     // inflate layout fragment     final view rootview =  inflater.inflate(r.layout.fragment_more_, container, false);      listview = (listview)rootview.findviewbyid(r.id.morefragment_listview);      string s[] = {"projects","events","social links","gallery","shop","share our app"};      listview.setadapter(new customadapter(getactivity(),s,images));     listview.setonitemclicklistener(this);      return rootview;  }  @override public void onitemclick(adapterview<?> parent, view view, int position, long id) {      switch (position){         case 0:             intent intent = new intent(getactivity(), project_activity.class);             intent.setflags(intent.flag_activity_new_task);             getactivity().startactivity(intent);             break;         case 1:             toast.maketext(getactivity(), "you clicked events ", toast.length_long).show();             break;         case 2:             toast.maketext(getactivity(), "you clicked social links ", toast.length_long).show();             break;         case 3:             toast.maketext(getactivity(), "you clicked gallery ", toast.length_long).show();             break;         case 4:             toast.maketext(getactivity(), "you clicked shop ", toast.length_long).show();             break;         case 5:             toast.maketext(getactivity(), "you clicked share our app ", toast.length_long).show();             break;         default:     }  } 

}

i want type ?? enter image description here


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -