1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="uk.nandi.frq">
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
<!--
Not the Fullscreen theme below: under it the window owns the whole
display, content_rect is the whole display too, and there is nothing for
vidya to inset by — the status bar clock sits on top of the app and the
compose bar sits under the keyboard.
-->
<application
android:allowBackup="false"
android:hasCode="false"
android:label="frq"
android:theme="@android:style/Theme.Material.NoActionBar">
<!--
adjustResize: without it the activity's content_rect never shrinks for
the soft keyboard, so vidya has no IME inset to reserve and the compose
bar sits under the keys.
-->
<activity
android:name="android.app.NativeActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:windowSoftInputMode="adjustResize"
android:exported="true"
android:screenOrientation="portrait">
<!--
The activity's library is libvidya.so, not the Jolt one: whoever
holds android-activity's glue owns the event loop, and winit
cannot build one without the AndroidApp handle that glue receives.
It dlopens libjoltapp.so in turn. See ffi/src/android.rs.
-->
<meta-data
android:name="android.app.lib_name"
android:value="vidya" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
|