android - ARC Welder cuts off the action bar -
i finished work on first android app, new daily quotes. excited hear "port" chromebooks , google chrome through arc welder , chrome web store, i've run snag.
when run app in arc welder, top portion of action bar cut off, making title text impossible read , menu button difficult @ best. degree of cutoff varies depending on form factor selected, phone being worst , tablet/maximized producing same results. below screenshots of mean. source code available here if helps any.
phone ui
arc welder phone ui - landscape
arc welder phone ui - portrait
found answer!
turns out, using arc welder (at least currently) returns api 19 (kitkat), , because using jgilfelt's systembartint library, setting nonexistent status bar tint directly on top of action bar.
i able fix issue not checking ensure in fact on api 19, manufacturer build doesn't contain chromium in contents.
if(build.version.sdk_int == 19 && !build.manufacturer.tolowercase().contains("chromium")) { ... }
Comments
Post a Comment