我使用Iconhandbook参考创建了以下图表。
function db_multi_query(array $queries){
global $MySQLi;
$resultArray = array();
foreach($queries as $query){
$MySQLquery = $MySQLi->prepare($query['query']);
if(count($query['params']) == 1){
$MySQLquery->bind_param($query['paramTypes'], $query['params'][0]);
}
if(count($query['params']) == 2){
$MySQLquery->bind_param($query['paramTypes'], $query['params'][0], $query['params'][1]);
}
if(count($query['params']) == 3){
$MySQLquery->bind_param($query['paramTypes'], $query['params'][0], $query['params'][1], $query['params'][2]);
}
if(count($query['params']) == 4){
$MySQLquery->bind_param($query['paramTypes'], $query['params'][0], $query['params'][1], $query['params'][2], $query['params'][3]);
}
if(count($query['params']) == 5){
$MySQLquery->bind_param($query['paramTypes'], $query['params'][0], $query['params'][1], $query['params'][2], $query['params'][3], $query['params'][4]);
}
$MySQLquery->execute();
$resultArray[] = $MySQLquery->get_result();
}
return $resultArray;
}
此外,我发现将dp从24dp更改为36dp,36dp更改为48dp。图标大小增加+----------+-----------+--------------+
| Launcher | Actionbar | Notification |
|----------|-----------|--------------|
| 48 | 24 | 22 |
| 72 | 36 | 33 |
| 96 | 48 | 44 |
| 144 | 72 | 66 |
| 196 | 96 | 88 |
+----------+-----------+--------------+
。
size + 6px
这些尺寸如何根据dp(18dp,24dp ......)变化。特别通知图标?