headlines: only show actionbar when moving up
This commit is contained in:
parent
97ef2dcea0
commit
5c437de607
@ -512,7 +512,7 @@ public class HeadlinesFragment extends Fragment {
|
|||||||
if (!m_activity.isTablet() && m_articles.size() > 0) {
|
if (!m_activity.isTablet() && m_articles.size() > 0) {
|
||||||
if (dy > 0) {
|
if (dy > 0) {
|
||||||
m_activity.getSupportActionBar().hide();
|
m_activity.getSupportActionBar().hide();
|
||||||
} else {
|
} else if (dy < 0) {
|
||||||
m_activity.getSupportActionBar().show();
|
m_activity.getSupportActionBar().show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user