Workaround for overlapping fragments. Fixes #116

This commit is contained in:
vanitasvitae 2016-11-11 20:17:59 +01:00
parent 812c4dabf7
commit be0a37dbc8
Signed by: vanitasvitae
GPG Key ID: DCCFB3302C9E4615
6 changed files with 7 additions and 2 deletions

View File

@ -415,7 +415,7 @@ public class MainActivity extends ThemedActivity
}
/**
* Forward toolbar clicks to onNavigationItemSelected
* Open Stream when clicked on top toolbar AND preference stream shortcut is true
* @param view selected view
*/
@OnClick(R.id.main__topbar)

View File

@ -1,6 +1,7 @@
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:background="@android:color/background_light"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/activity_vertical_margin"

View File

@ -2,6 +2,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"

View File

@ -3,6 +3,7 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light"
android:layout_marginBottom="@dimen/activity_vertical_margin"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
android:layout_marginRight="@dimen/activity_horizontal_margin"

View File

@ -2,6 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".activity.MainActivity">

View File

@ -2,7 +2,8 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="@android:color/background_light">
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"