当我使用webview加载html代码时,如果设备在android 5.0以上,webview的页面加载是全屏而没有其他设置,但如果设备在android 5.0以下,页面不能全屏,为什么?如何解决这个问题?
答案 0 :(得分:0)
尝试以下代码
/* Prepare the options to be used in the filter */
$tagRepo = $this->getConfigurationPool()->getContainer()->get('repository.tag');
$types = $tagRepo->findTypes();
$choices = array();
/* Create a simple choice compatible array */
foreach ($types as $type) { $choices[$type] = $type; }
/* In the actial filter itself */
$datagridMapper
->add('type', 'doctrine_mongo_choice', array(), 'choice',
array('choices' => $choices))