3

All the result I've checked are related to:

  1. Using a <shape> and <stroke> so the final result will have some sort of border. This is not what I'm looking for.
  2. Using a transparent round image as a background of my TextView.
  3. Using a <layer-list> like so:

    <item android:drawable="@drawable/android_launcher"/> <item android:drawable="@drawable/imgview_round"/>

where android_launcher is a .png image and imgview_round is an xml file where are defined <shape> with ring shape and <stroke> with width of 8dp.

The result I expect to be is: enter image description here

The TextView is not obligaratory, it could be anything that can contain text and has some background.

I found similar question but it's for iPhone, I'm looking for an android solution.

Community
  • 1
  • 1
taxo
  • 539
  • 1
  • 3
  • 21
  • 1
    maybe is a duplicate of http://stackoverflow.com/questions/8308822/how-to-render-text-on-path You can use a canvas and draw curved text – N Dorigatti Jun 05 '15 at 09:10

0 Answers0