@@ -58,6 +58,49 @@
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/tox_settings"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:elevation="4dp"
app:layout_constraintTop_toBottomOf="@id/appearance_settings"
tools:targetApi="21">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/pref_heading_network"
android:textSize="16sp"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/dividerColor"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="56dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
style="@style/OptionItemText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pref_udp_enabled"/>
<Switch
android:id="@+id/settings_udp_enabled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"/>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<TextView
android:id="@+id/version"
android:layout_width="match_parent"