changed some layout info (size/orga)

remotes/origin/devel
yattoz 2019-12-20 09:26:13 +01:00
parent ca26ff08e5
commit b063d96977
4 changed files with 11 additions and 9 deletions

View File

@ -30,18 +30,19 @@
<ImageView <ImageView
android:id="@+id/streamerPicture" android:id="@+id/streamerPicture"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="wrap_content"
android:layout_gravity="top|center_horizontal" android:layout_gravity="top|center_horizontal"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:contentDescription="dj-image" android:contentDescription="dj-image"
android:scaleType="fitCenter" android:scaleType="fitCenter"
app:layout_constraintBottom_toTopOf="@id/imageLeftGuideline"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/imageGuideline" app:layout_constraintStart_toStartOf="@id/imageGuideline"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/logo_roundsquare" app:srcCompat="@drawable/logo_roundsquare"
android:layout_margin="8dp"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<!-- app:layout_constraintBottom_toTopOf="@id/imageLeftGuideline" -->
<androidx.constraintlayout.widget.Guideline <androidx.constraintlayout.widget.Guideline
android:id="@+id/imageGuideline" android:id="@+id/imageGuideline"
@ -97,7 +98,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintGuide_percent="0.80" /> app:layout_constraintGuide_percent="0.95" />
<TextView <TextView
android:id="@+id/sleepInfo" android:id="@+id/sleepInfo"

View File

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

View File

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

View File

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