Filter
Exclude
Time range
-
Near
8 Nov 2025
JetpackCompose本日気付き。AnnotatedStringでwithStyleを使って、長ーい長ーい文字列を連結する時は、拡張関数使って整理するとすっきりした😌ついでになぜかファイサイズが16Kも小さくなった、怪我の功名😅
2
41
5 Aug 2025
Styling text in #Compose? AnnotatedString has limits—StyledString simplifies rich text. 🖋 By @_euryperez droidcon.com/2025/08/01/styl…

1
1
4
359
Recently there was a question on kotlinlang slack about using Brush in AnnotatedString spans. There was a confusion about why the gradient renders differently when applied on different parts of text.
1
1
6
1,318
25 Apr 2025
Replying to @turtlekazu_dev
はい、私もこの点が気になりました。あと、AnnotatedStringのhtml対応も。これってXMLの頃にwebviewを使っていたのが、少しは代替できるようになるようですね😁
2
31
いや〜〜TextFieldにAnnotatedString欲しいぞ
3
197
Need to style text in Jetpack Compose? The AnnotatedString is a simple option, but it often involves a lot of boilerplate code. You can use the AnnotatedString.fromHtml function to avoid manual text styling. The string can be stored in resources or in a separate file. #JetpackCompose
4
10
56
3,096
21 Aug 2024
For the curious: we parse the markdown with commonmark-java and display it using a Compose AnnotatedString. The hardest parts were properly integrating with localization and string interpolation and keeping things performant
6
409
In Jetpack Compose 1.7.0-alpha07, the "parseHtml" function was renamed to "fromHtml." It allows you to convert a string with HTML tags into AnnotatedString. Use this method for creating AnnotatedString whenever it's suitable. #AndroidDev #JetpackCompose
2
18
690
🤡 Julia has `printstyled()` with colors and bold-italic format options. We can also talk about AnnotatedString and StyledStrings later in the next release 🎈🙃 Something new is coming soon💫 #julialang @JuliaLanguage
After 29 years, C 23 finally has a "print" function.
1
2
12
1,644
From 1.7.0-alpha06 release notes; Added parseAsHtml method for styled strings: it allows to convert a string marked with HTML tags into AnnotatedString. Don't sleep on this!
3
1
38
3,633
29 Mar 2024
JetpackCompose本日の気付き。AnnotatedStringは、pushStyleでいろんなスタイルを追加し、一部の文字列だけ追加したスタイルの一部を外したい場合はpop()で直前、pop(n)で任意の位置のスタイルを削除可。これは便利😁ただ、全部のスタイルを一括削除するのは不明🤔今までwithStyleしか知らんかった😅
1
3
242
19 Mar 2024
htmlタグ付きの文字列からAnnotatedString作る機能がマージされてる👀 android-review.googlesource.…

1
11
839
Are you looking to style text in Jetpack Compose? The AnnotatedString can help: • Combine styles into a single Text component • Highlight search results • and much more. Read more 🔽 #JetpackCompose #AndroidDev
1
2
352
【Jetpack Compose】 Applying Styles to Text Segments with 'AnnotatedString' in #JetpackCompose
2
12
96
3,877
6 Nov 2023
とても久しぶりに記事を書きました Compose で AnnotatedString と TextLayoutResult を使ってガチャガチャする話です Jetpack Compose でテキスト内リンクを実装する|warahiko zenn.dev/warahiko/articles/6… #zenn
3
11
1,203
15 Oct 2023
“Composing AnnotatedString — Poetry, Music, Code, Blogs, Expandables and Beyond” by Nirbhay Pherwani proandroiddev.com/composing-…
3
24