14

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:

enter image description here

In which way could I get it with the least loss of quality?

Thanks in advance!

Xander
  • 5,487
  • 14
  • 49
  • 77
  • Try `→` (just a WAG that Android components will render HTML). – Andrew Thompson Nov 30 '12 at 15:54
  • use ImageButton instead of Button. here is the pack of standard Icon: http://developer.android.com/design/downloads/index.html#action-bar-icon-pack – Yar Aug 19 '14 at 22:11

3 Answers3

17

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

Egor
  • 39,695
  • 10
  • 113
  • 130
6

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

Alex Fu
  • 5,509
  • 3
  • 31
  • 40
  • It was there, but unfortunately in not so good quality. However thanks for the answer and +1 – Xander Nov 30 '12 at 16:09
  • What kind of quality are you looking for? The icons in there are the exact ones Android uses. If the icon is going to be used in your Android app then there is no difference between the ones in that folder and the ones you see on the translate app. – Alex Fu Nov 30 '12 at 16:18
  • Good point, but in my app, the arrow must be bigger than usual, so I'm looking for a bit more pixels than usual. – Xander Nov 30 '12 at 16:30
2

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\

Community
  • 1
  • 1
W0lfw00ds
  • 2,018
  • 14
  • 23