Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--Shows Wind Speed and Humidity-->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <!--Wind Speed Starts-->
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@mipmap/ic_wind_speed" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dp"
- android:text="Wind Speed"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/WindSpeed"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="7.5 km/h"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- </LinearLayout>
- </LinearLayout>
- <!--Wind Speed Ends-->
- <!--Humidity Starts-->
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@mipmap/ic_humidity" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dp"
- android:text="Humidity"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/Humidity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="69%"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- </LinearLayout>
- </LinearLayout>
- <!--Humidity Ends-->
- </LinearLayout>
- <!--Wind Speed and Humidity Ends-->
- <!--Shows Sunrise and Sunset Time-->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:orientation="horizontal">
- <!--Sunrise Starts-->
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@mipmap/ic_sunrise" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dp"
- android:text="Sunrise"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/Sunrise"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="6 am"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- </LinearLayout>
- </LinearLayout>
- <!--Sunrise Ends-->
- <!--Sunset Starts-->
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@mipmap/ic_sunset" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dp"
- android:text="Sunset"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/Sunset"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="7 pm"
- android:textColor="@color/white_font"
- android:textSize="16sp" />
- </LinearLayout>
- </LinearLayout>
- <!--Sunset Ends-->
- </LinearLayout>
- <!--Sunrise and Sunset Time Ends-->
Advertisement
Add Comment
Please, Sign In to add comment