Martin Guillon
7fa5f290cc
Merge branch 'master' of github.com:NativeScript/NativeScript
2021-09-30 09:23:34 +02:00
Sébastien JEAN
8e76bbe251
fix(android): StringIndexOutOfBoundsException with invalid drawables ( #9563 )
...
* fix(android/application): org.nativescript.widgets.Utils::getDrawable
* chore: fix spacing
* fix(android/application): do not load empty path
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
* test: Add tests for empty image sources
* chore: add a few more test cases
These make the app crash without the fix in place
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com >
2021-09-25 09:54:34 +02:00
Martin Guillon
e3e5dea2be
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# package.json
# packages/core/bundle-entry-points.ts
# packages/core/color/color-common.ts
# packages/core/color/index.d.ts
# packages/core/globals/index.ts
# packages/core/package.json
# packages/core/ui/core/bindable/index.ts
# packages/core/ui/core/properties/index.ts
# packages/core/ui/core/view/index.android.ts
# packages/core/ui/frame/index.android.ts
# packages/core/ui/styling/style-scope.ts
# packages/ui-mobile-base/android/gradle/wrapper/gradle-wrapper.properties
# packages/webpack5/package.json
# packages/webpack5/src/configuration/base.ts
2021-09-16 10:16:45 +02:00
Igor Randjelovic
5532903ad8
revert: clipsToBounds support
...
This feature needs some more work & will be included in a future version
2021-09-08 16:12:11 -07:00
Martin Guillon
6d18915c22
fix: backgroundGradient fix with android BorderDrawable
2021-09-08 16:07:39 -07:00
farfromrefuge
1ffc1628d0
feat(android): support clipToBounds ( #9508 )
...
* performance improvements around border handling
BREAKING CHANGE:
* if you have broder-radius or clip-path, it will clip by default
2021-09-08 16:07:39 -07:00
Osei Fortune
76499a5367
feat(android): vector drawable support ( #9464 )
2021-09-08 16:07:39 -07:00
Osei Fortune
b2f792324d
feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync ( #9404 )
2021-09-08 16:07:39 -07:00
Martin Guillon
f1406c08e6
fix: backgroundGradient fix with android BorderDrawable
2021-08-18 17:37:44 +02:00
Martin Guillon
c9e87e87f9
fix: android support for clipToBounds
...
It comes with a major refactoring of the BorderDrawable. Now all Paths are cached not to regenerate them on every draw pass.
Also it is important to understand that the clipping feature on android comes at a cost.
It will be done only when truelly necessary. but with complex paths ((border radius > 0 && border non uniform) || border-width >0) then we must apply a costly drawing pass (though hardware accelerated) to accomplish it.
2021-08-11 13:41:21 +02:00
Martin Guillon
971d8eeddf
Merge branch 'master' of github.com:NativeScript/NativeScript
2021-06-09 09:51:06 +02:00
Osei Fortune
f311151496
fix(android): image asset handling regarding requestLegacyExternalStorage ( #9373 )
2021-05-09 19:29:44 -07:00
Martin Guillon
b377860fc7
chore: upgrade ui-mobile-base for JDK 11
2021-04-16 15:13:17 +02:00
Martin Guillon
e6598aee0f
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# apps/automated/src/test-runner.ts
# apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts
# apps/ui/src/bottom-navigation/events-page.ts
# apps/ui/src/main-page.ts
# apps/ui/src/test-page-main-view-model.ts
# package.json
# packages/core/color/color-common.ts
# packages/core/color/index.d.ts
# packages/core/ui/action-bar/index.android.ts
# packages/core/ui/bottom-navigation/index.android.ts
# packages/core/ui/core/view/index.ios.ts
# packages/core/ui/core/view/view-helper/view-helper-common.ts
# packages/core/ui/index.ts
# packages/core/ui/styling/background.android.ts
# packages/core/ui/tab-navigation-base/tab-strip-item/index.ts
# packages/webpack/jasmine-config/reporter.ts
2021-04-08 16:36:02 +02:00
Igor Randjelovic
7c60735d14
chore: cleanup background handling
2021-04-06 11:18:36 -07:00
Igor Randjelovic
9a7d3ecb34
feat: implement BoxShadowDrawable
2021-04-06 11:18:36 -07:00
Ben Delaney
a12c188d0f
fix(core): stack layout padding ( #9183 )
...
fixes #8810
2021-04-06 11:18:36 -07:00
Nathan Walker
67e2fe42b7
feat(core): box-shadow support ( #9161 )
2021-04-06 11:18:36 -07:00
Martin Guillon
5eba48c3c5
fix android widgets build
2021-02-08 09:38:02 +01:00
Martin Guillon
5baec2579d
fix(android): vertical scroll-view now uses NestedScrollView
2021-02-08 09:38:00 +01:00
Dimitris - Rafail Katsampas
5fe27428e0
feat(android): FlexboxLayout support for isPassThroughParentEnabled ( #8798 )
2021-01-29 13:03:27 -08:00
Dimitris - Rafail Katsampas
b47ce0a97c
fix: android Tabs selected item color incorrectly applied ( #9040 )
...
* fix: selected-item-color gets applied to wrong TabStripItems
* chore: Added selection colors to 2 ui examples.
* chore: Removing used for testing.
2020-12-28 13:50:23 +01:00
Nathan Walker
020ad4da37
chore(core): monorepo, esm targeting, improved management ( #8707 )
2020-08-25 20:00:59 -07:00