https://github.com/multiqostechnologies/picture_in_picture_android
https://github.com/multiqostechnologies/picture_in_picture_android
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/multiqostechnologies/picture_in_picture_android
- Owner: MultiQoSTechnologies
- Created: 2022-04-19T09:31:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-19T11:13:12.000Z (over 3 years ago)
- Last Synced: 2025-04-06T04:23:47.249Z (7 months ago)
- Language: Kotlin
- Size: 103 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PictureInPicture in Android (Kotlin)
Picture in picture allows you to multitask.Picture in picture is a nice feature for heavy multitaskers who jump from app to app
## Introduction
As of Android O, activities can launch in [Picture-in-Picture (PiP)](https://developer.android.com/guide/topics/ui/picture-in-picture) mode. PiP is a special type of multi-window mode mostly used for video playback.
To enable pip in your activity you can , Inline `set android:supportsPictureInPicture` to Inline `true` in the manifest. (Beginning with the O Developer Preview, you do not need to Inline `set android:resizeableActivity` to Inline `true` if you are supporting PIP mode, either on Android TV or on other Android devices; you only need to Inline `setrandroid:resizeableActivity` if your activity supports other multi-window modes.)
## Pre-requisites
- Android SDK 26
- Android Build Tools v26.0.2
## Project Created & Maintained By
[MultiQoS Pvt. Ltd.](https://multiqos.com/)
## Demo
https://user-images.githubusercontent.com/103997982/163989805-ddcd2278-7b17-45f9-96ec-3cac62c004f7.mp4