Replies: 2 comments 3 replies
-
Were you able to find an answer to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Changing the MainActivity.ks file to this: package // Keep the old value here
import android.os.Bundle
import androidx.core.view.WindowCompat
class MainActivity : TauriActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
WindowCompat.setDecorFitsSystemWindows(window, false)
}
} and adding this to the theme file (i forgot its path) <item name="android:statusBarColor" tools:targetApi="l">@android:color/transparent</item> should mostly work. A problem with this is opening the keyboard doesn't shift the layout so if you have input fields at the bottom half of the screen they won't be visibile anymore. I did not look into how to best solve this yet. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i'm working with tauri 2 for building android app.
but didn't find a way to set the Activity fullscreen and how to hide the status bar ?
does anyone can help me? even just some idea is very thanks.
Beta Was this translation helpful? Give feedback.
All reactions