forked from geode-sdk/android-launcher
just make it actually 16:9
This commit is contained in:
1 file changed
+1
-2
@@ -366,8 +366,7 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
|||||||
frameLayout.layoutParams = frameLayoutParams
|
frameLayout.layoutParams = frameLayoutParams
|
||||||
|
|
||||||
if (displayMode == DisplayMode.LIMITED) {
|
if (displayMode == DisplayMode.LIMITED) {
|
||||||
// despite not being perfectly 16:9, this is what Android calls "16:9"
|
frameLayout.aspectRatio = 1.77f
|
||||||
frameLayout.aspectRatio = 1.86f
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val editTextLayoutParams = ViewGroup.LayoutParams(
|
val editTextLayoutParams = ViewGroup.LayoutParams(
|
||||||
|
|||||||
Reference in new issue
Block a user