Android Development | Problems and Solutions

We all face some kind of problems when coding in Android Development. I am trying to compile some solutions which will help you to speed up the process. Buttons How to have a transparent ImageButton: Android? android:background=”@null” For Ripple effect: android:background=”?attr/selectableItemBackgroundBorderless” Shortcut Keys EditText EditText1.requestFocus(); // this will focus the cursor on the edittext

XAMPP | PHP | Useful Troubleshooting

How to set smtp server in php.ini? Open the file php.ini [mail function] ; For Win32 only. ;   Some scripts might take long time to execute. Edit the php.ini file and increase the max_execution_time=50000   If the mysql execution takes time C:\xampp\phpMyAdmin\libraries\config.default.php $cfg[‘ExecTimeLimit’] = 1000;