Commit graph

28 commits

Author SHA1 Message Date
Olga Miller
9e5738f807 Added smpte_color_bars.png as default image, removed loading image from Uri stored in Settings,
because of SecurityException in loadImage for Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
2017-03-01 21:14:57 +01:00
Olga Miller
39c229434e Moved version from Label to LabelCollection 2017-02-28 16:51:58 +01:00
Olga Miller
949eddfeed Added version to Settings 2017-02-28 16:38:20 +01:00
Olga Miller
be8b66828b Gradle updates 2017-02-15 19:00:17 +01:00
Olga Miller
f26ee7bc1d Added ModeClassName to Settings,
Use beginObject and endObject once while writing to and reading from settings file,
Set image uri to null instead of empty in Settings class, if no uri is set
2017-02-11 14:56:22 +01:00
Olga Miller
dbbfa21d75 Improved code readability in CropView and Utility
Changed Utility access modifier to 'internal'
2017-02-11 11:44:37 +01:00
Olga Miller
0e5df3571d Moved text size factor calculation out from LabelCollection, write to file also text size factor
MainActivity: Load TextOverlayTemplate before ModeSize is changed in CropView
2017-02-11 10:39:48 +01:00
Olga Miller
d67719abd8 Invalidate CropView in setModeSize also if no image is loaded 2017-02-11 10:28:06 +01:00
Olga Miller
780f641242 Made the corner radius of color boxes similar displayed on devices with different resolution 2017-02-09 20:14:24 +01:00
Olga Miller
80f872e14a Draw rectangle border thin 2017-02-09 19:55:17 +01:00
Olga Miller
62fecce1d3 Read system fonts from XML for text overlay font selection 2017-02-07 22:03:52 +01:00
Olga Miller
27060910f6 Added Version to Label 2017-01-30 22:11:52 +01:00
Olga Miller
cf796fe695 New Thread and additional ProgressBar for saving of wave file,
ProgressBarWrapper now with text
2017-01-09 22:37:17 +01:00
Olga Miller
acaceef5b7 Added ProgressBar for sending 2017-01-08 22:20:12 +01:00
Olga Miller
bd949f044b Request permissions only on Android 6.0 or later 2017-01-07 17:02:42 +01:00
Olga Miller
c08b6e7c4b Prevent ErrnoException class not found error for API level 15 2017-01-07 16:41:58 +01:00
Olga Miller
2e68bb431a Show error instead of send it, if image size is invalid (e.g. -1 x -1) 2017-01-07 14:59:12 +01:00
Olga Miller
82710aa7e2 Fixed take picture option for old Android versions,
Changed "external-path" entry in paths.xml
2017-01-07 14:54:32 +01:00
Olga Miller
38423f76b9 Set empty bitmap if image could not be loaded 2017-01-06 19:11:54 +01:00
Olga Miller
6cc4faf3c4 Improved permission requests
for Android 6.0 (API level 23) or later
2017-01-06 15:33:10 +01:00
Olga Miller
fbdff4d944 Added forgotten invalidate after Label editing 2017-01-06 13:11:34 +01:00
Olga Miller
3d887e8822 Try load image again after permission granted,
added REQUEST_PERMISSION const
2017-01-06 12:36:15 +01:00
Olga Miller
fbd4aef064 Fixes write permission for each sdk version, improved image loading 2017-01-06 12:32:31 +01:00
Olga Miller
c14af42222 Replaced reflection method getConstructor with getDeclaredConstructor
(Was not functioning on a sony phone with Android version 5.1.1.)
2017-01-06 11:36:00 +01:00
Olga Miller
eefa55bb6d Send Labels also without image 2017-01-06 09:09:05 +01:00
Olga Miller
b2574a666d Added configChanges and windowSoftInputMode attributes to EditTextActivity manifest 2017-01-05 10:00:25 +01:00
Olga Miller
7af631dae6 Implemented jumping of the activated Label inside the screen, if it was outside
(because it could be far outside after screen orientation change),

Changed the minimum for decision, whether Label is outside, to minimum of defined minimum size and one letter size,
Added TextOverlay.Position class
2017-01-04 18:00:22 +01:00
Olga Miller
6a5cf6b221 Initial commit 2017-01-03 18:32:45 +01:00