Workaround for nullpointer bug in support lib, close #591

This commit is contained in:
Dominik Schürmann
2014-04-22 08:15:55 +02:00
parent 283e3c3365
commit adea9df714
10 changed files with 52 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<android.support.v4.widget.DrawerLayout
<android.support.v4.widget.FixedDrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
@@ -13,7 +13,7 @@
<include layout="@layout/drawer_list"/>
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>
<include layout="@layout/api_apps_list_content"/>

View File

@@ -4,7 +4,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.widget.DrawerLayout
<android.support.v4.widget.FixedDrawerLayout
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
@@ -12,7 +12,7 @@
<include layout="@layout/drawer_list"/>
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>
<include layout="@layout/decrypt_content"/>

View File

@@ -4,7 +4,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.widget.DrawerLayout
<android.support.v4.widget.FixedDrawerLayout
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
xmlns:fontawesometext="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
@@ -13,7 +13,7 @@
<include layout="@layout/drawer_list"/>
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>
<include layout="@layout/encrypt_content"/>
</FrameLayout>

View File

@@ -4,14 +4,14 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.widget.DrawerLayout
<android.support.v4.widget.FixedDrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/drawer_list"/>
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>
<include layout="@layout/key_list_content"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
<android.support.v4.widget.FixedDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
@@ -8,4 +8,4 @@
<include layout="@layout/drawer_list" />
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
<android.support.v4.widget.FixedDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
@@ -9,4 +9,4 @@
<include layout="@layout/drawer_list" />
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
<android.support.v4.widget.FixedDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
xmlns:fontawesometext="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
@@ -10,4 +10,4 @@
<include layout="@layout/drawer_list" />
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
<android.support.v4.widget.FixedDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
@@ -8,4 +8,4 @@
<include layout="@layout/drawer_list" />
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.FixedDrawerLayout>