forked from HannahMitt/HomeMirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
106 lines (93 loc) · 3.55 KB
/
activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<LinearLayout xmlns:android="http:https://schemas.android.com/apk/res/android"
xmlns:tools="http:https://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="right"
android:orientation="vertical"
tools:context=".MainActivity">
<TextView
android:id="@+id/birthday_text"
style="@style/MirrorText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="60sp"
android:visibility="gone"
tools:text="Happy Birthday Andy!" />
<TextView
android:id="@+id/day_text"
style="@style/MirrorText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Sunday the 22nd" />
<TextClock
style="@style/MirrorText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="0dp"
android:includeFontPadding="false"
android:format12Hour="h:mm"
android:textSize="90sp" />
<TextView
android:id="@+id/weather_summary"
style="@style/MirrorText"
android:includeFontPadding="false"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Partly Cloudy" />
<ImageView
android:id="@+id/xkcd_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:gravity="right"
android:orientation="vertical">
<TextView
android:id="@+id/hello_text"
style="@style/MirrorListText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
tools:text="Good morning, Andy and Hannah" />
<TextView
android:id="@+id/can_bike"
style="@style/MirrorListText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/bike"
android:visibility="gone"
tools:text="Don't Bike Today"
tools:visibility="visible" />
<TextView
android:id="@+id/water_plants"
style="@style/MirrorListText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/air_plant"
android:text="@string/water_plants"
android:visibility="gone"
tools:visibility="visible" />
<TextView
android:id="@+id/grocery_list"
style="@style/MirrorListText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/grocery_bag"
android:text="@string/grocery_list"
android:visibility="gone"
tools:visibility="visible" />
<TextView
android:id="@+id/stock_text"
style="@style/MirrorListText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/stock"
android:visibility="gone"
tools:text="$ETSY $13.46"
tools:visibility="visible" />
</LinearLayout>
</LinearLayout>