Content Action Mode是觸發之後會在最上方出現menu選單

介紹如下

 

1. 官網http://developer.android.com/guide/topics/ui/menus.html#groups

01.png

 

2. 首先作一個ActionMode的Callback, 整體就和menu使用上一樣

02.png

 

3. 然後在要觸發的地方使用startSupportActionMode(使用的Callback)

03.png

 

4. 使用後就會出現如下方的圖示

04.png  

arrow
arrow
    文章標籤
    Android Content Action Mode
    全站熱搜

    RX1226 發表在 痞客邦 留言(0) 人氣()