2024-10-15 13:01:38 +09:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<layout xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
<data>
|
|
|
|
|
<variable name="textLocation" type="String"/>
|
|
|
|
|
</data>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textAlignment="center">
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
android:id="@+id/header"
|
|
|
|
|
android:paddingVertical="5dp">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:contentDescription="시계 아이콘"
|
|
|
|
|
app:srcCompat="@drawable/ico_time"
|
|
|
|
|
tools:ignore="ImageContrastCheck"
|
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
|
app:tint="@android:color/white"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/textView2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView2"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:text="시간별 예보"
|
|
|
|
|
android:gravity="left"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/imageView"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/textViewLocation"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintWidth_default="spread"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textViewLocation"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:text="@{textLocation}"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:textSize="11sp"
|
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
|
android:id="@+id/weatherViewPager"
|
|
|
|
|
android:layout_width="match_parent"
|
2024-10-15 18:16:32 +09:00
|
|
|
android:layout_height="130dp"
|
2024-10-15 13:01:38 +09:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/header"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</layout>
|