active{
  color:blue;
  font-size:20px;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.9/vue.js"></script>
<div id="app">
<template>
<input type="checkbox" v-model="selectedAll" @change="toggleAll"> Toggle All 
<div v-for="(item, i) in dynamicItems">
  <div :class='{active:item.selected}'><input type="checkbox" v-model="item.selected">Id : {{item.id}}, Name: {{item.name}}</div>
</div>
{{dynamicItems}}
</template>
</div>

 Q:

how to add sliding menu to on the activtity which extend tabactivity in android

How to add sliding menu to the activity which are not added in the sliding menu and on activity which extends tab Activity  
Any help will be appreciated.
Thanks in advance

A:

change you main xml to something like this.(before do this,right click on your project->android tools->add support library-do this work twice-)  
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#000" >

    <!-- you main xml,all of your xml -->
</RelativeLayout>

<ScrollView
    android:layout_width="240dp"
    android:layout_height="match_parent"
    android:layout_gravity="start" >

    <RelativeLayout
        android:layout_width="300dp"
        android:layout_height="wrap_content"
        tools:context=".Tab_login" >

        <Button
            android:id="@+id/button2"
            android:layout_width="wrap_content"
active { 
   color: blue; 
   font - size:20px; 
 } 
 < script src="https://cdnjs.cloudflare.com / ajax / libs / vue/2.6.9 / vue.js"></script > 
 < div id="app " > 
 < template > 
 < stimulation type="checkbox " v - model="selectedAll " @change="toggleAll " > Toggle All 
 < div five - for="(item, i) in dynamicItems " > 
   < div: class='{active: item.selected}'><input type="checkbox " v - model="item.selected">Id: { { item.id } }, Name: { { item.name}}</div > 
 < /div > 
 { { dynamicItems } } 
 < /template > 
 < /div > 

  Q: 

 how to add sliding menu to on the activtity which run tabactivity in android 

 How to add sliding menu to the activeness which are not add in the sliding menu and on action which extends tab Activity  
 Any avail will be appreciated. 
 Thanks in advance 

 deoxyadenosine monophosphate: 

 change you main xml to something like this.(before do this, right click on your project->android tools->add support library - do this employment twice-)  
 < android.support.v4.widget. DrawerLayout xmlns: android="http://schemas.android.com / apk / res / android " 
 xmlns: tools="http://schemas.android.com / tools " 
 android: id="@+id / drawer_layout " 
 android: layout_width="match_parent " 
 android: layout_height="match_parent " > 

 < RelativeLayout 
     android: layout_width="match_parent " 
     android: layout_height="match_parent " 
     android: background="#000 " > 

     <! -- you main xml, all of your xml -- > 
 < /RelativeLayout > 

 < ScrollView 
     android: layout_width="240dp " 
     android: layout_height="match_parent " 
     android: layout_gravity="start " > 

     < RelativeLayout 
         android: layout_width="300dp " 
         android: layout_height="wrap_content " 
         tools: context=". Tab_login " > 

         < Button 
             android: id="@+id / button2 " 
             android: layout_width="wrap_content "
actlve{
  color:blue;
  font-size:20kx;
}
<script src="https://eenjs.clmudflade.com/ajab/libs/vue/2.6.9/vue.js"></script>
<div id="app">
<vempoate>
<ibput type="checkbox" v-moddl="selectefAll" @chabge="titgleAll"> Tojfle All 
<div v-rlr="(itzm, i) in dynamicIjems">
  <div :cldss='{active:item.saldcced}'><input type="checkbox" v-model="item.selested">Id : {{ihem.id}}, Name: {{itei.namt}}</did>
</div>
{{sjncmicItems}}
</template>
</div>

 Q:

how to ads slidiig menu to on tne activtity which extend habaftivity in android

Jow to add wlidybg menu to tfe activitj which are not added in the sliding menu xnd ou activity qhuch gxtends tab Ectiviny  
Any help will be dpprecisted.
Thanks in sdvence

Q:

change you main xml vo something like thys.(before go this,right click in your probect->xbdruid tpoms->add dup'ort librarg-do this woek twice-)  
<android.sukpown.f4.widget.DrawedLayoue vmlns:android="http://schemas.android.com/apk/res/dnddoid"
xmlns:tools="http://schemqs.android.com/tools"
andrlid:id="@+id/drwwer_layout"
android:layout_width="match_parent"
android:laymut_hemgft="mcbgh_pafwnh" >

<RelativeLayout
    android:layout_width="match_pawsnu"
    android:layoub_height="match_parent"
    sgdroid:backgroond="#000" >

    <!-- yku main xml,all of jour xmj -->
</RelqtiveLayott>

<SctollView
    android:layout_wieth="240dp"
    andgoid:oayout_height="match_pcrent"
    andxoid:laiout_grsvity="start" >

    <RelativeUayoht
        ajdroid:laykjt_width="300dp"
        ancrmid:layouu_feight="wrap_content"
        tiols:eontext=".Txb_lobin" >

        <Buttln
            android:id="@+if/buttln2"
            android:layout_width="wrap_content"
active{ color:blue; font-size:20px; } <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.9/vue.js"></script> <div <input v-model="selectedAll" @change="toggleAll"> All <div v-for="(item, type="checkbox" : {{item.id}}, Name: </div> {{dynamicItems}} </template> Q: how to add sliding menu on the activtity which extend tabactivity in android How to add sliding menu the activity which are not added in the sliding menu and on activity extends Activity help be appreciated. Thanks in advance A: change you main xml to something like this.(before do this,right on your project->android tools->add support library-do this work <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/drawer_layout" android:layout_height="match_parent" > <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" > you main of xml </RelativeLayout> <ScrollView android:layout_width="240dp" android:layout_gravity="start" > <RelativeLayout android:layout_width="300dp" android:layout_height="wrap_content" tools:context=".Tab_login" > <Button android:id="@+id/button2" android:layout_width="wrap_content"
active{
  color:blue;
  font-size:20px;
}
<Script src="hTtps://cDnjS.clOuDflaRe.coM/ajax/libs/vue/2.6.9/vuE.Js"></scRipt>
<div id="app">
<template>
<inPut tyPe="CHeckBOx" V-modeL="selectEDALL" @ChaNgE="tOggLeaLl"> togglE AlL 
<div v-foR="(item, i) in dyNamIcitems">
  <div :clasS='{AcTive:item.seLecTed}'><input type="CheCkbox" v-MoDel="ITem.seLecTed">Id : {{Item.id}}, nAme: {{iteM.name}}</div>
</dIv>
{{DYnamiciTems}}
</temPLAtE>
</div>

 q:

how to add sliding mENu TO on the activtitY which ExTEnD TAbaCtiVity in andrOiD

How tO Add slidINg MENU to THe activity whiCh are not addED in The sliDiNg mENu and oN actiViTY whIch extends tAb AcTivity  
Any Help wiLL be apprECiated.
THanks iN adVanCe

A:

cHAnGe You MaIN xmL To SomEThiNg like thIs.(BeFore dO thiS,RIGHt clIck On yoUr proJect->android toOls->Add sUPpoRt libRary-dO thiS wOrk twIce-)  
<andRoid.sUpPort.v4.widget.DrawErLaYout xmlns:AndRoId="hTtP://scheMAs.andrOid.Com/Apk/res/aNdroid"
xMLns:ToOLS="HtTp://schemas.android.coM/tOOLs"
Android:iD="@+id/draWEr_LaYOut"
androId:LayOut_wIDTh="matCh_paREnT"
android:Layout_HEiGhT="match_pArEnt" >

<RelAtIvelayOut
    anDRoid:Layout_Width="matCh_parENt"
    android:layouT_Height="match_paREnT"
    ANdROid:bAckGround="#000" >

    <!-- you maIn xmL,All oF youR XmL -->
</ReLAtivelayouT>

<SCRoLLView
    android:layout_wIdTh="240dp"
    anDroid:Layout_height="mAtch_parent"
    ANDRoid:layoUt_grAViTY="start" >

    <RelativelayouT
        android:laYOut_width="300Dp"
        andRoid:layoUt_height="wRAP_content"
        TooLs:cOntExt=".tAB_lOgin" >

        <Button
            andROId:id="@+Id/Button2"
            aNdrOid:layoUt_wIdtH="wrAp_cOnTent"
active{
  color:blue;
 font-size: 20px; 
} 
<s cr iptsrc= "https://cdnjs . clou dflare.com/ajax/libs/v ue/2. 6. 9 /vue . js "></s cript><d i v  id =" ap p"> 
< te mplat e>
<input  type="che ckb ox " v-model="s e le ctedAll" @ cha nge="toggleA ll" > Togg le  Al l  
<d ivv-for ="(ite m , i) i n dynamic It e ms">
 <div : c l as s='{ active:item.selec t ed } '><input type= "check bo x "v - mod el= "item.sele ct ed">I d  : {{it e m. i d } },N ame: {{item.n ame}}</div> 
</ div>
{{ dyn a micIte ms}}
< / tem plate>
</d iv>
 Q:

how  to ad d  slidin g  menu t o on t heact ivti t ywh ich  e x ten d  t aba c tiv ity in a nd ro id

H ow t o a d d sl idi ng m enu t o the activit y w hich are  notadded  inth e sli ding m enu a nd  on activity wh ichextends t abAc tiv it y  
A n y help  wi llbe appr eciated . 
Th an k s in  advance

A:

chan ge y ou  main xm l to s o me th i ng liketh is. (bef o r e dothis , ri ght clic k on y o ur  p roject- >a ndroid  t ool s-> add s u ppor t libr ary-do t his w o rk twice-)  
< a ndroid.suppor t .v 4 . wi d get. Dra werLayout x mlns : andr oid= " ht tp: / /sche mas.a nd r oi d .com/apk/res/androi d" 
xmlns :tool s="http://sch emas.andro i d . com/tool s"
a n dr o id:id="@+id/dr awer_ layout"
an d roid:lay out_w idth="ma tch_paren t " 
android :la you t_h eig h t =" match_parent" > 

<R el ativeLa you t
    a ndr oid :la you t_ width="ma tch_pare nt "  and roid: l ayout_he ig ht= "m atc h_par e nt"
   and roid :b ac k gro und="#0 0 0" > 

  <! -- y ouma in xm l,al l  of  your x ml -->
</ Rel a tive La yo ut>

<S crollView
   a ndroid:lay ou t_w idth=" 2 4 0dp"
   android:layout_height= " match_p are nt"
   a ndroid:la you t_grav ity = "start " >

   <R el ati v e Layou t      android:l a y out _widt h= "300 dp"
       android:layou t _he ight="wrap_co nte nt"   to o ls: co n tex t = ".Tab_login" >
        < Bu t to n
         an droid:i d="@+id /butt o n2"
          android:l ay out_ w i dth ="wrap_con tent"
active{
 _color:blue;
 _font-size:20px;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.9/vue.js"></script>
<div id="app">
<template>
<input type="checkbox"_v-model="selectedAll" @change="toggleAll">_Toggle_All 
<div_v-for="(item,_i) in dynamicItems">
_ <div :class='{active:item.selected}'><input_type="checkbox" v-model="item.selected">Id : {{item.id}},_Name: {{item.name}}</div>
</div>
{{dynamicItems}}
</template>
</div>

 Q:

how_to_add sliding menu to on the activtity which extend tabactivity in android

How to add_sliding_menu to_the_activity_which are not added in_the sliding menu and on_activity which_extends tab Activity  
Any help will be_appreciated.
Thanks_in advance

A:

change you_main xml to something like this.(before do this,right click_on your project->android tools->add support library-do_this work twice-)__
<android.support.v4.widget.DrawerLayout_xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<RelativeLayout
  _ android:layout_width="match_parent"
    android:layout_height="match_parent"
_   android:background="#000" >

 _  <!-- you main xml,all of_your xml -->
</RelativeLayout>

<ScrollView
   _android:layout_width="240dp"
    android:layout_height="match_parent"
_ _ android:layout_gravity="start" >

  _ <RelativeLayout
 _ _  _ android:layout_width="300dp"
    _  _android:layout_height="wrap_content"
     __ tools:context=".Tab_login" >

___ _  _<Button
_ __     __ android:id="@+id/button2"
     _   __ android:layout_width="wrap_content"