How can I create an android menu item using android setting icon

后端 未结 4 2032
天涯浪人
天涯浪人 2020-12-23 20:12

Can you please tell me how can I create an android menu item using android setting icon?

4条回答
  •  滥情空心
    2020-12-23 20:41

    Add a new Vector Asset.

    1. File -> New -> Vector Asset.

    1. Click on the icon to change it.

    1. Select the icon you want (e.g. search for "setting").

    1. Adjust other settings.

    2. Use that new Vector Asset in your xml.

      android:logo="@drawable/ic_settings_white_24dp"
      
    3. Party!

提交回复
热议问题