Android: How to get arrow button?

前端 未结 3 1513
生来不讨喜
生来不讨喜 2021-02-20 07:53

I would love to have the arrow button, which is used in google translate, in my app. The one used on the right of the textview here:

相关标签:
3条回答
  • 2021-02-20 08:02

    Take a look in the SDK. The SDK has pretty much all the default icons for Android. You can find it in [ANDROID_SDK_HOME]/platforms/[ANDROID_VERSION]/data/res/

    Look in all drawable-xxxx folders (i.e. drawable-xhdpi, drawable-hdpi, etc...) for the icon

    0 讨论(0)
  • 2021-02-20 08:10

    As Egor pointed out, the arrows can be found in the official Android Action Bar Icon Pack. Here are the paths:

    Holo Light (Black arrows):

    Arrow back: Android Design - Icons 20131120\Action Bar Icons\holo_light\02_navigation_back\

    Arrow forward: Android Design - Icons 20131120\Action Bar Icons\holo_light\02_navigation_forward\

    Holo Dark (White arrows):

    Arrow back: Android Design - Icons 20131120\Action Bar Icons\holo_dark\02_navigation_back\

    Arrow forward: Android Design - Icons 20131120\Action Bar Icons\holo_dark\02_navigation_forward\

    0 讨论(0)
  • 2021-02-20 08:21

    You can download a pack of Android ActionBar icons here, and the forward arrow is there also. Hope this helps.

    0 讨论(0)
提交回复
热议问题