|
87 | 87 | </LinearLayout> |
88 | 88 |
|
89 | 89 | <!-- MAIN PANEL: shown after setup --> |
90 | | - <LinearLayout |
| 90 | + <FrameLayout |
91 | 91 | android:id="@+id/mainPanel" |
92 | 92 | android:layout_width="match_parent" |
93 | 93 | android:layout_height="match_parent" |
94 | | - android:orientation="vertical" |
95 | | - android:gravity="center" |
96 | | - android:padding="12dp" |
| 94 | + android:padding="8dp" |
97 | 95 | android:visibility="gone"> |
98 | 96 |
|
99 | 97 | <TextView |
100 | 98 | android:id="@+id/statusText" |
101 | | - android:layout_width="match_parent" |
| 99 | + android:layout_width="140dp" |
102 | 100 | android:layout_height="wrap_content" |
| 101 | + android:layout_gravity="top|center_horizontal" |
| 102 | + android:layout_marginTop="2dp" |
103 | 103 | android:text="Starting…" |
104 | 104 | android:textColor="#D4A5E9" |
105 | | - android:textSize="12sp" |
| 105 | + android:textSize="11sp" |
106 | 106 | android:gravity="center" |
107 | | - android:maxLines="2" |
| 107 | + android:maxLines="1" |
108 | 108 | android:ellipsize="end" |
109 | 109 | android:includeFontPadding="false" |
110 | | - android:paddingStart="10dp" |
111 | | - android:paddingEnd="10dp" |
112 | | - android:paddingTop="6dp" |
113 | | - android:paddingBottom="6dp" |
114 | | - android:background="@drawable/live_text_bg" |
115 | | - android:layout_marginBottom="8dp" /> |
116 | | - |
117 | | - <FrameLayout |
118 | | - android:id="@+id/avatarContainer" |
119 | | - android:layout_width="124dp" |
120 | | - android:layout_height="124dp" |
121 | | - android:layout_marginBottom="12dp"> |
122 | | - |
123 | | - <TextView |
124 | | - android:id="@+id/avatarFace" |
125 | | - android:layout_width="match_parent" |
126 | | - android:layout_height="match_parent" |
127 | | - android:gravity="center" |
128 | | - android:text="🐜" |
129 | | - android:textColor="#D4A5E9" |
130 | | - android:textSize="72sp" /> |
131 | | - |
132 | | - <TextView |
133 | | - android:id="@+id/actionIndicator" |
134 | | - android:layout_width="32dp" |
135 | | - android:layout_height="32dp" |
136 | | - android:layout_gravity="end|top" |
137 | | - android:layout_marginTop="14dp" |
138 | | - android:layout_marginEnd="4dp" |
139 | | - android:gravity="center" |
140 | | - android:text="◎" |
141 | | - android:textColor="#D4A5E9" |
142 | | - android:textSize="24sp" |
143 | | - android:includeFontPadding="false" /> |
144 | | - </FrameLayout> |
145 | | - |
146 | | - <FrameLayout |
147 | | - android:layout_width="60dp" |
148 | | - android:layout_height="60dp"> |
149 | | - |
150 | | - <com.google.android.material.progressindicator.CircularProgressIndicator |
151 | | - android:id="@+id/autoListenCountdown" |
152 | | - android:layout_width="60dp" |
153 | | - android:layout_height="60dp" |
154 | | - android:layout_gravity="center" |
155 | | - android:max="100" |
156 | | - android:visibility="gone" |
157 | | - app:indicatorColor="#D4A5E9" |
158 | | - app:indicatorSize="60dp" |
159 | | - app:trackColor="#00000000" |
160 | | - app:trackThickness="3dp" /> |
161 | | - |
162 | | - <androidx.appcompat.widget.AppCompatButton |
163 | | - android:id="@+id/fab" |
164 | | - android:layout_width="42dp" |
165 | | - android:layout_height="42dp" |
166 | | - android:layout_gravity="center" |
167 | | - android:contentDescription="Tap to talk" |
168 | | - android:background="@drawable/action_bubble_bg" |
169 | | - android:elevation="0dp" |
170 | | - android:gravity="center" |
171 | | - android:includeFontPadding="false" |
172 | | - android:minHeight="0dp" |
173 | | - android:minWidth="0dp" |
174 | | - android:padding="0dp" |
175 | | - android:stateListAnimator="@null" |
176 | | - android:text="◉" |
177 | | - android:textAllCaps="false" |
178 | | - android:textColor="#0A0A0F" |
179 | | - android:textSize="18sp" |
180 | | - android:textStyle="bold" /> |
181 | | - </FrameLayout> |
| 110 | + android:paddingStart="8dp" |
| 111 | + android:paddingEnd="8dp" |
| 112 | + android:paddingTop="5dp" |
| 113 | + android:paddingBottom="5dp" |
| 114 | + android:minHeight="24dp" |
| 115 | + android:background="@drawable/live_text_bg" /> |
| 116 | + |
| 117 | + <LinearLayout |
| 118 | + android:layout_width="match_parent" |
| 119 | + android:layout_height="match_parent" |
| 120 | + android:gravity="center" |
| 121 | + android:orientation="vertical"> |
| 122 | + |
| 123 | + <FrameLayout |
| 124 | + android:id="@+id/avatarContainer" |
| 125 | + android:layout_width="120dp" |
| 126 | + android:layout_height="120dp" |
| 127 | + android:layout_marginBottom="10dp"> |
| 128 | + |
| 129 | + <TextView |
| 130 | + android:id="@+id/avatarFace" |
| 131 | + android:layout_width="match_parent" |
| 132 | + android:layout_height="match_parent" |
| 133 | + android:gravity="center" |
| 134 | + android:text="🐜" |
| 135 | + android:textColor="#D4A5E9" |
| 136 | + android:textSize="68sp" /> |
| 137 | + |
| 138 | + <TextView |
| 139 | + android:id="@+id/actionIndicator" |
| 140 | + android:layout_width="30dp" |
| 141 | + android:layout_height="30dp" |
| 142 | + android:layout_gravity="end|top" |
| 143 | + android:layout_marginTop="14dp" |
| 144 | + android:layout_marginEnd="4dp" |
| 145 | + android:gravity="center" |
| 146 | + android:text="◎" |
| 147 | + android:textColor="#D4A5E9" |
| 148 | + android:textSize="22sp" |
| 149 | + android:includeFontPadding="false" /> |
| 150 | + </FrameLayout> |
| 151 | + |
| 152 | + <FrameLayout |
| 153 | + android:layout_width="58dp" |
| 154 | + android:layout_height="58dp"> |
| 155 | + |
| 156 | + <com.google.android.material.progressindicator.CircularProgressIndicator |
| 157 | + android:id="@+id/autoListenCountdown" |
| 158 | + android:layout_width="58dp" |
| 159 | + android:layout_height="58dp" |
| 160 | + android:layout_gravity="center" |
| 161 | + android:max="100" |
| 162 | + android:visibility="gone" |
| 163 | + app:indicatorColor="#D4A5E9" |
| 164 | + app:indicatorSize="58dp" |
| 165 | + app:trackColor="#00000000" |
| 166 | + app:trackThickness="3dp" /> |
| 167 | + |
| 168 | + <androidx.appcompat.widget.AppCompatButton |
| 169 | + android:id="@+id/fab" |
| 170 | + android:layout_width="42dp" |
| 171 | + android:layout_height="42dp" |
| 172 | + android:layout_gravity="center" |
| 173 | + android:contentDescription="Tap to talk" |
| 174 | + android:background="@drawable/action_bubble_bg" |
| 175 | + android:elevation="0dp" |
| 176 | + android:gravity="center" |
| 177 | + android:includeFontPadding="false" |
| 178 | + android:minHeight="0dp" |
| 179 | + android:minWidth="0dp" |
| 180 | + android:padding="0dp" |
| 181 | + android:stateListAnimator="@null" |
| 182 | + android:text="◉" |
| 183 | + android:textAllCaps="false" |
| 184 | + android:textColor="#0A0A0F" |
| 185 | + android:textSize="18sp" |
| 186 | + android:textStyle="bold" /> |
| 187 | + </FrameLayout> |
| 188 | + </LinearLayout> |
182 | 189 |
|
183 | 190 | <!-- Legacy bound views kept hidden for compatibility --> |
184 | 191 | <TextView |
|
201 | 208 | android:layout_height="1dp" |
202 | 209 | android:visibility="gone" /> |
203 | 210 |
|
204 | | - </LinearLayout> |
| 211 | + </FrameLayout> |
205 | 212 |
|
206 | 213 | </androidx.wear.widget.BoxInsetLayout> |
0 commit comments