sudo apt-get install wmctrl
wmctrl -r "Spotify Premium" -b toggle,fullscreen
"Spotify Premium" - the name of the window may vary
Credit: https://community.spotify.com/t5/Desktop-Linux/Stuck-in-Full-Screen/m-p/1241023/highlight/true#M841
sudo apt-get install wmctrl
wmctrl -r "Spotify Premium" -b toggle,fullscreen
"Spotify Premium" - the name of the window may vary
Credit: https://community.spotify.com/t5/Desktop-Linux/Stuck-in-Full-Screen/m-p/1241023/highlight/true#M841
| #!/bin/bash | |
| # generate mvp folders and classes for screens component | |
| ############### | |
| ##screen name | |
| PARENT_FOLDER=$1 | |
| ############### | |
| ##activity name | |
| ACTIVITY_NAME=$2 | |
| ############### |
1. Create a new project and download these sample images. Save the image files into the project's res/drawable/ directory.
2. Open the res/layout/activity_main.xml file and insert the following:
activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"