Weather天气应用界面包括主界面,天气趋势界面,标题栏和一个侧滑菜单栏。具体布局在可参考代码。
主界面:
主界面包含的数据
1.当天温度
2.当天天气
3.舒适度
4.风力
5.日期
6.更新时间点
7.地区
7.地区前的方向标补间动画
8.第二天的天气情况
9.天气图片
注意点:当天温度"18℃"设置字体阴影,可以有发光效果,其中shadowRadius是阴影半径,值越大阴影越模糊。配以相应阴影颜色shadowColor可达到发光的视觉效果。
<TextView
android:id="@+id/temperature"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:text="21℃"
android:textColor="@color/abs__holo_blue_light"
android:textSize=