|
162 | 162 |
|
163 | 163 | </FrameLayout>
|
164 | 164 |
|
165 |
| - <com.google.android.material.imageview.ShapeableImageView |
166 |
| - android:id="@+id/mute_toggle" |
167 |
| - android:layout_width="40dp" |
168 |
| - android:layout_height="40dp" |
169 |
| - android:src="@drawable/mic_on" |
170 |
| - android:background="@color/red" |
171 |
| - app:contentPadding="8dp" |
172 |
| - android:layout_marginBottom="12dp" |
173 |
| - android:layout_above="@+id/three_buttons" |
174 |
| - android:layout_centerInParent="true" |
175 |
| - app:shapeAppearance="@style/ShapeAppearance.Image.PILL" |
176 |
| - android:tooltipText="@string/tap_to_mute_audio" |
177 |
| - android:elevation="10dp" |
178 |
| - android:visibility="gone" /> |
| 165 | + <LinearLayout |
| 166 | + android:layout_width="match_parent" |
| 167 | + android:layout_height="wrap_content" |
| 168 | + android:weightSum="3" |
| 169 | + android:layout_above="@id/three_buttons" |
| 170 | + android:layout_marginBottom="8dp"> |
| 171 | + |
| 172 | + <FrameLayout |
| 173 | + android:layout_width="0dp" |
| 174 | + android:layout_height="wrap_content" |
| 175 | + android:layout_weight="1"> |
| 176 | + |
| 177 | + <com.google.android.material.imageview.ShapeableImageView |
| 178 | + android:id="@+id/mute_toggle" |
| 179 | + android:layout_width="40dp" |
| 180 | + android:layout_height="40dp" |
| 181 | + android:src="@drawable/mic_on" |
| 182 | + android:background="@color/red" |
| 183 | + app:contentPadding="8dp" |
| 184 | + android:layout_gravity="center" |
| 185 | + app:shapeAppearance="@style/ShapeAppearance.Image.PILL" |
| 186 | + android:tooltipText="@string/tap_to_mute_audio" |
| 187 | + android:visibility="gone" /> |
| 188 | + |
| 189 | + </FrameLayout> |
| 190 | + |
| 191 | + <View |
| 192 | + android:layout_width="0dp" |
| 193 | + android:layout_height="0dp" |
| 194 | + android:layout_weight="1"/> |
| 195 | + |
| 196 | + <View |
| 197 | + android:layout_width="0dp" |
| 198 | + android:layout_height="0dp" |
| 199 | + android:layout_weight="1"/> |
| 200 | + |
| 201 | + </LinearLayout> |
179 | 202 |
|
180 | 203 | <LinearLayout
|
181 | 204 | android:id="@+id/three_buttons"
|
|
0 commit comments