Skip to content

Commit

Permalink
7.7.2: Swapped functionality: long-press poster is open external
Browse files Browse the repository at this point in the history
resources popup, double tap on poster is show details; Added adaptive
icon for Android 8+; Redid square icon (bit smaller); Action bar icon a
bit sharper; Display show title in external resources dialogs; Don't
show new "Add show" button in empty log; Some tabbing.
  • Loading branch information
Guillaume authored and Guillaume committed Oct 18, 2017
1 parent 9a31e03 commit e17d0f5
Show file tree
Hide file tree
Showing 18 changed files with 382 additions and 95 deletions.
222 changes: 222 additions & 0 deletions icon/material-adaptive-icon_foreground.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon/material-adaptive-render-icon.zip
Binary file not shown.
Binary file modified icon/material-render-actionbar.zip
Binary file not shown.
Binary file modified icon/material-render-icon.zip
Binary file not shown.
25 changes: 22 additions & 3 deletions icon/material-render.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html

Launcher icon:
https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0.2&foreColor=rgb(255%2C 255%2C 255)&backColor=rgb(255%2C 61%2C 0)&crop=0&backgroundShape=square&effects=shadow&name=icon
https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0.25&foreColor=rgb(255%2C 255%2C 255)&backColor=rgb(255%2C 61%2C 0)&crop=0&backgroundShape=square&effects=shadow&name=icon
Color: #fff
Scaling: Center
Background color: #ff3d00
Padding: 20%
Padding: 25%
Shape: Square
Effect: Cast shadow
Name: icon

Action Bar:
Launcher icon (adaptive):
https://android-material-icon-generator.bitdroid.de
Background color: #ff4207
Icon color: #fff
Shadow length: 60
Shadow intensity: 0.13
Shadow fading: 0
Icon size: 5.7
(Shadow extended in Inkscape / Asset Studio: Resize 78% / Background #FF4207)

Action bar:
https://android-material-icon-generator.bitdroid.de/
Background color: transparent
Background shape: square
Background effect: none
Icon color: rgba(255,255,255,0.9)
Shadow length: 0
Icon size: 6.2

Action bar (previous):
https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0.1&foreColor=rgba(255%2C%20255%2C%20255%2C%200.9)&backColor=rgb(255%2C%2061%2C%200)&crop=0&backgroundShape=none&effects=none&name=actionbar
Color: rgba(255, 255, 255, 0.9)
Scaling: Center
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ __Some pointers__:
* Swipe left-to-right to go back
__In Shows Overview__:
* Tap poster for next episode info
* Double tap for external resource (to \*[url]s directly, or list)
* Long-press poster for show info
* Double tap for for show info
* Long-press poster external resource (to \*[url]s directly, or list)
* Swipe right-to-left to mark next as seen
__In Show Details__:
* Tap poster for full-screen view
Expand Down
5 changes: 5 additions & 0 deletions res/drawable-anydpi-v26/icon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/iconbg"/>
<foreground android:drawable="@drawable/icon_foreground"/>
</adaptive-icon>
26 changes: 26 additions & 0 deletions res/drawable-anydpi-v26/icon_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="63.157894"
android:viewportHeight="63.157894">
<group android:translateX="7.5789475"
android:translateY="7.5789475">
<path
android:pathData="M11.13,31.75C10.72,31.34 10.47,30.78 10.47,30.16V16.62c0,-1.25 1.01,-2.26 2.26,-2.26h5.68c0.35,-0.52 0.78,-0.97 1.28,-1.34L18.51,11.85c-0.18,-0.18 -0.18,-0.46 0,-0.64 0.09,-0.09 0.2,-0.14 0.32,-0.14 0.11,0 0.23,0.05 0.32,0.14l1.34,1.33c0.72,-0.36 1.53,-0.57 2.39,-0.57 0.85,0 1.67,0.21 2.38,0.57l1.33,-1.33c0.18,-0.18 0.46,-0.18 0.64,0l3.15,3.15h2.63c0.62,0 1.19,0.25 1.6,0.66l8.38,8.38 48.37,48.29c0.78,0.78 -24.76,15.4 -25.54,14.62L22.38,43Z"
android:strokeLineCap="butt"
android:fillAlpha="0.09803922"
android:fillType="nonZero"
android:strokeColor="#00000000"
android:fillColor="#000000"
android:strokeWidth="1"
android:strokeLineJoin="miter"/>
<path
android:pathData="m33.02,14.37c1.24,0 2.26,1 2.26,2.26v7.33L33.02,23.95L33.02,16.62L12.72,16.62L12.72,30.16L29.07,30.16L29.07,32.41L12.72,32.41c-1.24,0 -2.26,-1.01 -2.26,-2.26L10.47,16.62c0,-1.25 1.01,-2.26 2.26,-2.26h5.68c0.35,-0.52 0.78,-0.97 1.28,-1.34l-1.18,-1.18c-0.18,-0.18 -0.18,-0.46 0,-0.64 0.09,-0.09 0.2,-0.14 0.32,-0.14 0.11,0 0.23,0.05 0.32,0.14l1.34,1.33c0.72,-0.36 1.53,-0.57 2.39,-0.57 0.85,0 1.67,0.21 2.38,0.57l1.33,-1.33c0.18,-0.18 0.46,-0.18 0.64,0 0.18,0.18 0.18,0.46 0,0.64l-1.17,1.17c0.51,0.37 0.95,0.83 1.3,1.35zM27.38,23.39c0,2.49 -2.02,4.51 -4.51,4.51 -2.49,0 -4.51,-2.02 -4.51,-4.51 0,-2.49 2.02,-4.51 4.51,-4.51 2.49,0 4.51,2.02 4.51,4.51zM24.68,23.39 L21.97,21.36v4.06zM37.53,26.21v9.02c0,0.94 -0.76,1.69 -1.69,1.69h-4.51c-0.94,0 -1.69,-0.76 -1.69,-1.69v-9.02c0,-0.94 0.76,-1.69 1.69,-1.69h4.51c0.94,0 1.69,0.76 1.69,1.69zM34.71,35.23h-2.26v0.56h2.26zM36.54,26.21h-5.92v7.89h5.92zM34.15,28.95v0.81L31.33,29.75v-0.81zM35.84,27.34v0.81h-4.51v-0.81zM35.25,29.55 L35.84,30.16 33.09,32.97 31.33,31.16 31.92,30.56 33.09,31.77zM20.19,15.58h0.9v-0.9h-0.9zM24.69,15.58h0.9v-0.9h-0.9z"
android:strokeLineCap="butt"
android:fillType="nonZero"
android:fillColor="#ffffff"
android:strokeWidth="0"
android:strokeLineJoin="miter"/>
</group>
</vector>
Binary file modified res/drawable-xxhdpi-v21/actionbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-xxhdpi-v21/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<nl.asymmetrics.droidshows.ui.BounceListView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/android:list"/>
<LinearLayout android:id="@+id/android:empty" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:padding="9dp" android:text="@string/layout_main_no_items"/>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/menu_context_add_serie" android:onClick="searchForShow"/>
<Button android:id="@+id/add_show" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/menu_context_add_serie" android:onClick="searchForShow"/>
</LinearLayout>
</LinearLayout>
4 changes: 2 additions & 2 deletions res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
\n\nIn Serien Übersicht:
\n&#187; Liste nach unten ziehen, um Update zu starten
\n&#187; Auf ein Poster tippen um Infos zur nächsten Episode anzuzeigen
\n&#187; Poster doppel antippen für externe Quellen (für *[url]s direkt oder für Listen)
\n&#187; Poster lange drücken, um weitere Informationen anzuzeigen
\n&#187; Poster doppel antippen um weitere Informationen anzuzeigen
\n&#187; Poster lange drücken für externe Quellen (für *[url]s direkt oder für Listen)
\n&#187; Von rechts nach links wischen um die nächste Folge als gesehen zu markieren
\n\nIn den Seriendetails:
\n&#187; Auf ein Poster tippen um es größer zu machen
Expand Down
14 changes: 13 additions & 1 deletion res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,19 @@
<string name="dialog_full_line_check">Toca en toda la línea para marcar un ep.</string>
<string name="dialog_switch_swipe_direction">Retrocede deslizando de derecha a izquierda</string>
<string name="dialog_show_next_airing">Muestra la próxima emisión en lugar del próximo episodio</string>
<string name="dialog_help">» No olvides actualizar las series de forma regular \n» Deja pulsado los elementos ver para más opciones \n» Desliza de izquierda a derecha para retroceder. \n\nEn la Lista de series: \n» Toca el póster para ver la información del próximo episodio \n» Haz doble toque para recurso externo (a *[url]s directamente, o lista) \n» Deja pulsado el póster para mostrar la información de la serie \n» Desliza de derecha a izquierda para marcar el siguiente como visto \n\nDetalles de la serie: \n» Toca el póster para verlo a pantalla completa \n» Toca el póster a pantalla completa para ver un art fan \n» Deja pulsado el póster a pantalla completa para abrirlo con otra app \n\nDetalles de la serie/episodio: \n» Toca la puntuación de IMDb para verla en IMDb</string>
<string name="dialog_help">&#187; No olvides actualizar las series de forma regular
\n&#187; Deja pulsado los elementos ver para más opciones
\n&#187; Desliza de izquierda a derecha para retroceder.
\n\nEn la Lista de series:
\n&#187; Toca el póster para ver la información del próximo episodio
\n&#187; Haz doble toque para mostrar la información de la serie
\n&#187; Deja pulsado el póster para recurso externo (a *[url]s directamente, o lista)
\n&#187; Desliza de derecha a izquierda para marcar el siguiente como visto
\n\nDetalles de la serie: \n» Toca el póster para verlo a pantalla completa
\n&#187; Toca el póster a pantalla completa para ver un art fan
\n&#187; Deja pulsado el póster a pantalla completa para abrirlo con otra app
\n\nDetalles de la serie/episodio:
\n&#187; Toca la puntuación de IMDb para verla en IMDb</string>
<string name="dialog_networks">Cadenas</string>
<string name="menu_archive">Archivar</string>
<string name="menu_unarchive">Recuperar</string>
Expand Down
4 changes: 2 additions & 2 deletions res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
\n\nIn Overzicht Series:
\n&#187; Trek lijst omlaag om series bij te werken
\n&#187; Klik op poster voor details aflevering
\n&#187; Dubbelklik op poster voor externe bron (direct naar *[url]s, of lijst)
\n&#187; Druk lang op poster voor details serie
\n&#187; Dubbelklik op poster voor details serie
\n&#187; Druk lang op poster voor externe bron (direct naar *[url]s, of lijst)
\n&#187; Veeg rechts-links om volgende aflevering als gezien te markeren
\n\nIn Details van Serie:
\n&#187; Klik op poster voor volledig scherm
Expand Down
Loading

0 comments on commit e17d0f5

Please sign in to comment.