diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_internet_activity_policy.xml | 84 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 9 |
2 files changed, 91 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 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3105ddb..d18ccf5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -28,6 +28,15 @@ <string name="hidden_ip">Hide IP address</string> <string name="i_am_anonymous">I am anonymous on the internet</string> <string name="i_am_exposing">I am exposing my real IP address</string> + <string name="ipscrambling_all_apps_scrambled">All apps use hidden IP</string> + <string name="ipscrambling_only_selected_apps_scrambled">Only the following apps use hidden IP</string> + <string name="ipscrambling_select_app">Select Apps to hide IP</string> + <string name="ipscrambling_is_starting">Tor is starting...</string> + <string name="ipscrambling_is_stopping">Tor is stopping...</string> + <string name="ipscrambling_location_label">Hidden IP\'s location</string> + <string name="ipscrambling_any_location">any</string> + + ipscrambling_any_location <string name="permission_control_info">Manage and control apps requesting various permissions.</string> <string name="apps_allowed">%1$d of %2$d apps allowed</string> |