12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <include layout="@layout/toolbar"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:ignore="UseCompoundDrawables">
- <ImageView
- android:id="@+id/icon"
- android:layout_width="64dp"
- android:layout_height="64dp"
- tools:ignore="ContentDescription"
- tools:src="@mipmap/ic_launcher"/>
- <TextView
- android:id="@+id/weatherDescription"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_xlarge"
- android:textAppearance="@style/TextAppearance.AppCompat.Display1"
- tools:text="Few clouds"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/maxTemperature"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_xlarge"
- android:layout_weight="1"
- android:gravity="center_horizontal"
- android:textAppearance="@style/TextAppearance.AppCompat.Display3"
- tools:text="30º"/>
- <TextView
- android:id="@+id/minTemperature"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_xlarge"
- android:layout_weight="1"
- android:gravity="center_horizontal"
- android:textAppearance="@style/TextAppearance.AppCompat.Display3"
- tools:text="10º"/>
- </LinearLayout>
- </LinearLayout>
|