Giter Club home page Giter Club logo

android-pictureinpicture's Introduction

android-pictureinpicture's People

Contributors

codingjeremy avatar google-automerger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-pictureinpicture's Issues

New logo design

Hi, are interested in having a logo for you project? I could send you some ideas if you like.

Two processes are created if the video is in a second activity

If you change the video player to a secondary activity and you enter in PictureinPicture mode a new process is created.
This is really easy to reproduce by adding a new activity as MAIN and LAUNCHER with a button that just launches the current MainActivity (with the player) and enter in PiP mode, the Main activity will be left being displayed and you can navigate to other activities (if available).

If you press the video (in PiP mode) twice to open the activity again you will get the two processes.

twoprocesses

Possible Bug: Incompatible with AppCompatDelegate.setDefaultNightMode

  1. Set night theme before super.onCreate

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
  2. Change activity theme to DayNight

    <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">

  3. After starting app, everything looks fine. But when click "enter pip mode" button, the video is stopped and restarted from the beginning. It seems the whole activity is recreated in the night mode so the playing is discontinued. This doesn't happen in the day mode.

I've observed this bug on emulators and devices using support library or androidX.

Failed to find Build Tools revision 26.0.2

I cloned this repo and open it with AS 3.0.1. It failed when gradle sync, error message is:

Error:Failed to find Build Tools revision 26.0.2

Consult IDE log for more details (Help | Show Log)
Install Build Tools 26.0.2 and sync project

I've already have Build Tools 26.0.3, but not install Build Tools 26.0.2.
I know I can click the link to install Build Tools 26.0.2 to solve this problem. But what confuses me is that, I searched the whole repo, and could not find any place particularly write "26.0.2", except the README.md.
Why it need Build Tools 26.0.2 not Build Tools 26.0.3 or else?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.