Advertisement
olcayertas

EditText in ScrollView

Jun 9th, 2015
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.86 KB | None | 0 0
  1. <RelativeLayout
  2.    xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:pixlui="http://schemas.android.com/apk/com.neopixl.pixlui"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:background="@drawable/login_background"
  8.    tools:context="com.yceo.namazvakti.fragments.LoginFragment">
  9.  
  10.     <!--Üst menü-->
  11.     <RelativeLayout
  12.        android:id="@+id/top_menu"
  13.        android:layout_width="match_parent"
  14.        android:layout_height="@dimen/top_menu_height_size"
  15.        android:layout_alignParentEnd="true"
  16.        android:layout_alignParentRight="true"
  17.        android:layout_alignParentTop="true"
  18.        android:background="@color/Gray"
  19.        android:clickable="true">
  20.  
  21.         <ImageButton
  22.            android:id="@+id/backButton"
  23.            android:layout_width="60dp"
  24.            android:layout_height="match_parent"
  25.            android:background="@android:color/transparent"
  26.            android:paddingBottom="20dp"
  27.            android:paddingLeft="20dp"
  28.            android:paddingStart="20dp"
  29.            android:paddingTop="20dp"
  30.            android:scaleType="fitStart"
  31.            android:src="@drawable/white_arrow_left"
  32.            android:visibility="visible"/>
  33.  
  34.         <!--Başlık-->
  35.         <com.neopixl.pixlui.components.textview.TextView
  36.            android:id="@+id/login_title"
  37.            android:layout_width="match_parent"
  38.            android:layout_height="match_parent"
  39.            android:background="@android:color/transparent"
  40.            android:clickable="false"
  41.            android:enabled="true"
  42.            android:focusable="false"
  43.            android:focusableInTouchMode="true"
  44.            android:gravity="center_horizontal|center_vertical"
  45.            android:maxLines="1"
  46.            android:text="@string/login_title"
  47.            android:textColor="@color/White"
  48.            android:textSize="@dimen/app_page_title_size"
  49.            android:textStyle="bold"
  50.            pixlui:typeface="MuseoSans.otf"/>
  51.  
  52.     </RelativeLayout>
  53.  
  54.     <ScrollView
  55.        android:id="@+id/scroll_view"
  56.        android:layout_width="match_parent"
  57.        android:layout_height="match_parent"
  58.        android:layout_below="@+id/top_menu"
  59.        android:overScrollMode="always">
  60.  
  61.         <LinearLayout
  62.            android:id="@+id/login_group"
  63.            android:layout_width="match_parent"
  64.            android:layout_height="wrap_content"
  65.            android:layout_gravity="center"
  66.            android:gravity="center"
  67.            android:orientation="vertical">
  68.  
  69.             <com.neopixl.pixlui.components.edittext.EditText
  70.                android:id="@+id/user_name_email"
  71.                android:layout_width="match_parent"
  72.                android:layout_height="@dimen/input_height_size"
  73.                android:layout_marginEnd="20dp"
  74.                android:layout_marginStart="20dp"
  75.                android:background="@drawable/edit_text_strock"
  76.                android:hint="@string/user_Name_Email_EditText"
  77.                android:maxLines="1"
  78.                android:paddingLeft="10dp"
  79.                android:paddingStart="10dp"
  80.                android:textColor="@color/White"
  81.                android:textColorHint="@color/White"
  82.                android:textSize="@dimen/register_input_text_size"
  83.                pixlui:typeface="MuseoSans.otf"/>
  84.  
  85.             <com.neopixl.pixlui.components.edittext.EditText
  86.                android:id="@+id/password_editText"
  87.                android:layout_width="match_parent"
  88.                android:layout_height="@dimen/input_height_size"
  89.                android:layout_gravity="center_horizontal"
  90.                android:layout_marginEnd="20dp"
  91.                android:layout_marginStart="20dp"
  92.                android:layout_marginTop="10dp"
  93.                android:background="@drawable/edit_text_strock"
  94.                android:ems="10"
  95.                android:hint="@string/user_Password"
  96.                android:inputType="textPassword"
  97.                android:maxLines="1"
  98.                android:paddingLeft="10dp"
  99.                android:paddingStart="10dp"
  100.                android:textColor="@color/White"
  101.                android:textColorHint="@color/White"
  102.                android:textSize="@dimen/register_input_text_size"
  103.                pixlui:typeface="MuseoSans.otf"/>
  104.  
  105.             <com.neopixl.pixlui.components.button.Button
  106.                android:id="@+id/login_Button"
  107.                android:layout_width="match_parent"
  108.                android:layout_height="@dimen/input_height_size"
  109.                android:layout_gravity="center_horizontal"
  110.                android:layout_marginEnd="20dp"
  111.                android:layout_marginStart="20dp"
  112.                android:layout_marginTop="10dp"
  113.                android:background="@color/login_Button"
  114.                android:inputType="text"
  115.                android:text="@string/login_Button"
  116.                android:textColor="@color/White"
  117.                android:textSize="@dimen/button_text_size"
  118.                pixlui:typeface="MuseoSans.otf"/>
  119.  
  120.             <com.neopixl.pixlui.components.textview.TextView
  121.                android:id="@+id/forgot_password"
  122.                android:layout_width="wrap_content"
  123.                android:layout_height="wrap_content"
  124.                android:layout_gravity="center_horizontal|end"
  125.                android:layout_marginEnd="20dp"
  126.                android:layout_marginStart="20dp"
  127.                android:layout_marginTop="10dp"
  128.                android:gravity="end"
  129.                android:text="@string/forgot_password"
  130.                android:textColor="@color/White"
  131.                android:textSize="@dimen/register_user_information_text_size"
  132.                pixlui:typeface="MuseoSans.otf"/>
  133.  
  134.             <com.neopixl.pixlui.components.textview.TextView
  135.                android:id="@+id/big_details"
  136.                android:layout_width="match_parent"
  137.                android:layout_height="wrap_content"
  138.                android:layout_marginEnd="20dp"
  139.                android:layout_marginStart="20dp"
  140.                android:layout_marginTop="40dp"
  141.                android:gravity="center"
  142.                android:text="@string/big_details"
  143.                android:textColor="@color/White"
  144.                android:textSize="@dimen/registeer_details_text_size"
  145.                pixlui:typeface="MuseoSans.otf"/>
  146.  
  147.             <com.neopixl.pixlui.components.textview.TextView
  148.                android:id="@+id/small_details"
  149.                android:layout_width="match_parent"
  150.                android:layout_height="wrap_content"
  151.                android:layout_marginEnd="20dp"
  152.                android:layout_marginStart="20dp"
  153.                android:layout_marginTop="5dp"
  154.                android:gravity="center"
  155.                android:text="@string/small_details"
  156.                android:textColor="@color/White"
  157.                android:textSize="@dimen/register_user_information_text_size"
  158.                pixlui:typeface="MuseoSans.otf"/>
  159.  
  160.             <com.neopixl.pixlui.components.button.Button
  161.                android:id="@+id/sign_up_button"
  162.                android:layout_width="match_parent"
  163.                android:layout_height="@dimen/input_height_size"
  164.                android:layout_gravity="center_horizontal"
  165.                android:layout_marginEnd="20dp"
  166.                android:layout_marginStart="20dp"
  167.                android:layout_marginTop="10dp"
  168.                android:background="@color/background"
  169.                android:inputType="text"
  170.                android:text="@string/sign_up_button"
  171.                android:textColor="@color/White"
  172.                android:textSize="@dimen/button_text_size"
  173.                pixlui:typeface="MuseoSans.otf"/>
  174.  
  175.         </LinearLayout>
  176.  
  177.     </ScrollView>
  178.  
  179. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement