Make content scrollable

This commit is contained in:
Victor Shcherb 2015-03-23 01:58:17 +01:00
parent 77667270c8
commit 3d7b7aadbf
2 changed files with 4 additions and 4 deletions

View file

@ -60,13 +60,13 @@
android:layout_height="match_parent"
android:fadeScrollbars="true" >
</com.github.ksoichiro.android.observablescrollview.ObservableListView>
<!--
<android.support.v7.widget.Toolbar android:id="@+id/dash_toolbar"
android:background="@color/actionbar_light_color"
android:layout_width="match_parent"
android:layout_height="wrap_content"
></android.support.v7.widget.Toolbar>
-->
<include
android:id="@+id/map_part_dashboard"
android:layout_width="match_parent"

View file

@ -119,8 +119,8 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks {
paddingView.setOnClickListener(listener);
listView.addHeaderView(paddingView);
Toolbar tb = (Toolbar) mapActivity.findViewById(R.id.dash_toolbar);
tb.setLogo(R.drawable.icon);
// Toolbar tb = (Toolbar) mapActivity.findViewById(R.id.dash_toolbar);
// tb.setLogo(R.drawable.icon);
listBackgroundView = mapActivity.findViewById(R.id.dash_list_background);
final View contentView = mapActivity.getWindow().getDecorView().findViewById(android.R.id.content);
contentView.post(new Runnable() {