Questions tagged [bullet-span]

10 questions
7
votes
0 answers

How to apply Bullet and Numbered List in android Edit-text

I am trying to apply Bulleted list and Numbering list in android edit-text when user press button. For that i have tried below code. For Bullet BulletSpan[] quoteSpan = str.getSpans(selectionStart, selectionEnd, BulletSpan.class); …
user3660803
  • 315
  • 1
  • 3
  • 15
3
votes
1 answer

TextView renders ugly bullets for
  • tags
  • We have the next input String: String test = "
  • Some text
  • \n" + "
  • Some text
  • \n" + "
  • Some text
  • "; Then we create spanned via and set it into the TextView: Html.fromHtml(test); As a result, I will get…
    Maxim Petlyuk
    • 1,014
    • 14
    • 20
    3
    votes
    1 answer

    How to find bullets or numbered bullets is present in NSString using NSRegularExpressionSearch?

    I have a NSString which may have ordered bullets or unordered bullets as a string. I want to remove that bullets alone from the string. Can someone please help me out in this?. Thanks in advance.
    Sheik_101
    • 770
    • 1
    • 8
    • 24
    1
    vote
    1 answer

    BulletSpan which has newline is not working in Android

    i'm using BulletSpan which is customized. i want to display long text that has '\n'. every lines are fine except for the text line which has '\n'. bulleetspan can't apply the indent to the newline text. this is the result. and the last text is one…
    CodingBruceLee
    • 657
    • 1
    • 5
    • 19
    1
    vote
    1 answer

    BulletSpan not working in Android Textview

    I'm trying to add bullets to the unordered lists using BulletSpan. But, I cannot find bullets in the list. Below is my code: private static String appendBullet(int leadingMargin, String liText) { SpannableString spannableString = new…
    Sangeetha Pinto
    • 1,022
    • 3
    • 14
    • 32
    1
    vote
    1 answer

    Nested BulletSpan in Android

    How to create a nested BulletSpan for a TextView, well something like : item 1 has: a b item 2 has: c d
    Rami Dabain
    • 4,709
    • 12
    • 62
    • 106
    0
    votes
    1 answer

    fromHtml method does not format html text properly on API level 28

    Basically, i am using Html.fromHtml method to display text in html format inside a textView. Everything renders correctly, except the bullets of the list items. They are being cutt-off just like this case (Bullet points in textview are cut…
    0
    votes
    0 answers

    Mapfish reports with textfields in markup html doesn't align text on bullets

    I just want to align the text on bullets in Mapfish or JasperReport. The Mapfish html renderer is not exactly the same as in classic navigators. The HTML rendering in Mapfish or JasperReport is this one : html rendering in Mapfish As you see, the…
    Marky
    • 41
    • 6
    0
    votes
    1 answer

    changing BulletSpan icon in Android

    I am using BulletSpan(BulletSpan.STANDARD_GAP_WIDTH) How can I change its icon from a circle to ✓? SpannableString s = new SpannableString(text+"\n"); s.setSpan(new BulletSpan(BulletSpan.STANDARD_GAP_WIDTH), 0, text.length(), 0);
    Hamid
    • 355
    • 3
    • 10
    -2
    votes
    1 answer

    PowerPoint Bullets Macro

    I would like to create a Macro that when I select a text box in Powerpoint, automatic spacing after the bullet will be size 9 arial. Also the bullets will always be square and red. Can anybody guide me on how to write macro code for this?
    Sanch
    • 11
    • 1
    • 7