mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-02 03:40:26 +00:00
code review
This commit is contained in:
parent
126b06cabf
commit
447b164759
@ -169,7 +169,6 @@ public class IPEditText extends LinearLayout {
|
||||
Edit4.setText(ip4);
|
||||
Edit4.setSelection(ip4.length());
|
||||
Toast.makeText(context, R.string.invalid_ip, Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,15 +9,6 @@
|
||||
android:paddingTop="16dp"
|
||||
android:weightSum="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.1"
|
||||
android:gravity="start"
|
||||
android:orientation="horizontal">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -62,8 +53,7 @@
|
||||
<com.idormy.sms.forwarder.view.IPEditText
|
||||
android:id="@+id/textServerIp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_alignParentLeft="true" />
|
||||
android:layout_width="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<merge xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit1"
|
||||
@ -10,7 +11,9 @@
|
||||
android:inputType="number"
|
||||
android:digits="0123456789."
|
||||
android:maxLength="3"
|
||||
android:text="" />
|
||||
android:text=""
|
||||
tools:ignore="LabelFor"
|
||||
android:autofillHints="" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@ -27,7 +30,9 @@
|
||||
android:inputType="number"
|
||||
android:digits="0123456789."
|
||||
android:maxLength="3"
|
||||
android:text="" />
|
||||
android:text=""
|
||||
tools:ignore="LabelFor"
|
||||
android:autofillHints="" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@ -44,7 +49,9 @@
|
||||
android:inputType="number"
|
||||
android:digits="0123456789."
|
||||
android:maxLength="3"
|
||||
android:text="" />
|
||||
android:text=""
|
||||
tools:ignore="LabelFor"
|
||||
android:autofillHints="" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@ -61,5 +68,7 @@
|
||||
android:inputType="number"
|
||||
android:digits="0123456789."
|
||||
android:maxLength="3"
|
||||
android:text="" />
|
||||
android:text=""
|
||||
tools:ignore="LabelFor"
|
||||
android:autofillHints="" />
|
||||
</merge>
|
Loading…
Reference in New Issue
Block a user