-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally show the app icon in the toolbar again (#93)
* Show the app icon in the toolbar again * Update logo file * Completely remove app name in toolbar * Show/hide title based on rotation, reading a custom theme for that --------- Co-authored-by: Raphael Michel <[email protected]>
- Loading branch information
Showing
26 changed files
with
89 additions
and
264 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,8 @@ | ||
mkdir -p ../pretixdroid/pretixdroid/app/res/drawable-ldpi/ | ||
mkdir -p ../pretixdroid/app/src/main/res/drawable-mdpi/ | ||
mkdir -p ../pretixdroid/app/src/main/res/drawable-hdpi/ | ||
mkdir -p ../pretixdroid/app/src/main/res/drawable-xhdpi/ | ||
mkdir -p ../pretixdroid/app/src/main/res/drawable-xxhdpi/ | ||
mkdir -p ../pretixdroid/app/src/main/res/drawable-xxxhdpi/ | ||
|
||
for f in ic_*.svg; do | ||
echo $f; | ||
inkscape -zf $f -w 36 -e ../pretixdroid/app/res/drawable-ldpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 48 -e ../pretixdroid/app/src/main/res/drawable-mdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 72 -e ../pretixdroid/app/src/main/res/drawable-hdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 96 -e ../pretixdroid/app/src/main/res/drawable-xhdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 144 -e ../pretixdroid/app/src/main/res/drawable-xxhdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 192 -e ../pretixdroid/app/src/main/res/drawable-xxxhdpi/$(echo $f | sed s/svg/png/); | ||
for f in ic_logo.svg; do | ||
echo $f-export- | ||
inkscape -z $f -w 48 --export-type=PNG --export-filename=../pretixscan/app/src/main/res/drawable-mdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -z $f -w 72 --export-type=PNG --export-filename=../pretixscan/app/src/main/res/drawable-hdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -z $f -w 96 --export-type=PNG --export-filename=../pretixscan/app/src/main/res/drawable-xhdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -z $f -w 144 --export-type=PNG --export-filename=../pretixscan/app/src/main/res/drawable-xxhdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -z $f -w 192 --export-type=PNG --export-filename=../pretixscan/app/src/main/res/drawable-xxxhdpi/$(echo $f | sed s/svg/png/); | ||
done; | ||
|
||
for f in logo*.svg; do | ||
echo $f; | ||
inkscape -zf $f -w 225 -e ../pretixdroid/app/src/main/res/drawable-ldpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 300 -e ../pretixdroid/app/src/main/res/drawable-mdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 450 -e ../pretixdroid/app/src/main/res/drawable-hdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 600 -e ../pretixdroid/app/src/main/res/drawable-xhdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 900 -e ../pretixdroid/app/src/main/res/drawable-xxhdpi/$(echo $f | sed s/svg/png/); | ||
inkscape -zf $f -w 1200 -e ../pretixdroid/app/src/main/res/drawable-xxxhdpi/$(echo $f | sed s/svg/png/); | ||
done; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.