Questions tagged [textstyle]

57 questions
9
votes
2 answers

Beautiful Stroked Text in Android

I know how to stroke text using custom views(EditText or TextView) but I couldn't able to achieve something beautiful like this one, which is done using Photoshop. And yes, it has outer shadow too. What I have done so far is adjusting stroke width…
Swan
  • 886
  • 1
  • 9
  • 23
7
votes
2 answers

How to set textStyle of a Cupertino app in flutter

I have a CupertinoApp and I would like to apply a custom TextStyle to all the screen/object of my app. For example I would lie to set a font family to all Text widget & Dialog widget and use that font across all my app. I was hoping to set it once…
M4trix Dev
  • 1,828
  • 3
  • 23
  • 48
7
votes
1 answer

Drawing an image above an android text span

I am creating a complex text view, meaning different text styles in the same view. some of the text needs to have a small image just above it. but the text should still be there (not just replaced) so a simple ImageSpan will not do. I can't use a…
user1852503
  • 4,747
  • 2
  • 20
  • 28
6
votes
2 answers

How to create a global TextStyle in Flutter?

In my home page in build widget before return statement I use below code. If I create an another widget in my home page I have to copy below code before each return statement. If you create another stateless/stateful dart file I need to copy below…
NTMS
  • 816
  • 7
  • 22
6
votes
1 answer

Change text style (to bold) in custom style resource for collapsing toolbar layout

I am using a collapsible toolbar in a project and I am trying to set the textStyle of the expanded collapsing toolbar title to bold. For some reason I can change pretty much anything using a custom text appearance except textStyle. Does anyone have…
Ely
  • 10,860
  • 4
  • 43
  • 64
6
votes
0 answers

Change TextInputLayout only hint text style

I am trying to change TextInputLayout hint text style to bold. I changed color and other styles of hint in styles with use of TextAppearance :