android - Scrollview shows the the lst six buttons -


i not experienced android developer.

i have scroll view displays right in design view displays last 5 buttons on android device.design view

here xml view.

<?xml version="1.0" encoding="utf-8"?> <scrollview xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="match_parent"     android:layout_height="wrap_content"     android:fillviewport="true"     android:orientation="vertical">         <linearlayout             android:layout_width="match_parent"             android:layout_margintop="5dp"             android:orientation="vertical"             android:layout_height="wrap_content">          <edittext             android:id="@+id/old_email"             android:layout_margintop="8dp"             android:layout_width="match_parent"             android:layout_height="40dp"             android:hint="@string/hint_email"             android:inputtype="textemailaddress"             android:maxlines="1"             android:singleline="true" />          <edittext             android:id="@+id/new_email"             android:layout_width="match_parent"             android:layout_height="40dp"             android:hint="@string/hint_new_email"             android:inputtype="textemailaddress"             android:maxlines="1"             android:singleline="true" />          <edittext             android:id="@+id/password"             android:layout_width="match_parent"             android:layout_height="40dp"             android:focusableintouchmode="true"             android:hint="@string/hint_password"             android:imeactionid="@+id/login"             android:imeoptions="actionunspecified"             android:inputtype="textpassword"             android:maxlines="1"             android:singleline="true" />          <edittext             android:id="@+id/newpassword"             android:layout_width="match_parent"             android:layout_height="40dp"             android:focusableintouchmode="true"             android:hint="@string/new_pass"             android:imeactionid="@+id/login"             android:imeoptions="actionunspecified"             android:inputtype="textpassword"             android:maxlines="1"             android:singleline="true" />          <button             android:id="@+id/changeemail"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:text="@string/btn_change"             android:textcolor="@android:color/white"             android:textstyle="bold" />          <button             android:id="@+id/changepass"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:text="@string/btn_change"             android:textcolor="@android:color/white"             android:textstyle="bold" />          <button             android:id="@+id/send"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:text="@string/btn_send"             android:textcolor="@android:color/white"             android:textstyle="bold" />           <button             android:id="@+id/remove"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:text="@string/btn_remove"             android:textcolor="@android:color/white"             android:textstyle="bold" />          <button             android:id="@+id/change_email_button"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:text="@string/change_email"             android:background="@color/colorprimary"             android:textcolor="@android:color/white"             android:textstyle="bold" />          <button             android:id="@+id/change_password_button"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:textcolor="@android:color/white"             android:text="@string/change_password"             android:textstyle="bold" />          <button             android:id="@+id/sending_pass_reset_button"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:textcolor="@android:color/white"             android:text="@string/send_password_reset_email"             android:textstyle="bold" />          <button             android:id="@+id/remove_user_button"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:text="@string/remove_user"             android:background="@color/colorprimary"             android:textcolor="@android:color/white"             android:textstyle="bold" />          <button             android:id="@+id/sign_out"             style="?android:textappearancesmall"             android:layout_width="match_parent"             android:layout_height="25dp"             android:layout_margin="5dp"             android:background="@color/colorprimary"             android:text="@string/btn_sign_out"             android:textcolor="@android:color/white"             android:textstyle="bold" />         </linearlayout>      </scrollview> 

i made buttons smaller thinking fit keep getting same problem.

any reason odd behavior?

ronald


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -