Immersive mode fix (issue #21)

* Alpha value now follows status icons (Mute/Vibrate icons, etc) instead
of clock. When they hide, the indicator hides too.
Background data restriction fix (issue #11)

* Use the correct boolean to detect if a connection is available
(connection will not be permanently connected when 'Restrict background
data' setting is enabled in 'Data usage' settings)
Use float for font size #22

* Font size preference can now accept floating values. More fine-grained
control of size is possible (limited only by screen pixels)
Show default or formatted value in summary #22

* Summary for text input preferences will now show the formatted value.
If value is invalid, the default value is shown.
Show hint and unit for numeric prefs #20

+ Show short form of unit in numeric preferences summaries
+ Show long form of unit as a hint in numeric preferences edit dialog
(hint shown when no text entered)
+ Make both localizable.
Change 'Force unit' to 'Unit'

* Changed the display name. No need to mention "force".
* Resource name changed to encourage re-localization.
Make summary units more easily localizable #20

* Summary units now use format strings to be more easily localizable.
If, for example, local translations prefix the unit before number, this
is more easily achievable now.
Change unit building strings to constants #19
French translation
Merge pull request #25 from Micks29/patch-1

French translation
Prepare and clean-up XML for Unit Mode #19

+ Expanded the unit_entries array into four separate arrays for dynamic display change
+ New "Unit mode" setting, feature complete control over exactly what unit is being used
* Auto and Manual strings now placed on their own (for sharing Auto string)
* Non-translatable string arrays moved to values.xml with references to translatable strings
- Cleaned up obsolete strings
Implement the Unit mode setting #19

+ Custom summary attached to the selected Unit mode value text
+ Using unit mode selection, the unit choices (entries) will be dynamically refreshed.
* Method name changed to reflect its expanded purpose
* Optimize refreshPreferences logic to not process too many things unnecessarily
* Reduced redundant code and increased efficiency in createText
* Changed default unit mode to 'Decimal bytes'
Merge branch 'master' of https://github.com/chiehmin/Xposed-NetworkSpeedIndicator
Fix French translation xml

* Sync with default strings.xml
Fix line endings, update gitignore
Updating gitignore and adding gitattributes to fix line endings.
Implement display threshold per issue #19

+ Display threshold setting added (configurable as B/s)
- Obsolete 'Hide when speed is zero' setting removed
Optimize SettingsActivity code

Remove some redundant stuff to get cleaner code
Remove default values from edit text preferences

Edit text preferences should not be pre-populated with defaults, so that
hints can be shown when user installs app for first time (or clears
data). Program will automatically fall back to default when values are
blank.
Optimize TrafficView code

Speed calculation more accurate; some general code clean-up
Optimize TrafficView code (2)

Only get initial values during launch; also, fix a mistake in original
code