title: Forcing edittext to only accept values of: numbers, decimals, plus, and minus signs
body: <p>this is my xml code </p>
  
  <hr>
  
  <pre><code>              &lt;EditText
                      android:id="@+id/etSPHr"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginRight="5dp"
                      android:layout_weight="1"
                      android:background="@drawable/myedittext"
                      android:digits="0123456789.+-"
                      android:ems="10"
                      android:inputType="numberDecimal"
                      android:nextFocusForward="@+id/etCYLr"
                      android:paddingLeft="5dp"
                      android:paddingRight="5dp"
                      android:singleLine="true" &gt;
  </code></pre>
  
  <hr>
  
  <p>the problem is my keyboard doesnt let me use the plus sign its disabled</p>