Fix ek-x appearance after reseed screen is applied
This commit is contained in:
parent
1d6f0a2b91
commit
cf51f719d1
@ -64,11 +64,6 @@ public class AdditionalKeyboardView extends HorizontalScrollView implements View
|
|||||||
setVisibility(View.GONE);
|
setVisibility(View.GONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (preferences.getBoolean("Reseed", true)) {
|
|
||||||
if (getVisibility() != View.GONE)
|
|
||||||
setVisibility(View.GONE);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
Rect r = new Rect();
|
Rect r = new Rect();
|
||||||
getWindowVisibleDisplayFrame(r);
|
getWindowVisibleDisplayFrame(r);
|
||||||
|
@ -1,20 +1,33 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:id="@+id/relative">
|
||||||
|
|
||||||
<SurfaceView
|
<FrameLayout
|
||||||
android:id="@+id/lorieView"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="wrap_content"
|
android:layout_height="fill_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:id="@+id/frame">
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/lorieView"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
<com.termux.x11.AdditionalKeyboardView
|
<com.termux.x11.AdditionalKeyboardView
|
||||||
android:id="@+id/additionalKbd"
|
android:id="@+id/additionalKbd"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@+id/frame"
|
||||||
|
android:layout_alignBottom="@id/relative"/>
|
||||||
|
|
||||||
<!-- Without this view AdditionalKeyboard view sometimes dissapear -->
|
<!-- Without this view AdditionalKeyboard view sometimes dissapear -->
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent"
|
||||||
</FrameLayout>
|
android:layout_below="@+id/frame"
|
||||||
|
android:layout_alignBottom="@id/relative"/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user