|
221 | 221 | style="@style/DetailText"
|
222 | 222 | android:layout_width="0dp"
|
223 | 223 | android:layout_height="wrap_content"
|
| 224 | + android:layout_marginBottom="8dp" |
224 | 225 | android:contentDescription="@string/listen_port"
|
225 | 226 | android:nextFocusRight="@id/mtu_text"
|
226 | 227 | android:nextFocusUp="@id/dns_search_domains_text"
|
|
229 | 230 | android:onClick="@{ClipboardUtils::copyTextView}"
|
230 | 231 | android:text="@{config.interface.listenPort}"
|
231 | 232 | android:visibility="@{!config.interface.listenPort.isPresent() ? android.view.View.GONE : android.view.View.VISIBLE}"
|
| 233 | + app:layout_constraintBottom_toTopOf="@id/applications_label" |
232 | 234 | app:layout_constraintEnd_toStartOf="@id/mtu_label"
|
233 | 235 | app:layout_constraintHorizontal_weight="0.5"
|
234 | 236 | app:layout_constraintStart_toStartOf="parent"
|
|
254 | 256 | style="@style/DetailText"
|
255 | 257 | android:layout_width="0dp"
|
256 | 258 | android:layout_height="wrap_content"
|
| 259 | + android:layout_marginBottom="8dp" |
257 | 260 | android:contentDescription="@string/mtu"
|
258 | 261 | android:nextFocusLeft="@id/listen_port_text"
|
259 | 262 | android:nextFocusUp="@id/dns_servers_text"
|
260 | 263 | android:nextFocusForward="@id/applications_text"
|
261 | 264 | android:onClick="@{ClipboardUtils::copyTextView}"
|
262 | 265 | android:text="@{config.interface.mtu}"
|
263 | 266 | android:visibility="@{!config.interface.mtu.isPresent() ? android.view.View.GONE : android.view.View.VISIBLE}"
|
| 267 | + app:layout_constraintBottom_toTopOf="@id/applications_label" |
264 | 268 | app:layout_constraintEnd_toEndOf="parent"
|
265 | 269 | app:layout_constraintHorizontal_weight="0.5"
|
266 | 270 | app:layout_constraintStart_toEndOf="@id/listen_port_label"
|
|
276 | 280 | android:labelFor="@+id/applications_text"
|
277 | 281 | android:text="@string/applications"
|
278 | 282 | android:visibility="@{config.interface.includedApplications.isEmpty() && config.interface.excludedApplications.isEmpty() ? android.view.View.GONE : android.view.View.VISIBLE}"
|
279 |
| - app:layout_constraintStart_toStartOf="parent" |
280 |
| - app:layout_constraintTop_toBottomOf="@id/listen_port_text" /> |
| 283 | + app:layout_constraintBottom_toTopOf="@id/applications_text" |
| 284 | + app:layout_constraintStart_toStartOf="parent" /> |
281 | 285 |
|
282 | 286 | <TextView
|
283 | 287 | android:id="@+id/applications_text"
|
|
291 | 295 | android:onClick="@{ClipboardUtils::copyTextView}"
|
292 | 296 | android:text="@{config.interface.includedApplications.isEmpty() ? @plurals/n_excluded_applications(config.interface.excludedApplications.size(), config.interface.excludedApplications.size()) : @plurals/n_included_applications(config.interface.includedApplications.size(), config.interface.includedApplications.size())}"
|
293 | 297 | android:visibility="@{config.interface.includedApplications.isEmpty() && config.interface.excludedApplications.isEmpty() ? android.view.View.GONE : android.view.View.VISIBLE}"
|
| 298 | + app:layout_constraintBottom_toBottomOf="parent" |
294 | 299 | app:layout_constraintStart_toStartOf="parent"
|
295 |
| - app:layout_constraintTop_toBottomOf="@+id/applications_label" |
296 | 300 | tools:text="8 excluded" />
|
297 | 301 | </androidx.constraintlayout.widget.ConstraintLayout>
|
298 | 302 | </com.google.android.material.card.MaterialCardView>
|
|
0 commit comments