summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorNorbel AMBANUMBEN <aanorbel@gmail.com>2024-11-27 19:05:48 +0100
committercyBerta <cyberta@riseup.net>2024-11-28 22:53:30 +0100
commit523c4dd422ab53f5dc961bca199d2cecef2c095f (patch)
tree873f58bfc874cef76c86c2a2ea53d7b85102d05d /app/src/main/res
parentcb302ca754324620c1f305f38b2705691772801b (diff)
update ui behaviour
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/f_censorship_circumvention.xml109
1 files changed, 57 insertions, 52 deletions
diff --git a/app/src/main/res/layout/f_censorship_circumvention.xml b/app/src/main/res/layout/f_censorship_circumvention.xml
index 6e2d7b5d..69ee7afd 100644
--- a/app/src/main/res/layout/f_censorship_circumvention.xml
+++ b/app/src/main/res/layout/f_censorship_circumvention.xml
@@ -1,65 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView 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"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical"
- android:padding="@dimen/activity_margin"
- tools:context=".base.fragments.CensorshipCircumventionFragment">
+ android:layout_height="match_parent">
- <TextView
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/censorship_circumvention_description" />
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="@dimen/activity_margin"
+ tools:context=".base.fragments.CensorshipCircumventionFragment">
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/discovery"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/activity_margin"
- android:text="@string/discovery"
- android:textAppearance="@style/TextAppearance.AppCompat.Title" />
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/censorship_circumvention_description" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/stdpadding"
- android:text="@string/discovery_description" />
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/discovery"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/activity_margin"
+ android:text="@string/discovery"
+ android:textAppearance="@style/TextAppearance.AppCompat.Title" />
- <RadioGroup
- android:id="@+id/discovery_radioGroup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/stdpadding"/>
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/stdpadding"
+ android:text="@string/discovery_description" />
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/tunnelling"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/activity_margin"
- android:text="@string/tunnelling"
- android:textAppearance="@style/TextAppearance.AppCompat.Title" />
+ <RadioGroup
+ android:id="@+id/discovery_radioGroup"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/stdpadding" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/stdpadding"
- android:text="@string/tunnelling_description" />
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/tunnelling"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/activity_margin"
+ android:text="@string/tunnelling"
+ android:textAppearance="@style/TextAppearance.AppCompat.Title" />
- <RadioGroup
- android:id="@+id/tunneling_radioGroup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/stdpadding"/>
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/stdpadding"
+ android:text="@string/tunnelling_description" />
- <se.leap.bitmaskclient.base.views.IconSwitchEntry
- android:id="@+id/port_hopping_switch"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/stdpadding"
- app:text="@string/port_hopping"
- app:subtitle="@string/port_hopping_description"
- app:singleLine="false" />
+ <RadioGroup
+ android:id="@+id/tunneling_radioGroup"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/stdpadding" />
+
+ <se.leap.bitmaskclient.base.views.IconSwitchEntry
+ android:id="@+id/port_hopping_switch"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/stdpadding"
+ app:singleLine="false"
+ app:subtitle="@string/port_hopping_description"
+ app:text="@string/port_hopping" />
-</LinearLayout> \ No newline at end of file
+ </LinearLayout>
+</ScrollView> \ No newline at end of file