This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 29
29
import android .support .v4 .app .FragmentActivity ;
30
30
import android .support .v4 .app .FragmentManager ;
31
31
import android .support .v4 .app .FragmentTransaction ;
32
+ import android .support .v4 .view .GravityCompat ;
32
33
import android .support .v4 .widget .DrawerLayout ;
33
34
import android .support .v4 .widget .SimpleCursorAdapter ;
34
35
import android .util .Log ;
@@ -476,7 +477,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
476
477
// true, then it has handled the app icon touch event
477
478
if (drawerToggle .onOptionsItemSelected (item )) {
478
479
// Close the right drawer if we opened the left one
479
- drawerLayout .closeDrawer (Gravity . RIGHT );
480
+ drawerLayout .closeDrawer (GravityCompat . END );
480
481
return true ;
481
482
}
482
483
Original file line number Diff line number Diff line change 18
18
android : id =" @+id/streams_drawer"
19
19
android : layout_width =" 340dp"
20
20
android : layout_height =" match_parent"
21
- android : layout_gravity =" left "
21
+ android : layout_gravity =" start "
22
22
android : background =" #FFF"
23
23
android : choiceMode =" singleChoice" />
24
24
25
25
<ListView
26
26
android : id =" @+id/people_drawer"
27
27
android : layout_width =" 240dp"
28
28
android : layout_height =" match_parent"
29
- android : layout_gravity =" right "
29
+ android : layout_gravity =" end "
30
30
android : background =" #FFF"
31
31
android : choiceMode =" singleChoice" />
32
32
You can’t perform that action at this time.
0 commit comments