This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If one finds the dev tools all gone post a macOS Update. | |
Open the terminal and | |
xcode-select -- install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//for minSDKVersion 16 | |
// in the layout xml on the editText | |
android:maxLength="5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is kind of tricky. | |
// To do this programitacally and for minSDKVersion 16 | |
// Import statement - | |
import android.support.v7.app.ActionBar; | |
//Usage | |
void onCreate { | |
ActionBar actionBar = getSupportActionBar(); | |
actionBar.hide(); |