mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-15 13:31:14 +01:00
Extrakeys: fix typo
This commit is contained in:
parent
244248b1a0
commit
06968a9295
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ public final class ExtraKeysView extends GridLayout {
|
||||||
LayoutParams param = new GridLayout.LayoutParams();
|
LayoutParams param = new GridLayout.LayoutParams();
|
||||||
param.width = 0;
|
param.width = 0;
|
||||||
if(Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP){ //special handle api 21
|
if(Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP){ //special handle api 21
|
||||||
param.height = (int)(37.5 * getResources().getDisplayMetrics().density + 0.5); // 37.5 equal to R.id.viewpager layout_heihgt / rows in DP
|
param.height = (int)(37.5 * getResources().getDisplayMetrics().density + 0.5); // 37.5 equal to R.id.viewpager layout_height / rows in DP
|
||||||
}else{
|
}else{
|
||||||
param.height = 0;
|
param.height = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue