mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 10:45:23 +08:00
Extrakeys: fix typo
This commit is contained in:
committed by
Fredrik Fornwall
parent
244248b1a0
commit
06968a9295
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user