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
beed61b1
Commit
beed61b1
authored
Oct 28, 2019
by
MUDRA SAHU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Found Item and login activity
parent
a8ccee6f
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
171 additions
and
126 deletions
+171
-126
InstiLostAndFound.iml
InstiLostAndFound.iml
+1
-1
app/src/main/java/com/example/instilostandfound/FoundItem.java
...rc/main/java/com/example/instilostandfound/FoundItem.java
+30
-10
app/src/main/java/com/example/instilostandfound/MainActivity.java
...main/java/com/example/instilostandfound/MainActivity.java
+0
-1
app/src/main/res/layout/activity_found_item.xml
app/src/main/res/layout/activity_found_item.xml
+1
-0
app/src/main/res/layout/activity_main.xml
app/src/main/res/layout/activity_main.xml
+25
-63
app/src/main/res/layout/content_found_item.xml
app/src/main/res/layout/content_found_item.xml
+25
-12
app/src/main/res/layout/content_lost_item.xml
app/src/main/res/layout/content_lost_item.xml
+26
-13
app/src/main/res/layout/content_main.xml
app/src/main/res/layout/content_main.xml
+58
-23
app/src/main/res/values/colors.xml
app/src/main/res/values/colors.xml
+1
-0
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+2
-1
local.properties
local.properties
+2
-2
No files found.
InstiLostAndFound.iml
View file @
beed61b1
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<content
url=
"file://$MODULE_DIR$"
>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.gradle"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/.gradle"
/>
</content>
</content>
<orderEntry
type=
"
jdk"
jdkName=
"1.8"
jdkType=
"JavaSDK
"
/>
<orderEntry
type=
"
inheritedJdk
"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</component>
</module>
</module>
\ No newline at end of file
app/src/main/java/com/example/instilostandfound/FoundItem.java
View file @
beed61b1
package
com.example.instilostandfound
;
package
com.example.instilostandfound
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.snackbar.Snackbar
;
import
com.google.android.material.snackbar.Snackbar
;
import
com.google.firebase.auth.FirebaseAuth
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.widget.Toolbar
;
import
androidx.appcompat.widget.Toolbar
;
import
android.view.View
;
import
android.view.View
;
import
android.widget.EditText
;
public
class
FoundItem
extends
AppCompatActivity
{
public
class
FoundItem
extends
AppCompatActivity
{
//private FirebaseAuth mAuth;
EditText
title
;
EditText
place
;
EditText
desc
;
EditText
date
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_found_item
);
setContentView
(
R
.
layout
.
activity_found_item
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
setSupportActionBar
(
toolbar
);
setSupportActionBar
(
toolbar
);
title
=
findViewById
(
R
.
id
.
TITLE
);
place
=
findViewById
(
R
.
id
.
PLACE
);
desc
=
findViewById
(
R
.
id
.
DESC
);
date
=
findViewById
(
R
.
id
.
DATE
);
FloatingActionButton
fab
=
findViewById
(
R
.
id
.
fab
);
fab
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
}
public
void
onClick
(
View
view
)
{
private
void
SubmitFound
()
Snackbar
.
make
(
view
,
"Replace with your own action"
,
Snackbar
.
LENGTH_LONG
)
{
.
setAction
(
"Action"
,
null
).
show
();
String
Title
=
title
.
getText
().
toString
().
trim
();
String
Place
=
place
.
getText
().
toString
().
trim
();
String
Desc
=
desc
.
getText
().
toString
().
trim
();
}
public
void
onClick
(
View
view
)
{
switch
(
view
.
getId
())
{
case
R
.
id
.
submit
:;
SubmitFound
();
break
;
}
}
});
}
}
}
}
app/src/main/java/com/example/instilostandfound/MainActivity.java
View file @
beed61b1
package
com.example.instilostandfound
;
package
com.example.instilostandfound
;
import
android.content.Context
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
...
...
app/src/main/res/layout/activity_found_item.xml
View file @
beed61b1
...
@@ -30,4 +30,5 @@
...
@@ -30,4 +30,5 @@
android:layout_margin=
"@dimen/fab_margin"
android:layout_margin=
"@dimen/fab_margin"
app:srcCompat=
"@android:drawable/ic_dialog_email"
/>
app:srcCompat=
"@android:drawable/ic_dialog_email"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
app/src/main/res/layout/activity_main.xml
View file @
beed61b1
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android =
"http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools =
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_height =
"match_parent"
xmlns:tools=
"http://schemas.android.com/tools"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:layout_width=
"match_parent"
android:paddingRight =
"@dimen/activity_horizontal_margin"
android:layout_height=
"match_parent"
android:paddingTop =
"@dimen/activity_vertical_margin"
tools:context=
".MainActivity"
>
android:paddingBottom =
"@dimen/activity_vertical_margin"
tools:context =
".MainActivity"
>
<TextView
android:text =
"@string/login"
<com.google.android.material.appbar.AppBarLayout
android:layout_width=
"wrap_content"
android:layout_width=
"match_parent"
android:layout_height =
"wrap_content"
android:layout_height=
"wrap_content"
android:id =
"@+id/textView"
android:theme=
"@style/AppTheme.AppBarOverlay"
>
android:textSize =
"20sp"
android:layout_below =
"@+id/imageView"
android:textColor=
"@color/colorPrimary"
android:paddingTop =
"@dimen/activity_vertical_margin"
/>
<EditText
<androidx.appcompat.widget.Toolbar
android:layout_width =
"wrap_content"
android:id=
"@+id/toolbar"
android:layout_height =
"wrap_content"
android:layout_width=
"match_parent"
android:id =
"@+id/LDAP_ID"
android:layout_height=
"?attr/actionBarSize"
android:hint =
"@string/ldap_id"
android:background=
"?attr/colorPrimary"
android:focusable =
"true"
app:popupTheme=
"@style/AppTheme.PopupOverlay"
/>
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/textView"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<ImageView
</com.google.android.material.appbar.AppBarLayout>
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/imageView"
android:src=
"@drawable/download"
android:paddingTop =
"100dp"
android:layout_centerHorizontal=
"true"
/>
<include
layout=
"@layout/content_main"
/>
<
EditText
<
com.google.android.material.floatingactionbutton.FloatingActionButton
android:id=
"@+id/
LDAP_PASSWORD
"
android:id=
"@+id/
fab
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/LDAP_ID"
android:layout_gravity=
"bottom|end"
android:layout_alignEnd=
"@+id/LDAP_ID"
android:layout_margin=
"@dimen/fab_margin"
android:layout_alignLeft=
"@+id/LDAP_ID"
app:srcCompat=
"@android:drawable/ic_dialog_email"
/>
android:layout_alignParentStart=
"true"
android:layout_alignParentLeft=
"true"
android:ems=
"10"
android:hint=
"@string/password"
android:inputType=
"textPassword"
android:textColorHint=
"#ffff299f"
/>
<Button
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/login"
android:id=
"@+id/login_btn"
android:layout_alignParentBottom=
"true"
android:layout_centerHorizontal=
"true"
android:background=
"@color/colorPrimary"
android:layout_marginBottom =
"40dp"
/>
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
app/src/main/res/layout/content_found_item.xml
View file @
beed61b1
...
@@ -14,26 +14,39 @@
...
@@ -14,26 +14,39 @@
android:paddingBottom =
"@dimen/activity_vertical_margin"
android:paddingBottom =
"@dimen/activity_vertical_margin"
>
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/
imageView
"
android:id=
"@+id/
camera
"
android:src=
"@drawable/camera"
android:src=
"@drawable/camera"
android:minWidth=
"80dp"
android:minWidth=
"80dp"
android:minHeight=
"80dp"
android:minHeight=
"80dp"
android:layout_marginTop =
"40dp"
android:layout_marginTop =
"40dp"
android:layout_marginLeft=
"40dp"
android:layout_marginLeft=
"40dp"
/>
/>
<Spinner
android:id=
"@+id/category"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below =
"@+id/camera"
android:background=
"@android:drawable/btn_dropdown"
android:spinnerMode=
"dropdown"
android:layout_marginTop =
"20dp"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<EditText
<EditText
android:layout_width =
"wrap_content"
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/
editText
"
android:id =
"@+id/
title
"
android:hint =
"@string/title"
android:hint =
"@string/title"
android:focusable =
"true"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"
#ffff25e6
"
android:textColorHint =
"
@color/hint_color
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/
imageView
"
android:layout_below =
"@+id/
category
"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentRight =
"true"
...
@@ -42,13 +55,13 @@
...
@@ -42,13 +55,13 @@
<EditText
<EditText
android:layout_width =
"wrap_content"
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/
editText1
"
android:id =
"@+id/
place
"
android:hint =
"@string/place"
android:hint =
"@string/place"
android:focusable =
"true"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"
#ffff25e6
"
android:textColorHint =
"
@color/hint_color
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/
editText
"
android:layout_below =
"@+id/
title
"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentRight =
"true"
...
@@ -56,16 +69,16 @@
...
@@ -56,16 +69,16 @@
<EditText
<EditText
android:layout_width =
"wrap_content"
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/
editText2
"
android:id =
"@+id/
desc
"
android:hint =
"@string/desc"
android:hint =
"@string/desc"
android:focusable =
"true"
android:focusable =
"true"
android:ems=
"10"
android:ems=
"10"
android:gravity=
"start|top"
android:gravity=
"start|top"
android:inputType=
"textMultiLine"
android:inputType=
"textMultiLine"
android:textColorHighlight =
"#ff7eff15"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"
#ffff25e6
"
android:textColorHint =
"
@color/hint_color
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/
editText1
"
android:layout_below =
"@+id/
place
"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentRight =
"true"
...
@@ -83,12 +96,12 @@
...
@@ -83,12 +96,12 @@
/>
/>
<EditText
<EditText
android:id=
"@+id/
editText6
"
android:id=
"@+id/
date
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:inputType=
"date"
android:inputType=
"date"
android:hint =
"@string/date"
android:hint =
"@string/date"
android:layout_below =
"@+id/
editText2
"
android:layout_below =
"@+id/
desc
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
...
...
app/src/main/res/layout/content_lost_item.xml
View file @
beed61b1
...
@@ -14,26 +14,39 @@
...
@@ -14,26 +14,39 @@
android:paddingBottom =
"@dimen/activity_vertical_margin"
android:paddingBottom =
"@dimen/activity_vertical_margin"
>
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/
imageView
"
android:id=
"@+id/
camera
"
android:src=
"@drawable/camera"
android:src=
"@drawable/camera"
android:minWidth=
"80dp"
android:minWidth=
"80dp"
android:minHeight=
"80dp"
android:minHeight=
"80dp"
android:layout_marginTop =
"40dp"
android:layout_marginTop =
"40dp"
android:layout_marginLeft=
"40dp"
android:layout_marginLeft=
"40dp"
/>
/>
<Spinner
android:id=
"@+id/category"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below =
"@+id/camera"
android:background=
"@android:drawable/btn_dropdown"
android:spinnerMode=
"dropdown"
android:layout_marginTop =
"20dp"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<EditText
<EditText
android:layout_width =
"wrap_content"
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/
editText
"
android:id =
"@+id/
TITLE
"
android:hint =
"@string/title"
android:hint =
"@string/title"
android:focusable =
"true"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"
#ffff25e6
"
android:textColorHint =
"
@color/hint_color
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/
imageView
"
android:layout_below =
"@+id/
category
"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentRight =
"true"
...
@@ -42,13 +55,13 @@
...
@@ -42,13 +55,13 @@
<EditText
<EditText
android:layout_width =
"wrap_content"
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/
editText1
"
android:id =
"@+id/
PLACE
"
android:hint =
"@string/place"
android:hint =
"@string/place"
android:focusable =
"true"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"
#ffff25e6
"
android:textColorHint =
"
@color/hint_color
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/
editText
"
android:layout_below =
"@+id/
TITLE
"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentRight =
"true"
...
@@ -56,16 +69,16 @@
...
@@ -56,16 +69,16 @@
<EditText
<EditText
android:layout_width =
"wrap_content"
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/
editText2
"
android:id =
"@+id/
DESC
"
android:hint =
"@string/desc"
android:hint =
"@string/desc"
android:focusable =
"true"
android:focusable =
"true"
android:ems=
"10"
android:ems=
"10"
android:gravity=
"start|top"
android:gravity=
"start|top"
android:inputType=
"textMultiLine"
android:inputType=
"textMultiLine"
android:textColorHighlight =
"#ff7eff15"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"
#ffff25e6
"
android:textColorHint =
"
@color/hint_color
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/
editText1
"
android:layout_below =
"@+id/
PLACE
"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentRight =
"true"
...
@@ -75,7 +88,7 @@
...
@@ -75,7 +88,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/submit"
android:text=
"@string/submit"
android:id=
"@+id/
button
"
android:id=
"@+id/
submit
"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:layout_centerHorizontal=
"true"
android:layout_centerHorizontal=
"true"
android:background=
"@color/colorPrimary"
android:background=
"@color/colorPrimary"
...
@@ -83,12 +96,12 @@
...
@@ -83,12 +96,12 @@
/>
/>
<EditText
<EditText
android:id=
"@+id/
editText6
"
android:id=
"@+id/
DATE
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:inputType=
"date"
android:inputType=
"date"
android:hint =
"@string/date"
android:hint =
"@string/date"
android:layout_below =
"@+id/
editText2
"
android:layout_below =
"@+id/
DESC
"
android:layout_marginTop =
"20dp"
android:layout_marginTop =
"20dp"
android:layout_alignParentLeft =
"true"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentStart =
"true"
...
...
app/src/main/res/layout/content_main.xml
View file @
beed61b1
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<
androidx.constraintlayout.widget.Constraint
Layout
<
Relative
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
...
@@ -9,34 +9,69 @@
...
@@ -9,34 +9,69 @@
tools:showIn=
"@layout/activity_main"
tools:showIn=
"@layout/activity_main"
tools:context=
".MainActivity"
>
tools:context=
".MainActivity"
>
<TextView
android:text =
"@string/login"
android:layout_width=
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/textView"
android:textSize =
"20sp"
android:layout_below =
"@+id/imageView"
android:textColor=
"@color/colorPrimary"
android:paddingTop =
"@dimen/activity_vertical_margin"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/LDAP_ID"
android:hint =
"@string/ldap_id"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"@color/hint_color"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/textView"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/imageView"
android:src=
"@drawable/download"
android:paddingTop =
"10dp"
android:layout_centerHorizontal=
"true"
/>
<Button
android:id=
"@+id/button"
android:layout_width=
"282dp"
android:layout_height=
"38dp"
android:text=
"Login"
tools:layout_editor_absoluteX=
"75dp"
tools:layout_editor_absoluteY=
"535dp"
/>
<EditText
<EditText
android:id=
"@+id/editText"
android:id=
"@+id/LDAP_PASSWORD"
android:layout_width=
"282dp"
android:layout_width=
"wrap_content"
android:layout_height=
"42dp"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/LDAP_ID"
android:layout_alignEnd=
"@+id/LDAP_ID"
android:layout_alignLeft=
"@+id/LDAP_ID"
android:layout_alignRight=
"@+id/LDAP_ID"
android:layout_alignParentStart=
"true"
android:layout_alignParentLeft=
"true"
android:ems=
"10"
android:ems=
"10"
android:hint=
"@string/password"
android:hint=
"@string/password"
android:focusable =
"true"
android:inputType=
"textPassword"
android:inputType=
"textPassword"
tools:layout_editor_absoluteX=
"75dp"
android:textColorHint=
"@color/hint_color"
/>
tools:layout_editor_absoluteY=
"452dp"
/>
<EditText
<Button
android:id=
"@+id/editText4"
android:layout_width=
"match_parent"
android:layout_width=
"281dp"
android:layout_height=
""
android:layout_height=
"42dp"
android:text=
"@string/login"
android:ems=
"10"
android:id=
"@+id/login_btn"
android:hint=
"@string/ldap_id"
android:layout_centerHorizontal=
"true"
android:inputType=
"textPersonName"
android:layout_alignParentBottom=
"true"
tools:layout_editor_absoluteX=
"71dp"
android:background=
"@color/colorPrimary"
tools:layout_editor_absoluteY=
"365dp"
/>
android:layout_below=
"@+id/LDAP_PASSWORD"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
\ No newline at end of file
\ No newline at end of file
app/src/main/res/values/colors.xml
View file @
beed61b1
...
@@ -3,4 +3,5 @@
...
@@ -3,4 +3,5 @@
<color
name=
"colorPrimary"
>
#008577
</color>
<color
name=
"colorPrimary"
>
#008577
</color>
<color
name=
"colorPrimaryDark"
>
#00574B
</color>
<color
name=
"colorPrimaryDark"
>
#00574B
</color>
<color
name=
"colorAccent"
>
#D81B60
</color>
<color
name=
"colorAccent"
>
#D81B60
</color>
<color
name=
"hint_color"
>
#989898
</color>
</resources>
</resources>
app/src/main/res/values/strings.xml
View file @
beed61b1
<resources>
<resources>
<string
name=
"app_name"
>
HelloWorl
d
</string>
<string
name=
"app_name"
>
InstiLostAndFoun
d
</string>
<string
name=
"ldap_id"
>
LDAP Id
</string>
<string
name=
"ldap_id"
>
LDAP Id
</string>
<string
name=
"password"
>
password
</string>
<string
name=
"password"
>
password
</string>
<string
name=
"login"
>
Login
</string>
<string
name=
"login"
>
Login
</string>
...
@@ -12,4 +12,5 @@
...
@@ -12,4 +12,5 @@
<string
name=
"date"
>
Date
</string>
<string
name=
"date"
>
Date
</string>
<string
name=
"submit"
>
Submit
</string>
<string
name=
"submit"
>
Submit
</string>
<string
name=
"title_activity_found_item"
>
FoundItem
</string>
<string
name=
"title_activity_found_item"
>
FoundItem
</string>
</resources>
</resources>
local.properties
View file @
beed61b1
...
@@ -4,5 +4,5 @@
...
@@ -4,5 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# For customization when using a Version Control System, please read the
# header note.
# header note.
#
Fri Oct 25 11:44:2
6 IST 2019
#
Mon Oct 28 13:39:3
6 IST 2019
sdk.dir
=
/home/
chikki
/Android/Sdk
sdk.dir
=
/home/
abc
/Android/Sdk
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