This file contains hidden or 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
| drawerLayout.setDrawerListener(new DrawerLayout.DrawerListener() { | |
| @Override | |
| public void onDrawerSlide(View drawerView, float slideOffset) { | |
| float moveFactor = (drawerView.getWidth() * slideOffset); | |
| if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) | |
| { | |
| flContent.setTranslationX(-moveFactor); |
This file contains hidden or 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
| /** | |
| * Created by vaibhav.jani on 15-Jul-15. | |
| */ | |
| public abstract class BaseFragment extends Fragment { | |
| protected View rootView; | |
| protected HomeActivity activity; |
This file contains hidden or 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
| import android.content.Context; | |
| import android.content.res.AssetManager; | |
| import android.os.Environment; | |
| import android.util.Log; | |
| import java.io.File; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; |
This file contains hidden or 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
| package com.utils; | |
| import android.content.Context; | |
| import android.text.TextUtils; | |
| import android.util.Patterns; | |
| import android.widget.EditText; | |
| /** | |
| * Created by darshan on 2/4/15. | |
| */ |
NewerOlder