kopia lustrzana https://github.com/SP8EBC/MeteoSystem
credits added
rodzic
34d43825f9
commit
5a211da64e
|
@ -258,6 +258,7 @@ public class Main extends Application {
|
|||
|
||||
@Subscribe(threadMode = ThreadMode.BACKGROUND)
|
||||
public void allStationsEventHandler(@NonNull AllStationsReceivedEvent event) {
|
||||
Logger.info("[allStationsEventHandler][event = " + event.toString() +"]");
|
||||
this.listOfAllStations = event.getStations();
|
||||
recreateListOfFavs();
|
||||
}
|
||||
|
|
|
@ -15,4 +15,10 @@ public class AllStationsReceivedEvent {
|
|||
public List<WeatherStation> getStations(){
|
||||
return this.stations;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return "[AllStationsReceivedEvent][stations.size() = " + stations.size() +"]";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,12 +248,11 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:fontFamily="@font/alegreya_sans_sc_medium"
|
||||
android:text="@string/credits_2"
|
||||
android:textSize="28sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toTopOf="@+id/textViewCredits3"
|
||||
app:layout_constraintBottom_toTopOf="@+id/textViewCreditsRafal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textViewCredits1" />
|
||||
|
@ -262,6 +261,7 @@
|
|||
android:id="@+id/textViewCredits3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:fontFamily="@font/alegreya_sans_sc_medium"
|
||||
android:text="@string/credits_3"
|
||||
android:textSize="24sp"
|
||||
|
@ -294,6 +294,19 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textViewCredits4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textViewCreditsRafal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:fontFamily="@font/alegreya_sans_sc_medium"
|
||||
android:text="Rafał Woloszyn"
|
||||
android:textSize="28sp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/textViewCredits3"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textViewCredits2" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
|
Ładowanie…
Reference in New Issue