Explorar el Código

changed some layout info (size/orga)

yattoz hace 5 años
padre
commit
e9ef198baa

+ 4 - 3
app/src/main/res/layout/fragment_nowplaying.xml Ver fichero

@@ -30,18 +30,19 @@
30 30
         <ImageView
31 31
             android:id="@+id/streamerPicture"
32 32
             android:layout_width="0dp"
33
-            android:layout_height="0dp"
33
+            android:layout_height="wrap_content"
34 34
             android:layout_gravity="top|center_horizontal"
35 35
             android:adjustViewBounds="true"
36 36
             android:contentDescription="dj-image"
37 37
             android:scaleType="fitCenter"
38
-            app:layout_constraintBottom_toTopOf="@id/imageLeftGuideline"
39 38
             app:layout_constraintEnd_toEndOf="parent"
40 39
 
41 40
             app:layout_constraintStart_toStartOf="@id/imageGuideline"
42 41
             app:layout_constraintTop_toTopOf="parent"
43 42
             app:srcCompat="@drawable/logo_roundsquare"
43
+            android:layout_margin="8dp"
44 44
             tools:ignore="HardcodedText" />
45
+        <!--             app:layout_constraintBottom_toTopOf="@id/imageLeftGuideline" -->
45 46
 
46 47
         <androidx.constraintlayout.widget.Guideline
47 48
             android:id="@+id/imageGuideline"
@@ -97,7 +98,7 @@
97 98
             android:layout_width="wrap_content"
98 99
             android:layout_height="wrap_content"
99 100
             android:orientation="horizontal"
100
-            app:layout_constraintGuide_percent="0.80" />
101
+            app:layout_constraintGuide_percent="0.95" />
101 102
 
102 103
         <TextView
103 104
             android:id="@+id/sleepInfo"

+ 3 - 2
app/src/main/res/layout/programme_view.xml Ver fichero

@@ -5,8 +5,8 @@
5 5
     android:orientation="vertical" android:layout_width="match_parent"
6 6
     android:layout_height="wrap_content"
7 7
     android:layout_marginTop="8dp"
8
-    android:layout_marginStart="16dp"
9
-    android:layout_marginEnd="16dp">
8
+    android:layout_marginStart="12dp"
9
+    android:layout_marginEnd="12dp">
10 10
 
11 11
     <TextView
12 12
         android:id="@+id/programme_start"
@@ -27,6 +27,7 @@
27 27
         app:layout_constraintEnd_toEndOf="parent"
28 28
         android:gravity="center"
29 29
         android:textAlignment="center"
30
+        android:textSize="16sp"
30 31
         />
31 32
 
32 33
     <TextView

+ 2 - 2
app/src/main/res/layout/song_view.xml Ver fichero

@@ -5,8 +5,8 @@
5 5
     android:layout_width="match_parent"
6 6
     android:layout_height="wrap_content"
7 7
     android:layout_marginTop="8dp"
8
-    android:layout_marginStart="16dp"
9
-    android:layout_marginEnd="16dp"
8
+    android:layout_marginStart="12dp"
9
+    android:layout_marginEnd="12dp"
10 10
     >
11 11
 
12 12
     <TextView

+ 2 - 2
app/src/main/res/values/strings.xml Ver fichero

@@ -4,7 +4,7 @@
4 4
     <string name="title_queue_lp">Songs</string>
5 5
     <string name="title_chat">Chat</string>
6 6
     <string name="title_news">News</string>
7
-    <string name="title_programme">Programme</string>
7
+    <string name="title_programme">Planning</string>
8 8
 
9 9
     <string name="now_playing_notification_title_template">Now playing: %1$s</string>
10 10
 
@@ -48,7 +48,7 @@
48 48
     <string name="no_alarm_set">No alarm set</string>
49 49
     <string name="next_alarm">Next alarm:</string>
50 50
     <string name="lp">Last played</string>
51
-    <string name="programme">Programme</string>
51
+    <string name="programme">Planning</string>
52 52
     <string name="regular_programme">Programme régulier</string>
53 53
 
54 54
 </resources>