Akshay Rohilla

Akshay Rohilla

  • NA
  • 15
  • 4.1k

Progress Is OverLapping My View ...Any Ui Expert ??

Sep 28 2017 6:37 AM
  1. <?xml version="1.0" encoding="utf-8"?>  
  2.   
  3.     <LinearLayout android:layout_height="match_parent"  
  4.  android:background="@drawable/log_bg"  
  5.  android:layout_width="match_parent"  
  6.  android:weightSum="1"  
  7.  tools:context="com.example.agiletech.agiletech.Login"  
  8.  xmlns:android="http://schemas.android.com/apk/res/android"  
  9.  xmlns:tools="http://schemas.android.com/tools"  
  10.  android:orientation="vertical">  
  11.     <ScrollView android:layout_height="match_parent"  
  12.  android:layout_width="match_parent"  
  13.  android:layout_weight="1"  
  14.  xmlns:android="http://schemas.android.com/apk/res/android">  
  15.   
  16.         <LinearLayout  
  17.  android:orientation="vertical"  
  18.  android:layout_weight="1"  
  19.  android:layout_width="match_parent"  
  20.  android:layout_height="match_parent">  
  21.   
  22.             <ImageView  
  23.  android:layout_width="263dp"  
  24.  android:layout_height="141dp"  
  25.  android:layout_weight="1"  
  26.  android:layout_gravity="center"  
  27.  android:background="@drawable/login_img"  
  28.  />  
  29.   
  30.             <EditText  
  31.  android:id="@+id/username"  
  32.  android:layout_width="259dp"  
  33.  android:layout_height="40dp"  
  34.  android:layout_marginTop="10dp"  
  35.  android:layout_gravity="center"  
  36.  android:background="@drawable/round"  
  37.  android:drawableLeft="@android:drawable/ic_secure"  
  38.  android:gravity="center"  
  39.  android:layout_weight="1"  android:hint="Username"  
  40.  android:padding="5dp"  
  41.  android:inputType="text"  
  42.  android:textColor="#000000"  
  43.  />  
  44.   
  45.             <ProgressBar  
  46.  android:id="@+id/pbb"  
  47.  style="?android:attr/progressBarStyleLarge"  
  48.  android:layout_width="wrap_content"  
  49.  android:layout_height="wrap_content"  
  50.  android:layout_gravity="center"  
  51.  android:indeterminateDrawable="@drawable/custom_progress" />  
  52.   
  53.             <EditText  
  54.  android:id="@+id/userpassword"  
  55.  android:layout_width="259dp"  
  56.  android:layout_height="40dp"  
  57.  android:layout_gravity="center"  
  58.  android:inputType="textPassword"  
  59.  android:layout_marginTop="10dp"  
  60.   
  61.  android:background="@drawable/round"  
  62.  android:hint="****"  
  63.  android:drawableLeft="@android:drawable/ic_partial_secure"  
  64.   
  65.  android:padding="5dp"  
  66.  android:gravity="center"  
  67.  android:layout_weight="1"  
  68.  android:textColor="#000000"  
  69.  />  
  70. <Space  
  71.  android:layout_width="match_parent"  
  72.  android:layout_height="20dp" />  
  73. <Button  
  74.  android:id="@+id/login_bn"  
  75.  android:layout_width="273dp"  
  76.  android:layout_height="39dp"  
  77.  android:background="@drawable/btn"  
  78.  android:text="LOGIN"  
  79.  android:layout_weight="1"  
  80.  android:layout_gravity="center"  
  81.  android:textColor="@android:color/background_light"  
  82. />  
  83.   <TextView  
  84.  android:id="@+id/fo"  
  85.  android:layout_width="wrap_content"  
  86.  android:layout_height="wrap_content"  
  87.  android:layout_marginTop="20dp"  
  88.  android:textSize="14dp"  
  89.  android:layout_gravity="center"  
  90.  android:text=" Forgot Password ? "  
  91.  android:layout_weight="1"  
  92.  android:textAppearance="@style/TextAppearance.AppCompat"  
  93.  android:textColor="@android:color/holo_orange_light" />  
  94.         <TextView  
  95.  android:id="@+id/textView3"  
  96.  android:textColor="@color/bpWhite"  
  97.  android:gravity="center"  
  98.  android:layout_gravity="center"  
  99. android:layout_weight="1"  
  100.  android:layout_width="match_parent"  
  101.  android:layout_height="wrap_content"  
  102.  android:text="I don't have an account yet. " />  
  103. <Button  
  104.  android:id="@+id/signup"  
  105.  android:layout_width="match_parent"  
  106.  android:layout_height="wrap_content"  
  107.  android:layout_weight="1"  
  108.  android:layout_gravity="center"  
  109.  android:background="@color/bpDarker_blue"  
  110.  android:text="SIGN Up"  
  111.  android:textColor="@android:color/background_light" />  
  112. </LinearLayout>  
  113. </ScrollView>  
  114. <FrameLayout  
  115.  android:layout_width="wrap_content"  
  116.  android:layout_height="wrap_content">  
  117. </FrameLayout>  
  118. </LinearLayout>