Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiLostAndFound
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
MUTTINENI NAVYA
InstiLostAndFound
Commits
0938a3d5
Commit
0938a3d5
authored
Oct 29, 2019
by
MUDRA SAHU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login interface
parent
3fef12ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
135 additions
and
4 deletions
+135
-4
app/src/main/res/layout/content_main.xml
app/src/main/res/layout/content_main.xml
+135
-4
No files found.
app/src/main/res/layout/content_main.xml
View file @
0938a3d5
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
...
...
@@ -7,6 +8,7 @@
android:layout_height=
"match_parent"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:showIn=
"@layout/activity_main"
android:layout_margin=
"15dp"
tools:context=
".MainActivity"
>
<TextView
android:text =
"@string/login"
...
...
@@ -35,12 +37,13 @@
android:layout_alignParentEnd =
"true"
/>
<ImageView
android:layout_width=
"
wrap_content
"
android:layout_height=
"
wrap_content
"
android:layout_width=
"
150dp
"
android:layout_height=
"
150dp
"
android:id=
"@+id/imageView"
android:src=
"@drawable/download"
android:paddingTop =
"10dp"
android:layout_centerHorizontal=
"true"
android:layout_marginTop =
"30dp"
/>
...
...
@@ -55,6 +58,7 @@
android:layout_alignParentStart=
"true"
android:layout_alignParentLeft=
"true"
android:ems=
"10"
android:layout_marginTop =
"20dp"
android:hint=
"@string/password"
android:focusable =
"true"
android:inputType=
"textPassword"
...
...
@@ -66,7 +70,7 @@
android:text=
"@string/login"
android:id=
"@+id/login_btn"
android:layout_centerHorizontal=
"true"
android:layout_
alignParentBottom=
"true
"
android:layout_
marginTop =
"20dp
"
android:background=
"@color/colorPrimary"
android:layout_below=
"@+id/LDAP_PASSWORD"
...
...
@@ -74,4 +78,131 @@
/>
</RelativeLayout>
\ No newline at end of file
</RelativeLayout>
<!--
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<ImageView
android:layout_width="85dp"
android:layout_height="100dp"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@drawable/download"
android:contentDescription="TODO" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@color/colorPrimary">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:orientation="vertical"
android:paddingLeft="15dp"
android:paddingRight="15dp">
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:textColorHint="@color/colorAccent2"
android:focusable="true"
android:focusableInTouchMode="true">
<android.support.design.widget.TextInputEditText
android:id="@+id/editTextEmail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints=""
android:hint="@string/email"
android:inputType="textEmailAddress"
android:paddingBottom="15dp" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:textColorHint="@color/colorAccent2"
app:passwordToggleEnabled="true">
<android.support.design.widget.TextInputEditText
android:id="@+id/editTextPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/password"
android:inputType="textPassword"
android:paddingBottom="15dp" />
</android.support.design.widget.TextInputLayout>
<Button
android:id="@+id/buttonLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="7dp"
android:background="@drawable/common_google_signin_btn_icon_dark"
android:elevation="4dp"
android:text="@string/login"
android:textAllCaps="false"
android:textColor="@color/colorPrimary" />
<TextView
android:id="@+id/textView_forgotPass"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="@string/password"
android:textAlignment="center"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"
android:textColor="@color/colorPrimary" />
<TextView
android:id="@+id/textViewSignup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="@string/ldap_id"
android:textAlignment="center"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"
android:textColor="@color/colorAccent" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:visibility="gone" />
</RelativeLayout>
</LinearLayout>
-->
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment