Antennapod: Make AntennaPod resizable

Created on 23 Jul 2020  路  5Comments  路  Source: AntennaPod/AntennaPod

Checklist

  • [x] I have used the search function to see if someone else has already submitted the same feature request.
  • [x] I will only create one feature request per issue.
  • [x] I will describe the problem with as much detail as possible.

System info


App version: 1.8.1 (6e6a64f50) (F-Droid)

Feature description

AntennaPod should be resizable

Problem you may be having, or feature you want:
I would like to use AntennaPod like a regular, resizing application.

Suggested solution:

Samsung has documentation on how to enable window resizing for Android applications:

<application
    android:resizeableActivity="true">
</application>

This documentation also has more tweaks and information on how to improve the desktop experience in case you're interested.
They also have an app testing guide (although some apps are fine with this guide but won't work on "real" DeX sometimes).

Screenshots / Drawings / Technical details:

I'm using Samsung DeX, which gives a desktop like experience and makes use of Android windowing support.

At the moment the resizing button is greyed out and the app is always nearly squarish:

Screenshot of AntennaPod on Samsung DeX

PS: I know that it is possible to _force_ all apps to be resizable via Samsung Labs > Force Resize but it would obviously better to make the application natively resizable to create less friction.
PPS: I'm not sure whether this is relevant but this is how GitNex fixed the issue and this is how NewPipe fixed it.

help wanted

Most helpful comment

I just merged a change to the develop branch that allows testing without a build environment.

  • Open the "checks" section of the commit or pull request and select the unit-tests check on CircleCI:
  • Select the Build debug job:
  • Download the artifact:

I hope that this works for everyone, even if you don't have write permissions to the AntennaPod repo.

All 5 comments

Looks like you have done some research already. It would be great if you could propose a pull request. I do not have access to a DeX device for testing. The most important thing to test would be that AntennaPod does not need to reload episodes from the database when resizing (and that it does not crash, obviously).

I'm not an Android developer and I have no experience with building stuff for the Android ecosystem.
But I can try building it if you can recommend a build chain within a Docker container for me (or any other way how I can get a Apk without having to modify my system).
I would also use a VM in the worst case.

Otherwise I can also test a Apk if you can build one.

I just merged a change to the develop branch that allows testing without a build environment.

  • Open the "checks" section of the commit or pull request and select the unit-tests check on CircleCI:
  • Select the Build debug job:
  • Download the artifact:

I hope that this works for everyone, even if you don't have write permissions to the AntennaPod repo.

Hi @alexanderadam I created a PR but we need your feedback. You can download the apk here: https://circleci.com/gh/AntennaPod/AntennaPod/10686?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link

@asdoi this build works perfectly! :pray: Thank you for your work!

There's only one thing that might be a bit weird: the menu is very wide.

AntennaPod with open menu on Samsung DeX / Samsung S6 Tablet

The menu on others is usually as wide as it needs. But for AntennaPod it always seems to have the same padding on the right side.
This is unrelated to the resizing feature though and rather defined by a regular layout rule. Resizing itself works perfectly fine with this build.

Was this page helpful?
0 / 5 - 0 ratings