Roger, thanks Xav! https://code.google.com/p/android/issues/detail?id=71230
-Tristan On Wednesday, June 11, 2014 2:48:44 PM UTC-7, Xavier Ducrohet wrote: > > It's on our radar, but it's not very high on the priority list. Feel free > to file a ticket. thanks. > > > On Wed, Jun 11, 2014 at 2:40 PM, Tristan Waddington < > [email protected] <javascript:>> wrote: > >> Would it be possible to support "Typeface.createFromAsset" for the layout >> previewer? We have a set of custom views that load custom typefaces and it >> would be a huge time saver if we could see the results in the Android >> Studio layout previewer. We essentially do something like this (where >> name is the filename to load): >> >> AssetManager am = context.getApplicationContext().getAssets(); >> typeface = Typeface.createFromAsset(am, String.format(Locale.US, >> "fonts/%s", name)); >> setTypeface(typeface); >> >> Realize this may be a huge amount of work so I'm mostly just curious if >> it's on your radar. I can file a ticket if it's something that's feasible. >> >> Thanks! >> >> -Tristan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Xavier Ducrohet > Android SDK Tech Lead > Google Inc. > http://developer.android.com | http://tools.android.com > > Please do not send me questions directly. Thanks! > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
