Bug? Declaring HardwareAcclerated in Manifest will remove Elevation Shadow and Elevation Animations

Discussion in 'Bugs & wishlist' started by chrjak, Jan 18, 2018.

  1. chrjak

    chrjak Active Member Licensed User

    Hey Erel,

    I just found out that setting Hardware-Acclerated to false will disable Elevation.
    I also read a thread about an user reporting that issue but the problem could not be solved. It is probably because of the hardware accleration

    Sadly the H-A causes crashes on my app, so i had to disable it.

    Is there a workaround?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread in the questions forum and include the relevant information.

    Both hardware acceleration and elevation are native Android features.
  3. chrjak

    chrjak Active Member Licensed User

    I wasn't able to reproduce the crashes on myself but on google play it is my most common crash (signal 11)
    I read on the forum that others fixed it by disabling hardware-acceleration.
  4. Erel

    Erel Administrator Staff Member Licensed User

    As I wrote, the elevation feature is a native feature. If it is disabled when hardware acceleration is disabled then it is not a bug in B4A. This is how Android is designed (though I don't remember seeing it documented anywhere).
    Last edited: Jan 18, 2018
    Peter Simpson likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice