##General:
- [Package Control] (http://wbond.net/sublime_packages/package_control/installation) (make installing other packages easier)
- AdvancedNewFile
- SideBarEnhancements
- Git
- GitGutter
- DocBlockr
##General:
//the relevant code | |
private void showDialog() { | |
final View dialogView = View.inflate(MainActivity.this, R.layout.image_selector_dialog, null); | |
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this); | |
builder.setView(dialogView) | |
.setCancelable(false); | |
cameraDialog = builder.create(); |
I hereby claim:
To claim this, I am signing this object:
import android.support.v4.view.ViewPager; | |
import android.view.View; | |
public class FlipPageViewTransformer implements ViewPager.PageTransformer { | |
@Override | |
public void transformPage(View page, float position) { | |
float percentage = 1 - Math.abs(position); | |
page.setCameraDistance(12000); | |
setVisibility(page, position); | |
setTranslation(page); |
/** | |
* We are combining unit and intrumentation test reports | |
* if no one uses instrumentation then delete createDebugCoverageReport | |
* and it output outputs/code-coverage/connected/*coverage.ec | |
*/ | |
/** | |
* Since jacoco does not support android out of the box we create a custom task per variant | |
* for test coverage.All the coverage reports are created in the root projects build directory. | |
* These are then archived in the pages folder which is then deployed on the project. |