urlTextBox = (EditText) actionBar.getCustomView().findViewById(R.id.urlTextBox);
progressBar = (ProgressBar) actionBar.getCustomView().findViewById(R.id.progressBar);
- //actionBar.setHideOnContentScrollEnabled(true);
+ // TODO actionBar.setHideOnContentScrollEnabled(true);
}
// Implement swipe down to refresh.
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
- android:focusableInTouchMode="true" />
+ android:focusableInTouchMode="true"/>
</android.support.v4.widget.SwipeRefreshLayout>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light">
- <!-- Customize your theme here. -->
+ <!-- TODO windowActionBarOverlay is necessary for scrolling the app bar.
+ <item name="android:windowActionBarOverlay">true</item>
+ <item name="windowActionBarOverlay">true</item> -->
</style>
</resources>