Skip to content

Commit

Permalink
Textfield size
Browse files Browse the repository at this point in the history
  • Loading branch information
consuelita committed Nov 27, 2023
1 parent 680bcf1 commit 2bf6ff6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
28 changes: 14 additions & 14 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,20 @@
app:layout_constraintTop_toBottomOf="@+id/disallowed_app" />

<EditText
android:id="@+id/server_public_key"
android:layout_width="250dp"
android:layout_height="40dp"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:hint="Enter The Server's Public Key"
android:imeOptions="actionDone"
android:inputType="text"
android:maxLength="66"
android:textAlignment="center"
android:textSize="14dp"
app:layout_constraintEnd_toEndOf="@+id/server_port"
app:layout_constraintStart_toStartOf="@+id/server_address"
app:layout_constraintTop_toBottomOf="@+id/installed_apps" />
android:id="@+id/server_public_key"
android:layout_width="250dp"
android:layout_height="40dp"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:hint="Enter The Server's Public Key"
android:imeOptions="actionDone"
android:inputType="text"
android:maxLength="135"
android:textAlignment="center"
android:textSize="14dp"
app:layout_constraintEnd_toEndOf="@+id/server_port"
app:layout_constraintStart_toStartOf="@+id/server_address"
app:layout_constraintTop_toBottomOf="@+id/installed_apps" />

<androidx.appcompat.widget.SwitchCompat
android:id="@+id/pluggable_transports_switch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,15 @@ class MBAKVpnService : VpnService()
return false
}

if (maybeUsePluggableTransports != null)
{
usePluggableTransport = maybeUsePluggableTransports
}
else
{
println("MBAKVpnService: Not using pluggable transports.")
}

if (maybeDisallowedApps != null)
{
disallowedApps = maybeDisallowedApps
Expand Down

0 comments on commit 2bf6ff6

Please sign in to comment.