Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20186] Android (Parity): Support Blur View (aka UIVisualEffectView in iOS)

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
LabelsAndroid, Parity
ReporterAshraf Abu
AssigneeUnknown
Created2016-01-04T01:59:11.000+0000
Updated2018-03-28T09:50:08.000+0000

Description

Providing parity to TIMOB-20176 to allow Blur functionality in Android.

Comments

  1. Muhammad Sabir 2018-03-28

    Any plans to add this in near future?
  2. Michael Gangolf 2018-03-28

    In case you want to use it today: there is an external module: https://github.com/benbahrenburg/Ti.BlurView and an Hyperloop example: https://github.com/appcelerator/hyperloop-examples/blob/master/app/controllers/android/blur.js
  3. Hans Knöchel 2018-03-28

    Thanks [~michael], thats correct! You could eventually also create a lightweight CommonJS module that exports a createBlurView function and even use it in Alloy then (PoC):
       <BlurView module="blurView></BlurView>
       
    With a "blurView.js" in app/lib/:
       exports.createBlurView = function(arguments) }
         if (OS_IOS) {
           return Ti.UI.iOS.createBlurView(arguments);
         } else if (OS_ANDROID) {
           // Handle blurring via Hyperloop on Android
         } else if (OS_WINDOWS {
           // Handle blurring via Hyperloop on Windows
         } else {
           Ti.API.error('Unhandled platform implementation of the BlurView!');
         }
       };
       

JSON Source