mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
Added hint texts to port forward add dialog
This commit is contained in:
parent
285e2e7f13
commit
e43c76b264
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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" />
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in a new issue