-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from yukuku/revert-106-develop
Revert "Add option to follow system theme & implement dark mode everywhere"
- Loading branch information
Showing
52 changed files
with
234 additions
and
496 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
|
||
body { | ||
margin: 0; | ||
padding: 24px 16px; | ||
} | ||
|
||
.code { | ||
font-family: sans-serif; | ||
font-weight: bold; | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
21 changes: 21 additions & 0 deletions
21
Alkitab/src/main/java/yuku/alkitab/base/ac/base/BaseLeftDrawerActivity.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package yuku.alkitab.base.ac.base; | ||
|
||
import android.view.KeyEvent; | ||
import yuku.alkitab.base.widget.LeftDrawer; | ||
|
||
public abstract class BaseLeftDrawerActivity extends BaseActivity { | ||
@Override | ||
public boolean onKeyUp(final int keyCode, final KeyEvent event) { | ||
if (keyCode == KeyEvent.KEYCODE_MENU) { | ||
openOrCloseLeftDrawer(); | ||
return true; | ||
} | ||
return super.onKeyUp(keyCode, event); | ||
} | ||
|
||
private void openOrCloseLeftDrawer() { | ||
getLeftDrawer().toggleDrawer(); | ||
} | ||
|
||
protected abstract LeftDrawer getLeftDrawer(); | ||
} |
Oops, something went wrong.