java - How can we make Tab layout auto hide? -


generally can hide particular tabs @ runtime. need make make whole tab layout hideable. when click screen once appears , other time disappear. can possible. have seen in motorola droid x phone's camera application. please me. in advance

you can use setvisibility(8); :)

you put id in linearlayout , manage in code with:

linearlayout l=(lynearlayout) findviewbyid(r.id.myid); l.setonclicklistener(this);  public void onclick(view v){     mytab.setvisibility(view.gone); } 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -