Created
May 22, 2015 21:51
-
-
Save haristhohir/dd01241c156767395147 to your computer and use it in GitHub Desktop.
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"?> | |
<!-- Layout for weather forecast list item for future day (not today) --> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center_vertical" | |
android:minHeight="?android:attr/listPreferredItemHeight" | |
android:orientation="horizontal" | |
android:padding="16dp"> | |
<ImageView | |
android:id="@+id/list_item_icon" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
<LinearLayout | |
android:layout_height="wrap_content" | |
android:layout_width="0dp" | |
android:layout_weight="1" | |
android:orientation="vertical" | |
android:paddingLeft="16dp"> | |
<TextView | |
android:id="@+id/list_item_date_textview" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
<TextView | |
android:id="@+id/list_item_forecast_textview" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/list_item_high_textview" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
<TextView | |
android:id="@+id/list_item_low_textview" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment