Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ A android app that take down the headace of remember passwords. It is open sourc

## Features

- [ ] Intuitive UI.
- [X] Intuitive UI.
- [ ] Update Checkers.
- [ ] Password Management. (current priority)
- [X] Password Management. (current priority)
- [ ] Other Info Management.
- [ ] Backup Manager.
- [ ] Import/Export Passwords.
Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeature {
viewBinding true
}
viewBinding {
enabled = true
}
}

dependencies {
Expand Down
9 changes: 5 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ui.SavePasswordActivity" />
<activity android:name=".ui.LoadPasswordActivity" />
<activity android:name=".ui.ViewPasswordActivity" />
<activity android:name=".ui.UpdatePasswordActivity" />
<activity android:name=".ui.SavePasswordActivity" />
<activity android:name=".ui.LoadPasswordActivity" />
<activity android:name=".ui.ViewPasswordActivity" />
<activity android:name=".ui.UpdatePasswordActivity" />
<activity android:name=".ui.AboutUsActivity" />
</application>

</manifest>
48 changes: 48 additions & 0 deletions app/src/main/java/com/passwordmanager/ui/AboutUsActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package com.passwordmanager.ui;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.view.WindowCompat;
import com.passwordmanager.databinding.ActivityAboutUsBinding;
import com.passwordmanager.utils.Constant;
// import com.passwordmanager.utils.Permissions;

public class AboutUsActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ActivityAboutUsBinding binding = ActivityAboutUsBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

// Add event onclick listener
addOnClickListenerOnButton(binding);

// Make window fullscreen
WindowCompat.setDecorFitsSystemWindows(getWindow(), false);
}

private void openBrowser(String url) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(browserIntent);
}

// Added all the onclick event listiners
private void addOnClickListenerOnButton(ActivityAboutUsBinding binding) {
binding.viewSecurityGuidelinesBtn.setOnClickListener(
v -> {
openBrowser(Constant.SECURITY_GUIDE_URL);
});

binding.viewChangeLogBtn.setOnClickListener(
v -> {
openBrowser(Constant.CHANGELOG_URL);
});

binding.viewLicenseBtn.setOnClickListener(
v -> {
openBrowser(Constant.LICENSE_URL);
});
}
}
5 changes: 5 additions & 0 deletions app/src/main/java/com/passwordmanager/ui/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ private void addOnClickListenerOnButton(ActivityMainBinding binding) {
Intent loadpasswordintent = new Intent(MainActivity.this, LoadPasswordActivity.class);
startActivity(loadpasswordintent);
});

binding.aboutUsBtn.setOnClickListener(v -> {
Intent aboutusintent = new Intent(MainActivity.this, AboutUsActivity.class);
startActivity(aboutusintent);
});

binding.quitBtn.setOnClickListener(v -> {
finishAndRemoveTask();
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/java/com/passwordmanager/utils/Constant.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.passwordmanager.utils;

public class Constant {
public static final String REPO_URL = "https://github.com/JeelDobariya38/password-manager";
public static final String LICENSE_URL = "https://github.com/JeelDobariya38/password-manager/blob/main/LICENSE.txt";
public static final String CHANGELOG_URL = "https://github.com/JeelDobariya38/password-manager/blob/main/changelog.md";
public static final String SECURITY_GUIDE_URL = "https://github.com/JeelDobariya38/password-manager/blob/main/docs/security_guide.md";
}
97 changes: 97 additions & 0 deletions app/src/main/res/layout/activity_about_us.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingTop="24dp" >

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="24sp"
android:text="@string/textview_aboutus_headline"
android:textAlignment="center"
android:textSize="32dp" />

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16sp"
android:text="@string/textview_app_description"
android:textAlignment="center"
android:textSize="16dp" />

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16sp"
android:text="@string/textview_app_warning"
android:textAlignment="center"
android:textSize="16dp" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="40sp"
android:gravity="center_horizontal"
android:orientation="vertical" >

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6sp"
android:text="@string/developer_name"
android:textAlignment="center"
android:textSize="12dp" />

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6sp"
android:text="@string/designer_name"
android:textAlignment="center"
android:textSize="12dp" />

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6sp"
android:text="@string/code_mantainer"
android:textAlignment="center"
android:textSize="12dp" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="24sp"
android:gravity="center_horizontal"
android:orientation="vertical" >

<com.google.android.material.button.MaterialButton
android:id="@+id/view_security_guidelines_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4sp"
android:text="@string/view_security_guidelines_button_text"
android:textSize="14dp" />

<com.google.android.material.button.MaterialButton
android:id="@+id/view_change_log_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4sp"
android:text="@string/view_change_log_button_text"
android:textSize="14dp" />

<com.google.android.material.button.MaterialButton
android:id="@+id/view_license_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4sp"
android:text="@string/view_license_button_text"
android:textSize="14dp" />
</LinearLayout>

</LinearLayout>
9 changes: 8 additions & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@
android:layout_height="wrap_content"
android:text="@string/load_password_button_text"
android:textSize="14dp" />


<com.google.android.material.button.MaterialButton
android:id="@+id/about_us_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/about_us_button_text"
android:textSize="14dp" />

<com.google.android.material.button.MaterialButton
android:id="@+id/quit_btn"
android:layout_width="match_parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_view_password.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
android:layout_height="wrap_content"
android:text="@string/update_password_button_text"
android:textSize="14dp" />
<com.google.android.material.button.MaterialButton

<com.google.android.material.button.MaterialButton
android:id="@+id/delete_password_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?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="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
</adaptive-icon>
Binary file added app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
Binary file not shown.
Binary file added app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
Binary file not shown.
Binary file added app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file added app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Diff not rendered.
Diff not rendered.
103 changes: 59 additions & 44 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,46 +1,61 @@
<resources>
<string name="app_name">Password Manager</string>
<string name="app_version">v0.1.0-Alpha</string>

<!-- Main Activity -->
<string name="quit_button_text">Quit</string>

<!-- Common in all Activity -->
<string name="hint_domain">Domain</string>
<string name="hint_username">Username</string>
<string name="hint_password">Password</string>
<string name="hint_notes">Notes</string>

<string name="save_password_button_text">Save Password</string>
<string name="load_password_button_text">Load Password</string>
<string name="update_password_button_text">Update Password</string>
<string name="delete_password_button_text">Delete Password</string>

<!-- Headline of Activity -->
<string name="textview_loadpassword_headline">Load Password</string>
<string name="textview_savepassword_headline">Save Password</string>
<string name="textview_viewpassword_headline">View Password</string>
<string name="textview_updatepassword_headline">View Password</string>

<!-- Prefix & Suffix -->
<string name="id_prefix">Id: </string>
<string name="domain_prefix">Domain: </string>
<string name="username_prefix">Username: </string>
<string name="password_prefix">Password: </string>
<string name="notes_prefix">Notes: </string>
<string name="createdat_prefix">CreatedAt: </string>
<string name="updatedat_prefix">UpdatedAt: </string>

<!-- Permission -->
<string name="permission_granted">Permission Granted</string>
<string name="permission_denied">Permission Denied</string>

<!-- Toast Message -->
<string name="not_found_error_message">404: Not Found!!</string>
<string name="warn_fill_form">Warning: please fill the form first!!</string>
<string name="fail_msg">Failed: please try again!!</string>
<string name="sucess_clause">Success: </string>
<string name="update_sucess_msg">Updated Successfully!!</string>
<string name="delete_sucess_msg">Deleted Successfully!!</string>
<string name="something_went_wrong_msg">Something Went Wrong!!</string>

<string name="app_name">Password Manager</string>
<string name="app_version">v0.1.0-Alpha</string>

<!-- Contributor Names -->
<string name="developer_name">Developed by: Dobariya Jeel</string>
<string name="designer_name">UI/UX Designed by: Hamada Issas (Native)</string>
<string name="code_mantainer">Code Maintainer and Tester: Achmad Daniel (Kudanill)</string>

<!-- Main Activity -->
<string name="quit_button_text">Quit</string>

<!-- About Us Activity -->
<string name="textview_app_description">An open source password managing solution that take down you headace of remembering password!!</string>
<string name="textview_app_warning">App is currently under active development and it is made for fun and educational purpose and it might not be safe to save your auth info with it. For more info, view security guidelines!!!</string>

<!-- Button, Textview general in all Activity -->
<string name="hint_domain">Domain</string>
<string name="hint_username">Username</string>
<string name="hint_password">Password</string>
<string name="hint_notes">Notes</string>
<string name="save_password_button_text">Save Password</string>
<string name="load_password_button_text">Load Password</string>
<string name="update_password_button_text">Update Password</string>
<string name="delete_password_button_text">Delete Password</string>
<string name="about_us_button_text">About Us</string>
<string name="view_license_button_text">View License</string>
<string name="view_security_guidelines_button_text">View Security Guidelines</string>
<string name="view_change_log_button_text">View Changelog</string>

<!-- Headline of Activity -->
<string name="textview_loadpassword_headline">Load Password</string>
<string name="textview_savepassword_headline">Save Password</string>
<string name="textview_viewpassword_headline">View Password</string>
<string name="textview_updatepassword_headline">Update Password</string>
<string name="textview_aboutus_headline">About Us</string>

<!-- Prefix & Suffix -->
<string name="id_prefix">Id: </string>
<string name="domain_prefix">Domain: </string>
<string name="username_prefix">Username: </string>
<string name="password_prefix">Password: </string>
<string name="notes_prefix">Notes: </string>
<string name="createdat_prefix">CreatedAt: </string>
<string name="updatedat_prefix">UpdatedAt: </string>

<!-- Permission -->
<string name="permission_granted">Permission Granted</string>
<string name="permission_denied">Permission Denied</string>

<!-- Toast Message -->
<string name="not_found_error_message">404: Not Found!!</string>
<string name="warn_fill_form">Warning: please fill the form first!!</string>
<string name="fail_msg">Failed: please try again!!</string>
<string name="sucess_clause">Success: </string>
<string name="update_sucess_msg">Updated Successfully!!</string>
<string name="delete_sucess_msg">Deleted Successfully!!</string>
<string name="something_went_wrong_msg">Something Went Wrong!!</string>

</resources>
10 changes: 9 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## v0.1.0-Alpha

### Added

- Made a Main page of App by @HamadaNative
- **App Icon Creation**: Designed and implemented the initial app icon, providing the application with a recognizable visual identity. Contributed by [@HamadaNative].
- **Basic App Structure**: Established the foundational architecture of the app, including the main entry point and initial setup. Contributed by [@JeelDobariya].
- **Main Page Development**: Developed the main page of the app, including basic UI components and initial layout. Contributed by [@HamadaNative].

### Notes
- This is the initial alpha release, focused on setting up the basic structure and key visual elements of the app.