Skip to content

Commit

Permalink
Add normal floating label text input to compare alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinsha committed Jan 22, 2018
1 parent 5ec437a commit a549a55
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sample/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@
android:layout_marginBottom="16dp"
/>

<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp">

<EditText
android:id="@+id/plain_edit_tet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Normal EditText"
/>
</android.support.design.widget.TextInputLayout>

<Button
android:id="@+id/submit_button"
android:layout_width="match_parent"
Expand Down

0 comments on commit a549a55

Please sign in to comment.