Created
April 15, 2021 20:31
-
-
Save lazizbekravshanov/f7b1b73164e15e523225f4b926b7529c to your computer and use it in GitHub Desktop.
Weather App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:src="@drawable/_1001" | |
android:scaleType="centerCrop"/> | |
<TextView | |
android:id="@+id/cityName" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Now in Mecca:" | |
android:textSize="26sp" | |
android:textColor="#696969" | |
android:layout_marginStart="16dp" | |
android:layout_marginTop="16dp" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintStart_toStartOf="parent"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textSize="32dp" | |
android:textColor="#696969" | |
android:text="13°" | |
android:layout_marginStart="16dp" | |
android:layout_marginTop="8dp" | |
app:layout_constraintTop_toBottomOf="@id/cityName" | |
app:layout_constraintStart_toStartOf="parent"/> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment