Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5710198 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am 1e546247: am 40a0376e: docs: remove unused id attribute from Button

* commit '1e546247':
  docs: remove unused id attribute from Button
parents 0584367b 1e546247
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -262,7 +262,9 @@ class.</p>
</pre>

<p>The height and width are set to <code>"wrap_content"</code> so the button is only as big as
necessary to fit the button's text.</p>
necessary to fit the button's text. This button doesn't need the 
<a href="{@docRoot}reference/android/view/View.html#attr_android:id">{@code android:id}</a>
attribute, because it won't be referenced from the activity code.</p>



@@ -337,7 +339,7 @@ android.widget.LinearLayout}.</p>
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:hint="@string/edit_message" />
    &lt;Button android:id="@+id/button_send"
    &lt;Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/button_send" />
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ href="{@docRoot}reference/android/view/View.html#attr_android:onClick">{@code an
attribute to the {@link android.widget.Button &lt;Button>} element:</p>

<pre>
&lt;Button android:id="@+id/button_send"
&lt;Button
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/button_send"