initial-include VPN demo securephone

This commit is contained in:
ariska committed 2026-07-29 13:52:10 +07:00
1 parent 1da580593f
commit ce61f6be0a
4131 files changed
+184244 -36

No files matched your search

@@ -0,0 +1,255 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SettingsActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/changeNameLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_change_name"
android:textColor="?attr/primaryTextColor"
android:textSize="25dp" />
<TextView
android:id="@+id/nameTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/secondaryTextColor"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/changeLocaleLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_change_language"
android:textSize="25dp"
android:textColor="?attr/primaryTextColor" />
<TextView
android:id="@+id/localeTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15dp"
android:textColor="?attr/secondaryTextColor" />
</LinearLayout>
<LinearLayout
android:id="@+id/changeAddressLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_change_address"
android:textColor="?attr/primaryTextColor"
android:textSize="25dp" />
<TextView
android:id="@+id/addressTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/secondaryTextColor"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/changePasswordLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_change_password"
android:textColor="?attr/primaryTextColor"
android:textSize="25dp" />
<TextView
android:id="@+id/passwordTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/secondaryTextColor"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/changeIceServersLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_change_ice_servers"
android:textColor="?attr/primaryTextColor"
android:textSize="25dp" />
<TextView
android:id="@+id/iceServersTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/secondaryTextColor"
android:text="stun:10.10.10.30:8090"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/backoneNetworkLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_backone_network"
android:textColor="?attr/primaryTextColor"
android:textSize="25dp" />
<TextView
android:id="@+id/backoneStatusTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/backone_status_offline"
android:textColor="?attr/secondaryTextColor"
android:textSize="15dp" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toStartOf="@+id/checkBoxLegacyCompatibility"
android:layout_alignParentStart="true"
android:text="@string/settings_legacy_compatibility"
android:textSize="25dp"
android:textColor="?attr/primaryTextColor" />
<CheckBox
android:id="@+id/checkBoxLegacyCompatibility"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_margin="5dp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_block_unknown"
android:textSize="25dp"
android:textColor="?attr/primaryTextColor" />
<CheckBox
android:id="@+id/checkBoxBlockUnknown"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_margin="5dp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_nightmode"
android:textSize="25dp"
android:textColor="?attr/primaryTextColor" />
<CheckBox
android:id="@+id/checkBoxNightMode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_margin="5dp"
android:textColor="?attr/secondaryTextColor" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_development_mode"
android:textSize="25dp"
android:textColor="?attr/primaryTextColor" />
<CheckBox
android:id="@+id/checkBoxDevelopmentMode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_margin="5dp"
android:textColor="?attr/secondaryTextColor" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>