summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2021-08-31 15:44:34 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2021-08-31 15:44:34 +0000
commit5d0524a838149fda58c64c83ce0adfd64db0e96a (patch)
treef41acb8f401ff2d2cfd946f91bd0b6da0c1f0f43 /app/src/main/res/layout
parentdaea2f9510ac1af22a4e2e2f3db7c2d6d314008b (diff)
Feature/ipscrambling
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_internet_activity_policy.xml84
1 files changed, 82 insertions, 2 deletions
diff --git a/app/src/main/res/layout/fragment_internet_activity_policy.xml b/app/src/main/res/layout/fragment_internet_activity_policy.xml
index c3021df..12094ab 100644
--- a/app/src/main/res/layout/fragment_internet_activity_policy.xml
+++ b/app/src/main/res/layout/fragment_internet_activity_policy.xml
@@ -11,11 +11,14 @@
<androidx.core.widget.NestedScrollView
android:layout_height="match_parent"
- android:layout_marginBottom="32dp"
android:layout_width="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
>
-
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ >
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
@@ -97,6 +100,83 @@
android:textSize="14sp"
/>
</RadioGroup>
+ <TextView android:id="@+id/ipscrambling_tor_status"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:paddingTop="24dp"
+ android:text="@string/ipscrambling_is_starting"
+ android:textColor="@color/black"
+ android:textSize="16sp"
+ android:visibility="gone"
+ />
+
+ <ProgressBar
+ android:id="@+id/ipscrambling_loading"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_margin="24dp"
+ android:layout_gravity="center"
+ />
+
+ <LinearLayout
+ android:id="@+id/ipscrambling_location"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingTop="32dp"
+ >
+ <TextView
+ android:id="@+id/ipscrambling_location_label"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content" android:text="@string/ipscrambling_location_label"
+ android:textColor="@color/black"
+ android:textSize="16sp"
+ />
+ <Spinner android:id="@+id/ipscrambling_select_location"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/ipscrambling_activated"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:paddingTop="32dp"
+ android:text="@string/ipscrambling_all_apps_scrambled"
+ android:textColor="@color/black"
+ android:paddingBottom="8dp"
+ android:textSize="16sp"
+ android:visibility="gone"
+ />
+ </LinearLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view_scrambled"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ />
+ <TextView
+ android:id="@+id/ipscrambling_select_apps"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:paddingTop="32dp"
+ android:paddingBottom="8dp"
+ android:text="@string/ipscrambling_select_app"
+ android:textColor="@color/black"
+ android:textSize="16sp"
+ android:visibility="gone"
+ />
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view_to_select"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone"
+ />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file