1<?xml version="1.0" encoding="utf-8"?> 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:tools="http://schemas.android.com/tools" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent"> 7 <FrameLayout 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 android:id="@+id/frameLayoutLatency"> 11<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 12 xmlns:app="http://schemas.android.com/apk/res-auto" 13 xmlns:tools="http://schemas.android.com/tools" 14 android:id="@+id/frameLayout" 15 android:layout_width="match_parent" 16 android:layout_height="match_parent" 17 tools:context=".PrioritizeLatency" > 18 <Button 19 android:id="@+id/requestlatency" 20 android:layout_width="wrap_content" 21 android:layout_height="wrap_content" 22 android:text="RequestNetwork" 23 app:layout_constraintBottom_toTopOf="@+id/button6" 24 app:layout_constraintEnd_toEndOf="parent" 25 app:layout_constraintHorizontal_bias="0.461" 26 app:layout_constraintStart_toStartOf="parent" 27 app:layout_constraintTop_toTopOf="parent" 28 app:layout_constraintVertical_bias="0.717" /> 29 <Button 30 android:id="@+id/releaselatency" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:layout_marginBottom="76dp" 34 android:text="Release Network" 35 app:layout_constraintBottom_toTopOf="@+id/button7" 36 app:layout_constraintEnd_toEndOf="parent" 37 app:layout_constraintHorizontal_bias="0.478" 38 app:layout_constraintStart_toStartOf="parent" /> 39 <Button 40 android:id="@+id/pinglatency" 41 android:layout_width="182dp" 42 android:layout_height="42dp" 43 android:layout_marginBottom="308dp" 44 android:text="Ping" 45 app:layout_constraintBottom_toBottomOf="parent" 46 app:layout_constraintEnd_toEndOf="parent" 47 app:layout_constraintHorizontal_bias="0.471" 48 app:layout_constraintStart_toStartOf="parent" /> 49 <TextView 50 android:id="@+id/textView" 51 android:layout_width="371dp" 52 android:layout_height="52dp" 53 android:text="Prioritize Latency" 54 tools:layout_editor_absoluteX="21dp" 55 tools:layout_editor_absoluteY="1dp" /> 56</androidx.constraintlayout.widget.ConstraintLayout> 57 </FrameLayout> 58 </RelativeLayout>