react-native-macos/RNTester/js
Dulmandakh f01c4e2a14 add support for native/downloadable fonts (#23865)
Summary:
Android API 26 and Android Support Library 26 added support for font resource type and native/downloadable fonts. It allows apps to easily download fonts from online providers, but also use of various font weights other than normal and bold, like medium. So it deprecated APIs for asset fonts, and should be removed in the future.

Advantages:
- Just copy font files in res/font and use it specifying filename (without extension) in fontFamily
- Define custom font-family using XML file (in res/font) and font files, it may have many weights and styles. See PR for example.
- Define configuration to download fonts from online font providers, and use it.

See https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml and https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts

[Android] [Changed] - add support for custom/downloadable fonts
Pull Request resolved: https://github.com/facebook/react-native/pull/23865

Differential Revision: D14506542

Pulled By: hramos

fbshipit-source-id: 67ba3148fb4b548cdbc779213cf6c1b2c3baffd2
2019-04-10 13:53:25 -07:00
..
AnimatedGratuitousApp Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
Shared Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
Thumbnails Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
ARTExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AccessibilityAndroidExample.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AccessibilityExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AccessibilityIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ActionSheetIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ActivityIndicatorExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AlertExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AlertIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AnimatedExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AppStateExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AssetScaledImageExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
AsyncStorageExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
BorderExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
BoxShadowExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ButtonExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
CameraRollExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
CameraRollView.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
CheckBoxExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ClipboardExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
CrashExample.js Crash reporting heaven (#23691) 2019-03-12 19:41:51 -07:00
DatePickerAndroidExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
DatePickerIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
DimensionsExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
FlatListExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ImageCapInsetsExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ImageEditingExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ImageExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
InputAccessoryViewExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
KeyboardAvoidingViewExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
LayoutAnimationExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
LayoutEventsExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
LayoutExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
LinkingExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ListExampleShared.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
MaskedViewExample.js Separate MaskedViewExample into individual examples (#23168) 2019-01-28 03:18:44 -08:00
ModalExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
MultiColumnExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
NativeAnimationsExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
NetInfoExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
OrientationChangeExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
PanResponderExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
PermissionsExampleAndroid.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
PickerExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
PickerIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
PointerEventsExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ProgressBarAndroidExample.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ProgressViewIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
PushNotificationIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RCTRootViewIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterActions.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RNTesterApp.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterApp.ios.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterBlock.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
RNTesterButton.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterExampleContainer.js Fix RNTester Camera Example 2019-01-10 15:47:02 -08:00
RNTesterExampleFilter.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterExampleList.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterList.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterList.ios.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterNavigationReducer.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RNTesterPage.js RNTester: Remove all but one instance of PropTypes (#21321) 2018-09-25 17:17:37 -07:00
RNTesterSettingSwitchRow.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterStatePersister.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RNTesterTitle.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RTLExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RefreshControlExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
RootViewSizeFlexibilityExampleApp.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SafeAreaViewExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ScrollViewExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ScrollViewSimpleExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SectionListExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SegmentedControlIOSExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SetPropertiesExampleApp.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ShareExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SliderExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SnapshotExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SnapshotViewIOS.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SnapshotViewIOS.ios.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
StatusBarExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
SwitchExample.js fix switch trackColor on Android. fixes #23962 (#23977) 2019-03-16 07:33:14 -07:00
TVEventHandlerExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
TextExample.android.js add support for native/downloadable fonts (#23865) 2019-04-10 13:53:25 -07:00
TextExample.ios.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TextInputExample.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TextInputExample.ios.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TimePickerAndroidExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TimerExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ToastAndroidExample.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ToolbarAndroidExample.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ToolbarAndroidExample.ios.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TouchableExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TransformExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
TransparentHitTestExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
URIActionMap.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
VibrationExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ViewExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
ViewPagerAndroidExample.android.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
WebSocketExample.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
XHRExample.js Remove WebView from public RN interface 2019-03-28 17:37:05 -07:00
XHRExampleBinaryUpload.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
XHRExampleDownload.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
XHRExampleFetch.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
XHRExampleFormData.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
XHRExampleHeaders.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
XHRExampleOnTimeOut.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
bunny.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
createExamplePage.js Rewrite imports in RNTester to use standard paths (#24317) 2019-04-10 10:20:25 -07:00
flux@3x.png fixed image in RNTester snapshot example 2017-08-31 15:16:05 -07:00
hawk.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
helloworld.html Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
http_test_server.js Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00
imageMask.png MaskedViewIOS -- A way to apply alpha masks to views on iOS 2017-07-11 15:05:57 -07:00
messagingtest.html Typos in comments and log messages 2018-01-12 22:18:45 -08:00
relay@3x.png fixed image in RNTester snapshot example 2017-08-31 15:16:05 -07:00
slider-left.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider-left@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider-right.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider-right@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
tumblr_mfqekpMktw1rn90umo1_500.gif Make RNTester GIF example locate local file system image (#23689) 2019-02-28 18:09:37 -08:00
uie_comment_highlighted@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_comment_normal@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_thumb_big.png Revert D5189017: [RN] Native implementation of <Image> intrinsic content size on iOS 2017-10-25 08:20:48 -07:00
uie_thumb_normal@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_thumb_selected@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
websocket_test_server.js Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00