Skip to content

Instantly share code, notes, and snippets.

View alxsimo's full-sized avatar
💙
Loving what I do

Alex Simonescu alxsimo

💙
Loving what I do
View GitHub Profile
@alxsimo
alxsimo / intellij_shortcuts.md
Last active April 23, 2021 06:28 — forked from stkent/android_studio_shortcuts.md
IntelliJ Shortcuts (Mac)

IntelliJ Shortcuts (Mac)

Notes:

  • Most of this shortcuts are applicable to Android Studio.
  • Two of the most useful shortcuts utilize the Fn (function) keys. It is therefore recommended that you enable the "Use all F1, F2, etc. keys as standard function keys" option [System Preferences > Keyboard].
  • Be sure to enable the Mac OS X 10.5+ keymap in Android Studio [Preferences > Keymap].
  • A fairly complete shortcut list can be found here.

Useful symbols:

@alxsimo
alxsimo / Activity.java
Created July 7, 2014 20:15 — forked from gabrielemariotti/Activity.java
[Android] Floating circle button
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.layoutfab);
//Outline
int size = getResources().getDimensionPixelSize(R.dimen.fab_size);
Outline outline = new Outline();