Skip to content

Commit

Permalink
Merge pull request #106 from axel358/window_snapping
Browse files Browse the repository at this point in the history
Window snapping
  • Loading branch information
axel358 authored Oct 29, 2023
2 parents f2a4134 + 38e3cb2 commit b4c91b1
Show file tree
Hide file tree
Showing 5 changed files with 2,037 additions and 1,942 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {

defaultConfig {
applicationId "cu.axel.smartdock"
minSdk 21
minSdk 24
targetSdk 33
versionCode 1110
versionName "1.11.0"
Expand All @@ -27,6 +27,7 @@ android {
}

dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.preference:preference:1.2.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ protected void onCreate(Bundle savedInstanceState) {
notesEt = findViewById(R.id.notes_et);
sp = PreferenceManager.getDefaultSharedPreferences(this);
iconParserUtilities = new IconParserUtilities(this);


serviceBtn.setOnClickListener((View p1) -> startActivity(new Intent(LauncherActivity.this, MainActivity.class)));
serviceBtn
.setOnClickListener((View p1) -> startActivity(new Intent(LauncherActivity.this, MainActivity.class)));

backgroundLayout.setOnLongClickListener((View v0) -> {
final View view = LayoutInflater.from(LauncherActivity.this).inflate(R.layout.task_list, null);
Expand Down Expand Up @@ -132,8 +132,8 @@ public void onReceive(Context p1, Intent p2) {
}

public void loadDesktopApps() {
appsGv.setAdapter(
new AppAdapter(this, iconParserUtilities, AppUtils.getPinnedApps(this, getPackageManager(), AppUtils.DESKTOP_LIST), this, true));
appsGv.setAdapter(new AppAdapter(this, iconParserUtilities,
AppUtils.getPinnedApps(this, getPackageManager(), AppUtils.DESKTOP_LIST), this, true));
}

@Override
Expand Down
Loading

0 comments on commit b4c91b1

Please sign in to comment.