mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-29 15:51:17 +00:00
MainActivity: Use GravityCompat
instead of android.view.Gravity
This commit is contained in:
parent
bb1aa8af50
commit
b8c35bc098
1 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,6 @@ import android.support.v7.app.ActionBarDrawerToggle;
|
|||
import android.util.DisplayMetrics;
|
||||
import android.util.Log;
|
||||
import android.util.TypedValue;
|
||||
import android.view.Gravity;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MenuItem;
|
||||
|
@ -372,7 +371,7 @@ public class MainActivity extends SyncthingActivity
|
|||
toolbar.setNavigationOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
mDrawerLayout.openDrawer(Gravity.START);
|
||||
mDrawerLayout.openDrawer(GravityCompat.START);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue