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
b40cb161
Commit
b40cb161
authored
Oct 26, 2019
by
MUTTINENI NAVYA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Navigation bar
parent
db19e073
Changes
37
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
409 additions
and
665 deletions
+409
-665
InstiLostandFound.iml
InstiLostandFound.iml
+19
-0
app/app.iml
app/app.iml
+2
-10
app/build.gradle
app/build.gradle
+2
-4
app/src/androidTest/java/com/example/instilostandfound/ExampleInstrumentedTest.java
...om/example/instilostandfound/ExampleInstrumentedTest.java
+1
-0
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
+1
-11
app/src/main/java/com/example/instilostandfound/FoundItem.java
...rc/main/java/com/example/instilostandfound/FoundItem.java
+0
-32
app/src/main/java/com/example/instilostandfound/LostItem.java
...src/main/java/com/example/instilostandfound/LostItem.java
+0
-32
app/src/main/java/com/example/instilostandfound/MainActivity.java
...main/java/com/example/instilostandfound/MainActivity.java
+42
-88
app/src/main/java/com/example/instilostandfound/NewsFeedFragment.java
.../java/com/example/instilostandfound/NewsFeedFragment.java
+18
-0
app/src/main/java/com/example/instilostandfound/PostFoundItemFragment.java
.../com/example/instilostandfound/PostFoundItemFragment.java
+18
-0
app/src/main/java/com/example/instilostandfound/PostLostItemFragment.java
...a/com/example/instilostandfound/PostLostItemFragment.java
+18
-0
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
+6
-6
app/src/main/res/drawable/camera.png
app/src/main/res/drawable/camera.png
+0
-0
app/src/main/res/drawable/download.png
app/src/main/res/drawable/download.png
+0
-0
app/src/main/res/drawable/ic_launcher_background.xml
app/src/main/res/drawable/ic_launcher_background.xml
+166
-70
app/src/main/res/layout/activity_found_item.xml
app/src/main/res/layout/activity_found_item.xml
+0
-33
app/src/main/res/layout/activity_lost_item.xml
app/src/main/res/layout/activity_lost_item.xml
+0
-33
app/src/main/res/layout/activity_main.xml
app/src/main/res/layout/activity_main.xml
+37
-61
app/src/main/res/layout/content_found_item.xml
app/src/main/res/layout/content_found_item.xml
+0
-99
app/src/main/res/layout/content_lost_item.xml
app/src/main/res/layout/content_lost_item.xml
+0
-99
app/src/main/res/layout/content_main.xml
app/src/main/res/layout/content_main.xml
+0
-42
app/src/main/res/layout/fragment_newsfeed.xml
app/src/main/res/layout/fragment_newsfeed.xml
+7
-0
app/src/main/res/layout/fragment_post_found_item.xml
app/src/main/res/layout/fragment_post_found_item.xml
+7
-0
app/src/main/res/layout/fragment_post_lost_item.xml
app/src/main/res/layout/fragment_post_lost_item.xml
+7
-0
app/src/main/res/layout/nav_headerlayout.xml
app/src/main/res/layout/nav_headerlayout.xml
+17
-0
app/src/main/res/menu/menu_main.xml
app/src/main/res/menu/menu_main.xml
+0
-9
app/src/main/res/menu/menu_navigation.xml
app/src/main/res/menu/menu_navigation.xml
+21
-0
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+2
-2
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+2
-2
app/src/main/res/values/dimens.xml
app/src/main/res/values/dimens.xml
+0
-5
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+6
-13
app/src/main/res/values/styles.xml
app/src/main/res/values/styles.xml
+3
-3
build.gradle
build.gradle
+0
-1
gradle.properties
gradle.properties
+0
-5
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+1
-1
local.properties
local.properties
+5
-3
settings.gradle
settings.gradle
+1
-1
No files found.
InstiLostandFound.iml
0 → 100644
View file @
b40cb161
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
"InstiLostandFound"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$"
external.system.id=
"GRADLE"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"java-gradle"
name=
"Java-Gradle"
>
<configuration>
<option
name=
"BUILD_FOLDER_PATH"
value=
"$MODULE_DIR$/build"
/>
<option
name=
"BUILDABLE"
value=
"false"
/>
</configuration>
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_7"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.gradle"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
app/app.iml
View file @
b40cb161
...
...
@@ -19,7 +19,7 @@
<option
name=
"ALLOW_USER_CONFIGURATION"
value=
"false"
/>
<option
name=
"MANIFEST_FILE_RELATIVE_PATH"
value=
"/src/main/AndroidManifest.xml"
/>
<option
name=
"RES_FOLDER_RELATIVE_PATH"
value=
"/src/main/res"
/>
<option
name=
"RES_FOLDERS_RELATIVE_PATH"
value=
"file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/
google-services/debug;file://$MODULE_DIR$/build/generated/res/
resValues/debug"
/>
<option
name=
"RES_FOLDERS_RELATIVE_PATH"
value=
"file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/resValues/debug"
/>
<option
name=
"TEST_RES_FOLDERS_RELATIVE_PATH"
value=
""
/>
<option
name=
"ASSETS_FOLDER_RELATIVE_PATH"
value=
"/src/main/assets"
/>
</configuration>
...
...
@@ -34,7 +34,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/google-services/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out"
isTestSource=
"true"
generated=
"true"
/>
...
...
@@ -109,15 +108,8 @@
<orderEntry
type=
"library"
name=
"Gradle: androidx.arch.core:core-common:2.0.0@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.annotation:annotation:1.0.0@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.constraintlayout:constraintlayout-solver:1.1.3@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.auto.value:auto-value-annotations:1.6.5@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.material:material:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.appcompat:appcompat:1.0.2@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.firebase:firebase-auth:19.1.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.firebase:firebase-auth-interop:18.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.gms:play-services-base:17.1.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.firebase:firebase-common:19.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.gms:play-services-tasks:17.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.gms:play-services-basement:17.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.fragment:fragment:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.vectordrawable:vectordrawable-animated:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.recyclerview:recyclerview:1.0.0@aar"
level=
"project"
/>
...
...
@@ -137,9 +129,9 @@
<orderEntry
type=
"library"
name=
"Gradle: androidx.versionedparcelable:versionedparcelable:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.cardview:cardview:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.lifecycle:lifecycle-runtime:2.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.documentfile:documentfile:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.print:print:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.lifecycle:lifecycle-viewmodel:2.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.interpolator:interpolator:1.0.0@aar"
level=
"project"
/>
...
...
app/build.gradle
View file @
b40cb161
...
...
@@ -5,7 +5,7 @@ android {
buildToolsVersion
"29.0.2"
defaultConfig
{
applicationId
"com.example.instilostandfound"
minSdkVersion
1
6
minSdkVersion
1
5
targetSdkVersion
29
versionCode
1
versionName
"1.0"
...
...
@@ -23,10 +23,8 @@ dependencies {
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
'androidx.appcompat:appcompat:1.0.2'
implementation
'androidx.constraintlayout:constraintlayout:1.1.3'
implementation
'com.google.android.material:material:1.0.0'
implementation
'com.google.firebase:firebase-auth:19.1.0'
testImplementation
'junit:junit:4.12'
androidTestImplementation
'androidx.test.ext:junit:1.1.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.1.1'
implementation
'com.google.android.material:material:1.0.0'
}
apply
plugin:
'com.google.gms.google-services'
app/src/androidTest/java/com/example/instilostandfound/ExampleInstrumentedTest.java
View file @
b40cb161
package
com.example.instilostandfound
;
import
android.content.Context
;
import
androidx.test.platform.app.InstrumentationRegistry
;
import
androidx.test.ext.junit.runners.AndroidJUnit4
;
...
...
app/src/main/AndroidManifest.xml
View file @
b40cb161
...
...
@@ -9,17 +9,7 @@
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:theme=
"@style/AppTheme"
>
<activity
android:name=
".FoundItem"
android:label=
"@string/title_activity_found_item"
android:theme=
"@style/AppTheme.NoActionBar"
></activity>
<activity
android:name=
".LostItem"
android:label=
"@string/title_activity_lost_item"
android:theme=
"@style/AppTheme.NoActionBar"
/>
<activity
android:name=
".MainActivity"
android:label=
"@string/app_name"
<activity
android:name=
".MainActivity"
android:theme=
"@style/AppTheme.NoActionBar"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
...
...
app/src/main/java/com/example/instilostandfound/FoundItem.java
deleted
100644 → 0
View file @
db19e073
package
com.example.instilostandfound
;
import
android.os.Bundle
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.snackbar.Snackbar
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.widget.Toolbar
;
import
android.view.View
;
public
class
FoundItem
extends
AppCompatActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_found_item
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
setSupportActionBar
(
toolbar
);
FloatingActionButton
fab
=
findViewById
(
R
.
id
.
fab
);
fab
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
Snackbar
.
make
(
view
,
"Replace with your own action"
,
Snackbar
.
LENGTH_LONG
)
.
setAction
(
"Action"
,
null
).
show
();
}
});
}
}
app/src/main/java/com/example/instilostandfound/LostItem.java
deleted
100644 → 0
View file @
db19e073
package
com.example.instilostandfound
;
import
android.os.Bundle
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.snackbar.Snackbar
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.widget.Toolbar
;
import
android.view.View
;
public
class
LostItem
extends
AppCompatActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_lost_item
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
setSupportActionBar
(
toolbar
);
/*FloatingActionButton fab = findViewById(R.id.fab);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
.setAction("Action", null).show();
}
});*/
}
}
app/src/main/java/com/example/instilostandfound/MainActivity.java
View file @
b40cb161
package
com.example.instilostandfound
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
com.google.android.gms.tasks.OnCompleteListener
;
import
com.google.android.gms.tasks.Task
;
import
com.google.android.material.snackbar.Snackbar
;
import
com.google.firebase.auth.AuthResult
;
import
com.google.firebase.auth.FirebaseAuth
;
import
androidx.annotation.NonNull
;
import
androidx.appcompat.app.ActionBarDrawerToggle
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.widget.Toolbar
;
import
android.view.View
;
import
android.view.Menu
;
import
androidx.core.view.GravityCompat
;
import
androidx.drawerlayout.widget.DrawerLayout
;
import
android.os.Bundle
;
import
android.view.MenuItem
;
import
android.widget.EditText
;
import
android.widget.Toast
;
public
class
MainActivity
extends
AppCompatActivity
implements
View
.
OnClickListener
{
private
FirebaseAuth
mAuth
;
EditText
ldap_id
;
EditText
ldap_password
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
import
com.google.android.material.navigation.NavigationView
;
// ...
// Initialize Firebase Auth
public
class
MainActivity
extends
AppCompatActivity
implements
NavigationView
.
OnNavigationItemSelectedListener
{
private
DrawerLayout
drawerLayout
;
mAuth
=
FirebaseAuth
.
getInstance
();
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_main
);
NavigationView
navigationView
=
findViewById
(
R
.
id
.
nav
);
navigationView
.
setNavigationItemSelectedListener
(
this
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
ldap_id
=
findViewById
(
R
.
id
.
LDAP_ID
);
ldap_password
=
findViewById
(
R
.
id
.
LDAP_PASSWORD
);
setSupportActionBar
(
toolbar
);
findViewById
(
R
.
id
.
login_btn
).
setOnClickListener
(
this
);
/*FloatingActionButton fab = findViewById(R.id.fab);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
.setAction("Action", null).show();
}
});*/
}
drawerLayout
=
findViewById
(
R
.
id
.
drawer_layout
);
ActionBarDrawerToggle
navigation_toggle
=
new
ActionBarDrawerToggle
(
this
,
drawerLayout
,
toolbar
,
R
.
string
.
open_navigation
,
R
.
string
.
close_navigation
);
drawerLayout
.
addDrawerListener
(
navigation_toggle
);
navigation_toggle
.
syncState
();
@Override
public
boolean
onCreateOptionsMenu
(
Menu
menu
)
{
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater
().
inflate
(
R
.
menu
.
menu_main
,
menu
);
return
true
;
if
(
savedInstanceState
==
null
){
getSupportFragmentManager
().
beginTransaction
().
replace
(
R
.
id
.
fragment_container
,
new
NewsFeedFragment
()).
commit
();
}
}
@Override
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int
id
=
item
.
getItemId
();
//noinspection SimplifiableIfStatement
if
(
id
==
R
.
id
.
action_settings
)
{
return
true
;
public
void
onBackPressed
(){
if
(
drawerLayout
.
isDrawerOpen
(
GravityCompat
.
START
)){
drawerLayout
.
closeDrawer
(
GravityCompat
.
START
);
}
return
super
.
onOptionsItemSelected
(
item
);
else
super
.
onBackPressed
(
);
}
private
void
LDAPLogin
()
{
String
id
=
ldap_id
.
getText
().
toString
().
trim
()+
"@iitb.ac.in"
;
String
password
=
ldap_password
.
getText
().
toString
().
trim
();
if
(
id
.
isEmpty
())
{
ldap_id
.
setError
(
"Please enter your ldap id"
);
ldap_id
.
requestFocus
();
return
;
}
if
(
password
.
isEmpty
())
{
ldap_password
.
setError
(
"Please enter your ldap password "
);
ldap_password
.
requestFocus
();
return
;
}
mAuth
.
signInWithEmailAndPassword
(
id
,
password
).
addOnCompleteListener
(
new
OnCompleteListener
<
AuthResult
>()
{
@Override
public
void
onComplete
(
@NonNull
Task
<
AuthResult
>
task
)
{
if
(
task
.
isSuccessful
())
{
Toast
.
makeText
(
MainActivity
.
this
,
"LOGIN SUCCESSFUL"
,
Toast
.
LENGTH_LONG
).
show
();
}
else
{
ldap_password
.
setText
(
""
);
Toast
.
makeText
(
MainActivity
.
this
,
"INVALID CREDENTIALS"
,
Toast
.
LENGTH_LONG
).
show
();
}
}
});
}
public
void
onClick
(
View
view
)
{
switch
(
view
.
getId
())
{
case
R
.
id
.
login_btn
:
LDAPLogin
();
@Override
public
boolean
onNavigationItemSelected
(
@NonNull
MenuItem
menuItem
)
{
switch
((
menuItem
.
getItemId
())){
case
R
.
id
.
post_found
:
getSupportFragmentManager
().
beginTransaction
().
replace
(
R
.
id
.
fragment_container
,
new
PostFoundItemFragment
()).
commit
();
break
;
case
R
.
id
.
post_lost
:
getSupportFragmentManager
().
beginTransaction
().
replace
(
R
.
id
.
fragment_container
,
new
PostLostItemFragment
()).
commit
();
break
;
case
R
.
id
.
home
:
Toast
.
makeText
(
this
,
"home"
,
Toast
.
LENGTH_SHORT
).
show
();
break
;
}
drawerLayout
.
closeDrawer
(
GravityCompat
.
START
);
return
true
;
}
}
app/src/main/java/com/example/instilostandfound/NewsFeedFragment.java
0 → 100644
View file @
b40cb161
package
com.example.instilostandfound
;
import
android.os.Bundle
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
androidx.annotation.NonNull
;
import
androidx.annotation.Nullable
;
import
androidx.fragment.app.Fragment
;
public
class
NewsFeedFragment
extends
Fragment
{
@Nullable
@Override
public
View
onCreateView
(
@NonNull
LayoutInflater
inflater
,
@Nullable
ViewGroup
container
,
@Nullable
Bundle
savedInstanceState
)
{
return
inflater
.
inflate
(
R
.
layout
.
fragment_newsfeed
,
container
,
false
);
}
}
app/src/main/java/com/example/instilostandfound/PostFoundItemFragment.java
0 → 100644
View file @
b40cb161
package
com.example.instilostandfound
;
import
android.os.Bundle
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
androidx.annotation.NonNull
;
import
androidx.annotation.Nullable
;
import
androidx.fragment.app.Fragment
;
public
class
PostFoundItemFragment
extends
Fragment
{
@Nullable
@Override
public
View
onCreateView
(
@NonNull
LayoutInflater
inflater
,
@Nullable
ViewGroup
container
,
@Nullable
Bundle
savedInstanceState
)
{
return
inflater
.
inflate
(
R
.
layout
.
fragment_post_found_item
,
container
,
false
);
}
}
app/src/main/java/com/example/instilostandfound/PostLostItemFragment.java
0 → 100644
View file @
b40cb161
package
com.example.instilostandfound
;
import
android.os.Bundle
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
androidx.annotation.NonNull
;
import
androidx.annotation.Nullable
;
import
androidx.fragment.app.Fragment
;
public
class
PostLostItemFragment
extends
Fragment
{
@Nullable
@Override
public
View
onCreateView
(
@NonNull
LayoutInflater
inflater
,
@Nullable
ViewGroup
container
,
@Nullable
Bundle
savedInstanceState
)
{
return
inflater
.
inflate
(
R
.
layout
.
fragment_post_lost_item
,
container
,
false
);
}
}
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
View file @
b40cb161
...
...
@@ -2,13 +2,13 @@
xmlns:aapt=
"http://schemas.android.com/aapt"
android:width=
"108dp"
android:height=
"108dp"
android:viewport
Height
=
"108"
android:viewport
Width
=
"108"
>
android:viewport
Width
=
"108"
android:viewport
Height
=
"108"
>
<path
android:fillType=
"evenOdd"
android:pathData=
"M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:stroke
Color=
"#00000000
"
android:stroke
Width=
"1
"
>
android:stroke
Width=
"1
"
android:stroke
Color=
"#00000000
"
>
<aapt:attr
name=
"android:fillColor"
>
<gradient
android:endX=
"78.5885"
...
...
@@ -29,6 +29,6 @@
android:fillColor=
"#FFFFFF"
android:fillType=
"nonZero"
android:pathData=
"M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:stroke
Color=
"#00000000
"
android:stroke
Width=
"1
"
/>
android:stroke
Width=
"1
"
android:stroke
Color=
"#00000000
"
/>
</vector>
app/src/main/res/drawable/camera.png
deleted
100644 → 0
View file @
db19e073
297 Bytes
app/src/main/res/drawable/download.png
deleted
100644 → 0
View file @
db19e073
14.7 KB
app/src/main/res/drawable/ic_launcher_background.xml
View file @
b40cb161
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/activity_found_item.xml
deleted
100644 → 0
View file @
db19e073
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
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"
tools:context=
".FoundItem"
>
<com.google.android.material.appbar.AppBarLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:theme=
"@style/AppTheme.AppBarOverlay"
>
<androidx.appcompat.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"?attr/colorPrimary"
app:popupTheme=
"@style/AppTheme.PopupOverlay"
/>
</com.google.android.material.appbar.AppBarLayout>
<include
layout=
"@layout/content_found_item"
/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id=
"@+id/fab"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|end"
android:layout_margin=
"@dimen/fab_margin"
app:srcCompat=
"@android:drawable/ic_dialog_email"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
app/src/main/res/layout/activity_lost_item.xml
deleted
100644 → 0
View file @
db19e073
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
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"
tools:context=
".LostItem"
>
<com.google.android.material.appbar.AppBarLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:theme=
"@style/AppTheme.AppBarOverlay"
>
<androidx.appcompat.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"?attr/colorPrimary"
app:popupTheme=
"@style/AppTheme.PopupOverlay"
/>
</com.google.android.material.appbar.AppBarLayout>
<include
layout=
"@layout/content_lost_item"
/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id=
"@+id/fab"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|end"
android:layout_margin=
"@dimen/fab_margin"
app:srcCompat=
"@android:drawable/ic_dialog_email"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
app/src/main/res/layout/activity_main.xml
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android =
"http://schemas.android.com/apk/res/android"
xmlns:tools =
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height =
"match_parent"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:paddingRight =
"@dimen/activity_horizontal_margin"
android:paddingTop =
"@dimen/activity_vertical_margin"
android:paddingBottom =
"@dimen/activity_vertical_margin"
tools:context =
".MainActivity"
>
<androidx.drawerlayout.widget.DrawerLayout
android:id=
"@+id/drawer_layout"
android:fitsSystemWindows=
"true"
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"
tools:context=
".MainActivity"
tools:openDrawer=
"start"
>
<LinearLayout
android:layout_height=
"match_parent"
android:layout_width=
"match_parent"
android:orientation=
"vertical"
>
<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"
/>
<androidx.appcompat.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"?attr/colorPrimary"
android:theme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme=
"@style/ThemeOverlay.AppCompat.Light"
android:elevation=
"4dp"
/>
<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 =
"#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"
/>
<FrameLayout
android:id=
"@+id/fragment_container"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
</LinearLayout>
<ImageView
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"
/>
<
EditText
android:id=
"@+id/
LDAP_PASSWORD
"
<
com.google.android.material.navigation.NavigationView
android:id=
"@+id/
nav
"
android:layout_width=
"wrap_content"
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_alignParentStart=
"true"
android:layout_alignParentLeft=
"true"
android:ems=
"10"
android:hint=
"@string/password"
android:inputType=
"textPassword"
android:textColorHint=
"#ffff299f"
/>
android:layout_height=
"match_parent"
app:headerLayout=
"@layout/nav_headerlayout"
app:menu=
"@menu/menu_navigation"
android:layout_gravity=
"start"
>
<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"
/>
</com.google.android.material.navigation.NavigationView>
</RelativeLayout>
</androidx.drawerlayout.widget.DrawerLayout>
\ No newline at end of file
app/src/main/res/layout/content_found_item.xml
deleted
100644 → 0
View file @
db19e073
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:context=
".LostItem"
tools:showIn=
"@layout/activity_lost_item"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:paddingRight =
"@dimen/activity_horizontal_margin"
android:paddingTop =
"@dimen/activity_vertical_margin"
android:paddingBottom =
"@dimen/activity_vertical_margin"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/imageView"
android:src=
"@drawable/camera"
android:minWidth=
"80dp"
android:minHeight=
"80dp"
android:layout_marginTop =
"40dp"
android:layout_marginLeft=
"40dp"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/editText"
android:hint =
"@string/title"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/imageView"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/editText1"
android:hint =
"@string/place"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/editText"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/editText2"
android:hint =
"@string/desc"
android:focusable =
"true"
android:ems=
"10"
android:gravity=
"start|top"
android:inputType=
"textMultiLine"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/editText1"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<Button
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/submit"
android:id=
"@+id/button"
android:layout_alignParentBottom=
"true"
android:layout_centerHorizontal=
"true"
android:background=
"@color/colorPrimary"
android:layout_marginBottom =
"40dp"
/>
<EditText
android:id=
"@+id/editText6"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:inputType=
"date"
android:hint =
"@string/date"
android:layout_below =
"@+id/editText2"
android:layout_marginTop =
"20dp"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/content_lost_item.xml
deleted
100644 → 0
View file @
db19e073
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:context=
".LostItem"
tools:showIn=
"@layout/activity_lost_item"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:paddingRight =
"@dimen/activity_horizontal_margin"
android:paddingTop =
"@dimen/activity_vertical_margin"
android:paddingBottom =
"@dimen/activity_vertical_margin"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/imageView"
android:src=
"@drawable/camera"
android:minWidth=
"80dp"
android:minHeight=
"80dp"
android:layout_marginTop =
"40dp"
android:layout_marginLeft=
"40dp"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/editText"
android:hint =
"@string/title"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/imageView"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/editText1"
android:hint =
"@string/place"
android:focusable =
"true"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/editText"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<EditText
android:layout_width =
"wrap_content"
android:layout_height =
"wrap_content"
android:id =
"@+id/editText2"
android:hint =
"@string/desc"
android:focusable =
"true"
android:ems=
"10"
android:gravity=
"start|top"
android:inputType=
"textMultiLine"
android:textColorHighlight =
"#ff7eff15"
android:textColorHint =
"#ffff25e6"
android:layout_marginTop =
"20dp"
android:layout_below =
"@+id/editText1"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
<Button
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/submit"
android:id=
"@+id/button"
android:layout_alignParentBottom=
"true"
android:layout_centerHorizontal=
"true"
android:background=
"@color/colorPrimary"
android:layout_marginBottom =
"40dp"
/>
<EditText
android:id=
"@+id/editText6"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:inputType=
"date"
android:hint =
"@string/date"
android:layout_below =
"@+id/editText2"
android:layout_marginTop =
"20dp"
android:layout_alignParentLeft =
"true"
android:layout_alignParentStart =
"true"
android:layout_alignParentRight =
"true"
android:layout_alignParentEnd =
"true"
/>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/content_main.xml
deleted
100644 → 0
View file @
db19e073
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:showIn=
"@layout/activity_main"
tools:context=
".MainActivity"
>
<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
android:id=
"@+id/editText"
android:layout_width=
"282dp"
android:layout_height=
"42dp"
android:ems=
"10"
android:hint=
"@string/password"
android:inputType=
"textPassword"
tools:layout_editor_absoluteX=
"75dp"
tools:layout_editor_absoluteY=
"452dp"
/>
<EditText
android:id=
"@+id/editText4"
android:layout_width=
"281dp"
android:layout_height=
"42dp"
android:ems=
"10"
android:hint=
"@string/ldap_id"
android:inputType=
"textPersonName"
tools:layout_editor_absoluteX=
"71dp"
tools:layout_editor_absoluteY=
"365dp"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_newsfeed.xml
0 → 100644
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@android:color/holo_green_light"
>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_post_found_item.xml
0 → 100644
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@android:color/holo_purple"
>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_post_lost_item.xml
0 → 100644
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@android:color/holo_blue_dark"
>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/nav_headerlayout.xml
0 → 100644
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:gravity=
"center_vertical"
android:padding=
"20dp"
android:layout_height=
"150dp"
android:background=
"@color/colorPrimary"
>
<TextView
android:id=
"@+id/textView"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/app_name"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/menu/menu_main.xml
deleted
100644 → 0
View file @
db19e073
<menu
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"
tools:context=
"com.example.instilostandfound.MainActivity"
>
<item
android:id=
"@+id/action_settings"
android:title=
"@string/action_settings"
android:orderInCategory=
"100"
app:showAsAction=
"never"
/>
</menu>
app/src/main/res/menu/menu_navigation.xml
0 → 100644
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
tools:showIn=
"navigation_view"
>
<group
android:checkableBehavior=
"single"
>
<item
android:id=
"@+id/home"
android:title=
"Home"
/>
<item
android:id=
"@+id/post_lost"
android:title=
"@string/post_lost_item"
/>
<item
android:id=
"@+id/post_found"
android:title=
"@string/post_found_item"
/>
</group>
</menu>
\ No newline at end of file
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<background
android:drawable=
"@drawable/ic_launcher_background"
/>
<foreground
android:drawable=
"@drawable/ic_launcher_foreground"
/>
<background
android:drawable=
"@drawable/ic_launcher_background"
/>
<foreground
android:drawable=
"@drawable/ic_launcher_foreground"
/>
</adaptive-icon>
\ No newline at end of file
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
View file @
b40cb161
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<background
android:drawable=
"@drawable/ic_launcher_background"
/>
<foreground
android:drawable=
"@drawable/ic_launcher_foreground"
/>
<background
android:drawable=
"@drawable/ic_launcher_background"
/>
<foreground
android:drawable=
"@drawable/ic_launcher_foreground"
/>
</adaptive-icon>
\ No newline at end of file
app/src/main/res/values/dimens.xml
deleted
100644 → 0
View file @
db19e073
<resources>
<dimen
name=
"fab_margin"
>
16dp
</dimen>
<dimen
name=
"activity_horizontal_margin"
>
30dp
</dimen>
<dimen
name=
"activity_vertical_margin"
>
30dp
</dimen>
</resources>
app/src/main/res/values/strings.xml
View file @
b40cb161
<resources>
<string
name=
"app_name"
>
HelloWorld
</string>
<string
name=
"ldap_id"
>
LDAP Id
</string>
<string
name=
"password"
>
password
</string>
<string
name=
"login"
>
Login
</string>
<string
name=
"action_settings"
>
Settings
</string>
<string
name=
"title_activity_lost"
>
Lost
</string>
<string
name=
"title_activity_lost_item"
>
LostItem
</string>
<string
name=
"title"
>
Title
</string>
<string
name=
"place"
>
Place
</string>
<string
name=
"desc"
>
Description
</string>
<string
name=
"date"
>
Date
</string>
<string
name=
"submit"
>
Submit
</string>
<string
name=
"title_activity_found_item"
>
FoundItem
</string>
<string
name=
"app_name"
>
InstiLostandFound
</string>
<string
name=
"post_lost_item"
>
Post Lost Item
</string>
<string
name=
"post_found_item"
>
Post Found Item
</string>
<string
name=
"open_navigation"
>
Open Navigation
</string>
<string
name=
"close_navigation"
>
Close Navigation
</string>
</resources>
app/src/main/res/values/styles.xml
View file @
b40cb161
...
...
@@ -13,8 +13,8 @@
<item
name=
"windowNoTitle"
>
true
</item>
</style>
<
style
name=
"AppTheme.AppBarOverlay"
parent=
"ThemeOverlay.AppCompat.Dark.ActionBar"
/
>
<
style
name=
"AppTheme.PopupOverlay"
parent=
"ThemeOverlay.AppCompat.Light"
/
>
<
!--<style name="AppTheme.NoStatusBar"
>
<item name="android:statusBarColor">@android:color/transparent</item>
<
/style>--
>
</resources>
build.gradle
View file @
b40cb161
...
...
@@ -8,7 +8,6 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.5.1'
classpath
'com.google.gms:google-services:4.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
...
...
gradle.properties
View file @
b40cb161
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs
=
-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
b40cb161
#Thu Oct 24
15:20:3
1 IST 2019
#Thu Oct 24
20:28:5
1 IST 2019
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
...
...
local.properties
View file @
b40cb161
## This file must *NOT* be checked into Version Control Systems,
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Fri Oct 25 11:44:26 IST 2019
sdk.dir
=
/home/chikki/Android/Sdk
sdk.dir
=
/home/navya/Android/Sdk
settings.gradle
View file @
b40cb161
include
':app'
rootProject
.
name
=
'InstiLost
A
ndFound'
rootProject
.
name
=
'InstiLost
a
ndFound'
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