Android Klavyesi Çıktığında, Layout Üste Gösterme

Android Klavyesi Çıktığında, Layout Üste Gösterme

<RelativeLayout xmlns:android=“http://schemas.android.com/apk/res/android”

    xmlns:tools=“http://schemas.android.com/tools” android:layout_width=“match_parent”

    android:background=“@color/accent_material_light”

    android:layout_height=“match_parent” tools:context=“.MainActivity”>

 

    <ScrollView

        android:layout_width=“fill_parent”

        android:layout_height=“fill_parent”>

 

    <RelativeLayout

        android:id=“@+id/center_layout”

        android:layout_marginRight=“20dp”

        android:layout_marginLeft=“20dp”

        android:layout_marginBottom=“40dp”

        android:layout_marginTop=“40dp”

        android:background=“@drawable/bordered_layout”

        android:layout_width=“fill_parent”

        android:layout_height=“500dp”>

 

        <LinearLayout

            android:layout_centerInParent=“true”

            android:orientation=“vertical”

            android:layout_width=“fill_parent”

            android:layout_height=“wrap_content”>

 

            <EditText

                android:layout_marginBottom=“20dp”

                android:hint=“Kullanıcı Adı Giriniz”

                android:layout_width=“fill_parent”

                android:layout_height=“wrap_content” />

            <EditText

                android:inputType=“number”

                android:layout_marginBottom=“20dp”

                android:hint=“Şifre Giriniz”

                android:layout_width=“fill_parent”

                android:layout_height=“wrap_content” />

            <EditText

                android:layout_marginBottom=“20dp”

                android:hint=“TC Kimlik Numarası Giriniz”

                android:layout_width=“fill_parent”

                android:layout_height=“wrap_content” />

 

 

            </LinearLayout>

 

 

    </RelativeLayout>

 

    </ScrollView>

</RelativeLayout>

Yorum Yap
0 Yorum yapan