Commit Graph

103 Commits

Author SHA1 Message Date
Vladimir Enchev
d76deae87b AsyncTask reworked with threads 2017-01-10 16:23:03 +02:00
Rossen Hristov
a89b28d145 Add TabLayout.getItemCount method
Related to https://github.com/NativeScript/NativeScript/issues/3147
2016-12-06 11:14:08 +02:00
Rossen Hristov
23a3a70a82 Fix: Transparent border rendered as black
Related to https://github.com/NativeScript/NativeScript/issues/3113
2016-11-21 11:49:32 +02:00
Rossen Hristov
e00fa2a24f Add inset CSS clip-path support
Resolves https://github.com/NativeScript/NativeScript/issues/2693
Resolves https://github.com/NativeScript/NativeScript/issues/3060
2016-11-10 14:41:48 +02:00
Panayot Cankov
9c46d0902a Setting flex-shrink to zero on the last items sometimes was still shrinking the item with 1 pixel 2016-11-07 14:12:58 +02:00
Rossen Hristov
d915cbca95 Merge pull request #67 from NativeScript/issue-65
Fix: java.lang.NumberFormatException when applying clip-path with per…
2016-11-02 17:04:55 +02:00
Hristo Hristov
8feec8982b Image cache won't work if FileSystem is in read-only mode. (#66)
ImageView will remove its bitmap when not in visual tree and apply it back once shown.
ImageView add setUri method.
ViewHelper added new method for API 21.
2016-11-02 16:47:36 +02:00
Rossen Hristov
0772a2cdce Fix: java.lang.NumberFormatException when applying clip-path with percentage values
Resolves #65
2016-11-02 16:35:14 +02:00
Rossen Hristov
78183d4328 Merge pull request #62 from NativeScript/tab-css
Add support for TabView CSS
2016-10-24 15:39:35 +03:00
Panayot Cankov
dd345e65c1 Flex grow sometimes causes elements with flexGrow 0 at the end of a flex line to shrink 2016-10-24 14:05:03 +03:00
Rossen Hristov
25fe583ffa Add support for TabView CSS 2016-10-24 11:13:30 +03:00
Hristo Hristov
2c7efac368 Fix loggin mode (#60) 2016-10-20 13:42:47 +03:00
Hristo Hristov
e29205f370 Log is done only when debugging is enabled (#59) 2016-10-19 16:29:34 +03:00
Hristo Hristov
00297e069f Fix for cases where no external storage is attached (#58)
* Fix for cases where context.getExternalCacheDir() returns null because there is no external storage attached.

* Fix crash when WRITE_EXTERNAL_STORAGE permission is missing on API level < 19
2016-10-17 16:16:55 +03:00
Hristo Hristov
626e148e2b Image background is drawn first not after bitmap. (#57)
Image file cache is used only for images downloaded through web.
Image cache is now caching Bitmap instead of BitmapDrawables (drawables are not immutable).
2016-10-13 16:39:15 +03:00
Hristo Hristov
ace4777811 Fix image loading from resource (#56) 2016-10-07 15:28:16 +03:00
Hristo Hristov
701c9d26cd Remove the code that requires ACCESS_NETWORK_STATE 2016-10-07 11:31:24 +03:00
Hristo Hristov
adad33a129 Image improvements (#53)
* ImageView loads Bitmaps in Java so that they can be GC'ed.
Added ImageCache, AsyncLoading, Memory & DiskCache, Reusing Bimtaps

* Change FILE_PREFIX to match iOS file prefix.

* Refactoring package & class names

* Package renamed
2016-10-03 14:58:11 +03:00
Nedyalko Nikolov
810d19e7f6 Added rotation logic within widgets ImageView class. 2016-09-29 14:18:11 +03:00
Panayot Cankov
b85806a8b0 Merge pull request #52 from NativeScript/flexbox-layout
Flexbox layout
2016-09-28 14:19:59 +03:00
Rossen Hristov
a31632615d Non-uniform borders 2016-09-16 11:58:39 +03:00
Panayot Cankov
942439fd0b Add support for percentage width, height and margin, and don't require top left alignment 2016-09-07 17:28:39 +03:00
Rossen Hristov
ff30809a0a Update gradle wrapper to 2.14.1 2016-09-02 08:31:00 +03:00
Panayot Cankov
5f25db1f21 Add the Apache-2 FlexBox layout implementation from google. 2016-08-29 15:04:04 +03:00
Hristo Hristov
7bf98a4a68 Merge pull request #42 from dfg-nota/bugfix/http
Fix Async.Http HEAD and DELETE on Android
2016-08-12 11:22:05 +03:00
vchimev
ecebdb6101 Publish @next
Update .travis.yml.
Add .travis/add-publishConfig.js.
Fix a typo.
2016-07-14 16:24:18 +03:00
plamen5kov
4d53d46769 added build status on root readme 2016-07-13 08:53:20 +03:00
Plamen Petkov
409117d59a Update README.md 2016-07-12 16:50:52 +03:00
vchimev
db73e9ada2 Update .travis.yml 2016-07-12 16:21:15 +03:00
atanasovg
73fb30a9e0 Indentation. 2016-07-07 15:06:10 +03:00
Daniel Freiling
7618abba87 Fix indentation 2016-07-06 16:15:32 +02:00
Daniel Freiling
e7a894f1cd Rename Async.Http method variables to follow Java conventions 2016-07-06 16:10:58 +02:00
Daniel Freiling
7c60834151 Fix DELETE request sending contents on Android
Strings compared by reference and not contents
2016-07-06 16:10:06 +02:00
Daniel Freiling
8368c42716 Fix HEAD requests on large files for Android
ByteArrayOutputStream was always allocated with the size of content-length, even on HEAD requests
2016-07-06 16:06:32 +02:00
atanasovg
047b6b6888 Add async image tasks 2016-07-06 17:00:57 +03:00
Hristo Deshev
162450e76e Correctly resolve HTTP headers with multiple values on Android.
No longer clobbering one of the values if the server set a HTTP header
multiple times e.g.:

Header1: value-one
Header1: value-two
2016-07-04 15:58:31 +03:00
Plamen Petkov
8ba13be39a Merge pull request #40 from NativeScript/plamen5kov/standalone_widgets_project
migrated widgets project so it has nothing unnecessary
2016-07-04 11:56:26 +03:00
Plamen Petkov
4a72892771 Create README.md 2016-07-01 16:26:25 +03:00
plamen5kov
5942abc15f migrated widgets project so it has nothing unnecessary
project can now be build with android studio or by running the command gradlew build
2016-07-01 16:17:45 +03:00
vchimev
4c843eec6f Build android widgets with gradle wrapper
Update gradle wrapper to 2.2.
2016-06-29 19:35:10 +03:00
Rossen Hristov
cfdaa8a598 Optimisations 2016-06-24 14:47:52 +03:00
Rossen Hristov
505f4cbfa1 Small optimisation. 2016-06-21 16:09:19 +03:00
Rossen Hristov
47d0443147 Trying to fix the antialiasing test failure in ui-test-app 2016-06-20 16:41:09 +03:00
Rossen Hristov
017c4e0c62 Fixes for tests failing in ui-tests-app 2016-06-20 16:15:13 +03:00
Rossen Hristov
8ce960beab Add public getters 2016-06-20 11:14:11 +03:00
Rossen Hristov
b07ace7938 Fix string comparison 2016-06-17 14:58:20 +03:00
Rossen Hristov
496839cf4e Remove toString method 2016-06-17 14:47:23 +03:00
Rossen Hristov
b4a26e392a Add BorderDrawable 2016-06-17 13:07:19 +03:00
Georgi Atanasov
63356e9edf Merge pull request #26 from NativeScript/atanasovg/add-async-from-proj-template
Move the Async.java implementation from the Android Runtime project template here
2016-06-14 16:10:57 +03:00
Rossen Hristov
a4294de030 Fix: Images have margin when added to Layout
Resolves https://github.com/NativeScript/NativeScript/issues/1425
2016-06-14 10:42:23 +03:00