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