diff --git a/app/src/main/java/eu/faircode/netguard/ActivityForwarding.java b/app/src/main/java/eu/faircode/netguard/ActivityForwarding.java index 0e86680b..653560df 100644 --- a/app/src/main/java/eu/faircode/netguard/ActivityForwarding.java +++ b/app/src/main/java/eu/faircode/netguard/ActivityForwarding.java @@ -127,8 +127,6 @@ public class ActivityForwarding extends AppCompatActivity { final EditText etRPort = (EditText) view.findViewById(R.id.etRPort); final EditText etRUid = (EditText) view.findViewById(R.id.etRUid); - etRAddr.setText("127.0.0.1"); - dialog = new AlertDialog.Builder(this) .setView(view) .setCancelable(true) diff --git a/app/src/main/res/layout/forwardadd.xml b/app/src/main/res/layout/forwardadd.xml index c16208c0..9cdc76c8 100644 --- a/app/src/main/res/layout/forwardadd.xml +++ b/app/src/main/res/layout/forwardadd.xml @@ -73,6 +73,7 @@ android:id="@+id/etDPort" android:layout_width="match_parent" android:layout_height="wrap_content" + android:hint="53" android:inputType="number" android:textAppearance="@style/TextMedium" /> @@ -87,6 +88,7 @@ android:id="@+id/etRAddr" android:layout_width="match_parent" android:layout_height="wrap_content" + android:hint="127.0.0.1" android:inputType="text" android:textAppearance="@style/TextMedium" /> @@ -101,6 +103,7 @@ android:id="@+id/etRPort" android:layout_width="match_parent" android:layout_height="wrap_content" + android:hint="53" android:inputType="number" android:textAppearance="@style/TextMedium" /> @@ -115,6 +118,7 @@ android:id="@+id/etRUid" android:layout_width="match_parent" android:layout_height="wrap_content" + android:hint="1000" android:inputType="number" android:textAppearance="@style/TextMedium" />