I hereby claim:
- I am droidekas on github.
- I am satyarthsampath (https://keybase.io/satyarthsampath) on keybase.
- I have a public key ASCoDa7e5c2ljqYVkZ3L7Cws2YJcflMTJ83k9ehd9gAuNgo
To claim this, I am signing this object:
| /** | |
| * 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. |
| 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); |
I hereby claim:
To claim this, I am signing this object:
| //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(); |
##General: