Skip to content

Commit b20ae45

Browse files
committed
Merge pull request #34 from darkon5/master
Duration now shown on top of the thumbnail.
2 parents 8ebdccc + 21580a0 commit b20ae45

4 files changed

Lines changed: 67 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
3+
<solid android:color="#000000" />
4+
<stroke android:width="1dip" android:color="#888"/>
5+
</shape>

app/src/main/res/layout/video_item.xml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,35 @@
3030
android:layout_toRightOf="@id/itemThumbnailView"
3131
android:layout_below="@id/itemVideoTitleView"
3232
android:paddingLeft="6dp"
33-
android:textAppearance="?android:attr/textAppearanceSmall"/>
33+
android:textAppearance="?android:attr/textAppearanceSmall"
34+
android:textSize="@dimen/text_search_uploader_size"/>
3435

3536
<TextView android:id="@+id/itemDurationView"
37+
android:layout_width="wrap_content"
38+
android:layout_height="wrap_content"
39+
android:layout_alignBottom="@id/itemThumbnailView"
40+
android:layout_alignRight="@id/itemThumbnailView"
41+
android:layout_marginRight="6dp"
42+
android:layout_marginBottom="12dp"
43+
android:paddingLeft="3dp"
44+
android:paddingRight="3dp"
45+
android:paddingTop="1dp"
46+
android:paddingBottom="1dp"
47+
android:textAppearance="?android:attr/textAppearanceSmall"
48+
android:textSize="@dimen/text_search_duration_size"
49+
android:background="@drawable/durationback"
50+
android:textColor="#ffffff"
51+
/>
52+
53+
<TextView android:text="Upload date here"
3654
android:layout_width="wrap_content"
3755
android:layout_height="wrap_content"
3856
android:layout_toRightOf="@id/itemUploaderView"
3957
android:layout_below="@id/itemVideoTitleView"
4058
android:paddingLeft="6dp"
41-
android:textAppearance="?android:attr/textAppearanceSmall"/>
59+
android:textAppearance="?android:attr/textAppearanceSmall"
60+
android:textSize="@dimen/text_search_uploadtime_size"
61+
/>
4262

4363

4464

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<resources>
2+
<string name="app_name">NewPipe</string>
3+
<string name="title_videoitem_detail">NewPipe</string>
4+
<string name="nothingFound">No se ha encontrado nada</string>
5+
<string name="viewSufix">visitas</string>
6+
<string name="uploadDatePrefix">Subido desde: </string>
7+
<string name="noPlayerFound">No se ha encontrado ningún reproductor de vídeo. Quizás quieras instalar alguno.</string>
8+
<string name="installStreamPlayer">Instalar</string>
9+
<string name="cancel">Cancelar</string>
10+
<string name="fdroidVLCurl">https://f-droid.org/repository/browse/?fdfilter=vlc&amp;fdid=org.videolan.vlc</string>
11+
<string name="open_in_browser">Abrir en navegador</string>
12+
<string name="share">Compartir</string>
13+
<string name="play">Reproducir</string>
14+
<string name="download">Descargar</string>
15+
<string name="search">Buscar</string>
16+
<string name="settings">Ajustes</string>
17+
<string name="sendWith">Enviar con</string>
18+
<string name="didYouMean">Querias decir: </string>
19+
<string name="searchPage">Buscar página: </string>
20+
<string name="shareDialogTitle">Compartir con:</string>
21+
<string name="chooseBrowser">Selecciona navegador:</string>
22+
<string name="screenRotation">rotación</string>
23+
<string name="title_activity_settings">Ajustes</string>
24+
<string name="useExternalPlayerTitle">Usar reproductor externo</string>
25+
<string name="downloadLocation">Descargar en...</string>
26+
<string name="downloadLocationSummary">Donde se guardarán los vídeos descargados.</string>
27+
<string name="downloadLocationDialogTitle">Localización del directorio de descargas</string>
28+
<string name="autoPlayThroughIntentTitle">Reproducción automática</string>
29+
<string name="autoPlayThroughIntentSummary">Reproduce los vídeos automaticamente cuando la llamada viene de otra aplicación.</string>
30+
<string name="defaultResolutionPreferenceTitle">Resolución por defecto</string>
31+
<string name="playWithKodiTitle">Reproducir con Kodi</string>
32+
<string name="koreNotFound">Aplicación Kore no encontrada. Kore es necesario para reproducir vídeos con Kodi media center.</string>
33+
<string name="installeKore">Instalar Kore</string>
34+
<string name="fdroidKoreUrl">https://f-droid.org/repository/browse/?fdfilter=Kore&amp;fdid=org.xbmc.kore</string>
35+
<string name="showPlayWithKodiTitle">Mostrar la opción \"Reproducir con Kodi\"</string>
36+
<string name="showPlayWithKodiSummary">Muestra una opción para reproducir vídeo vía Kodi media center.</string>
37+
</resources>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<dimen name="text_search_title_size">16sp</dimen>
4+
<dimen name="text_search_duration_size">11sp</dimen>
5+
<dimen name="text_search_uploader_size">12sp</dimen>
6+
<dimen name="text_search_uploadtime_size">12sp</dimen>
47
</resources>

0 commit comments

Comments
 (0)