main_contents_weather.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="274dp"
  8. android:background="@color/CFFFFFF"
  9. android:orientation="vertical"
  10. android:paddingTop="@dimen/main_contents_weather_margin_top">
  11. <LinearLayout
  12. android:id="@+id/layout_container_weather"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:gravity="center_vertical"
  16. android:orientation="horizontal"
  17. android:paddingStart="30dp">
  18. <ImageView
  19. android:id="@+id/icon_weather"
  20. android:layout_width="47dp"
  21. android:layout_height="47dp"
  22. app:srcCompat="@drawable/ic_icon_weather_sunny_copy"/>
  23. <TextView
  24. android:id="@+id/text_weather"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:lineSpacingExtra="7sp"
  28. android:paddingStart="20dp"
  29. android:text="@string/weather_sunny"
  30. android:textColor="@color/C333333"
  31. android:textSize="18sp"
  32. android:textStyle="bold"
  33. tools:text="지금 서울은\n맑음입니다"/>
  34. <ImageView
  35. android:id="@+id/icon_dot"
  36. android:layout_width="7dp"
  37. android:layout_height="10dp"
  38. android:layout_gravity="bottom"
  39. android:paddingBottom="3dp"
  40. app:srcCompat="@drawable/ic_icon_main_dot_copy"/>
  41. </LinearLayout>
  42. </LinearLayout>