Home | History | Annotate | Download | only in patterns
      1 page.title=Xc nhn & Bo nhn
      2 page.tags=dialog,toast,notification
      3 @jd:body
      4 
      5 <p>Trong mt s tnh hung, khi ngi dng gi ra mt hnh ng trong ng dng ca bn, bn nn <em>xc nhn</em> hoc <em>bo nhn</em> hnh ng  thng qua vn bn.</p>
      6 
      7 <div class="cols">
      8   <div class="col-6">
      9     <img src="{@docRoot}design/media/confirm_ack_confirming.png">
     10     <p><strong>Xc nhn</strong> l vic yu cu ngi dng xc minh rng h thc s mun tip tc hnh ng m h va gi ra. Trong mt s trng hp, xc nhn c a ra cng vi mt cnh bo hoc thng tin trng yu lin quan ti hnh ng m h cn cn nhc.</p>
     11   </div>
     12   <div class="col-6">
     13     <img src="{@docRoot}design/media/confirm_ack_acknowledge.png">
     14     <p><strong>Bo nhn</strong> l vic hin th vn bn  ngi dng bit rng hnh ng h va gi ra  c hon tt. iu ny loi b s khng chc chn v cc thao tc khng biu th m h thng ang thc hin. Trong mt s trng hp, bo nhn c a ra cng vi mt ty chn hon tc hnh ng .</p>
     15   </div>
     16 </div>
     17 
     18 <p>Giao tip vi ngi dng theo nhng cch ny c th gip g b s khng chc chn v nhng th  hoc s xy ra. Xc nhn hoc bo nhn cng c th ngn ngi dng mc sai lm m h c th hi tic.</p>
     19 
     20 <h2>Khi no th xc nhn hoc bo nhn hnh ng ca ngi dng</h2>
     21 <p>Khng phi hnh ng no cng chc chn c xc nhn hay bo nhn. Hy s dng lu  sau lm hng dn a ra quyt nh thit k ca bn.</p>
     22 <img src="{@docRoot}design/media/confirm_ack_flowchart.png">
     23 
     24 <h2>Xc nhn</h2>
     25 <div class="cols">
     26   <div class="col-6">
     27     <h4>V d: Google Play Books</h4>
     28     <img src="{@docRoot}design/media/confirm_ack_ex_books.png">
     29     <p>Trong v d ny, ngi dng  yu cu xa mt cun sch khi th vin Google Play ca mnh. Mt <a href="{@docRoot}design/building-blocks/dialogs.html#alerts">cnh bo</a> hin ra  xc nhn hnh ng ny bi quan trng l phi hiu rng cun sch s khng cn kh dng trn bt c thit b no na.</p>
     30     <p>Khi to mt hp thoi xc nhn, hy t tiu  c  ngha bng cch th hin hnh ng c yu cu .</p>
     31   </div>
     32   <div class="col-7">
     33     <h4>V d: Android Beam</h4>
     34     <img src="{@docRoot}design/media/confirm_ack_ex_beam.png">
     35     <p>Khng nht thit phi a ra xc nhn trong cnh bo c hai nt. Sau khi khi chy Android Beam, ngi dng c nhc chm vo ni dung mun chia s (trong v d ny l mt nh chp). Nu quyt nh khng tip tc, h ch cn a in thoi ca mnh ra xa.</p>
     36   </div>
     37 </div>
     38 
     39 <h2>Bo nhn</h2>
     40 <div class="cols">
     41   <div class="col-6">
     42     <h4>V d: B i bn tho Gmail  lu</h4>
     43     <img src="{@docRoot}design/media/confirm_ack_ex_draftsave.png">
     44     <p>Trong v d ny, nu ngi dng iu hng quay li hoc ln trn t mn hnh son tho Gmail th c th s xy ra vic ngoi  mun: bn tho hin ti c t ng lu. Bo nhn di hnh thc ca s s khin bn tho  biu hin ra ngoi. Ca s ny s m dn sau vi giy.</p>
     45     <p> y vic hon tc s khng thch hp bi vic lu l do ng dng khi chy ch khng phi ngi dng. S d dng v nhanh chng tip tc son th bng cch iu hng ti danh sch bn tho.</p>
     46 
     47   </div>
     48   <div class="col-6">
     49     <h4>V d:  xa hi thoi Gmail</h4>
     50     <img src="{@docRoot}design/media/confirm_ack_draft_deleted.png">
     51     <p>Sau khi ngi dng xa mt hi thoi khi danh sch trong Gmail, bo nhn s xut hin cng ty chn hon tc. Bo nhn vn cn  ti khi ngi dng thc hin mt hnh ng khng lin quan, v d nh cun danh sch.</p>
     52   </div>
     53 </div>
     54 
     55 <h2>Khng xc nhn hoc bo nhn</h2>
     56 <div class="cols">
     57   <div class="col-6">
     58     <h4>V d: hnh ng +1</h4>
     59     <img style="padding: 33px 0 30px;" src="{@docRoot}design/media/confirm_ack_ex_plus1.png">
     60     <p><strong>Xc nhn l khng cn thit</strong>. Nu ngi dng v tnh +1 th cng khng sao. H ch cn chm li vo nt ny  hon tc hnh ng .</p>
     61     <p><strong>Bo nhn l khng cn thit</strong>. Ngi dng s thy nt +1 bt li v chuyn mu .  l mt du hiu rt r rng.</p>
     62   </div>
     63   <div class="col-7">
     64     <h4>V d: Xa mt ng dng khi Mn hnh Trang ch</h4>
     65     <img src="{@docRoot}design/media/confirm_ack_ex_removeapp.png">
     66     <p><strong>Xc nhn l khng cn thit</strong>. y l mt hnh ng c ch : ngi dng phi ko v th mt mc ln mt mc tiu tng i ln v tch bit. V th, rt kh c kh nng xy ra trng hp v . Nhng nu ngi dng hi hn v quyt nh, h ch mt vi giy  a tr li nh c.</p>
     67     <p><strong>Bo nhn l khng cn thit</strong>. Ngi dng s bit ng dng  bin mt khi Mn hnh Trang ch bi h khin n bin mt bng cch ko n i.</p>
     68 
     69   </div>
     70 </div>
     71