Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ナビゲーション ドロワーが開いていると、左上のナビゲーション ドロワー アイコンが少しスライドします。この小さなアニメーションを無効にして、アイコンが常にその場所に静止するようにすることはできますか?
はい、できます。 あなたの関数では、あなたの オーバーライドをそのようonCreateに作成するとき:ActionBarDrawerToggle onDrawerSlide
onCreate
ActionBarDrawerToggle
onDrawerSlide
@Override public void onDrawerSlide(View drawerView, float slideOffset) {}
呼び出しを削除superすると、スライドの動きが削除されます。
super