Presumably the EditText
and the Button
are inside a RelativeLayout
. Set the button’s layout attributes to alignTop
and alignBottom
of the EditText
.
More Related Contents:
- When Can I First Measure a View?
- Android: get height of a view before it´s drawn
- Android layout with one side round [closed]
- How to make layout with rounded corners..?
- How to get the width and height of an android.widget.ImageView?
- Set the absolute position of a view
- Android Layout Weight
- How can I dynamically set the position of view in Android?
- how to read value from string.xml in android?
- How to size an Android view based on its parent’s dimensions
- How to make an Android SlidingDrawer slide out from the left?
- Why this line xmlns:android=”http://schemas.android.com/apk/res/android” must be the first in the layout xml file?
- How to force an entire layout View refresh?
- How do you setLayoutParams() for an ImageView?
- Android: Custom Title Bar
- “You need to use a Theme.AppCompat theme (or descendant) with the design library” error
- Change the Right Margin of a View Programmatically?
- Android set height and width of Custom view programmatically
- Remove line break in TabLayout
- If I call getMeasuredWidth() or getWidth() for layout in onResume they return 0
- How to resize a android webview after adding data in it
- How to make my layout able to scroll down?
- Creating multi-screen support app android
- How to expand a layout height with animation?
- How to create fixed footer in android layout?
- How to use view flipper with three layouts?
- Android ListView that does not scroll?
- Round button in Android
- Simple swipe gesture to activity tutorial? [closed]
- Custom PopupMenu (layout)