Added readme

This commit is contained in:
Kunal Raghav
2020-05-12 23:45:05 +05:30
parent 2a79454a47
commit d72daca157
5 changed files with 19 additions and 2 deletions

1
.idea/gradle.xml generated
View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

9
Readme.md Normal file
View File

@@ -0,0 +1,9 @@
# **YAL** : Yet Another Launcher
![alt](images/Banner.png)
**YAL** is a simple android home screen replacement app and was created an example to show how an android launcher is made.
It will be a minimalist app launcher by design.
https://medium.com/@KunalRaghav/building-yal-yet-another-launcher-a-rudimentary-app-launcher-1b3164c2f473

View File

@@ -16,8 +16,9 @@ class MainActivity : AppCompatActivity() {
mainBinding = ActivityMainBinding.inflate(layoutInflater)
val view = mainBinding.root
setContentView(view)
resolvedApplist = this.packageManager.queryIntentActivities(Intent(Intent.ACTION_MAIN,null).addCategory(Intent.CATEGORY_LAUNCHER),0)
resolvedApplist = packageManager
.queryIntentActivities(Intent(Intent.ACTION_MAIN,null)
.addCategory(Intent.CATEGORY_LAUNCHER),0)
val appList = ArrayList<AppBlock>()
for (ri in resolvedApplist) {

BIN
images/Banner.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB