Skip to content

Commit

Permalink
Fixed screen rotation crashes bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
myinnos committed Jun 7, 2017
1 parent 0380ba1 commit 1672435
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -7,3 +7,6 @@
/build
/captures
.externalNativeBuild

.idea/instapk.xml
instapk.log*
3 changes: 3 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions awesomeimagepicker/src/main/AndroidManifest.xml
Expand Up @@ -13,9 +13,11 @@

<activity
android:name=".activities.AlbumSelectActivity"
android:screenOrientation="portrait"
android:hardwareAccelerated="true" />
<activity
android:name=".activities.ImageSelectActivity"
android:screenOrientation="portrait"
android:hardwareAccelerated="true" />

</application>
Expand Down
Expand Up @@ -5,7 +5,7 @@
android:layout_height="match_parent">

<include
android:id="@+id/toolbar"
android:id="@+id/toolbar_image_picker"
layout="@layout/custom_gallery_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
Expand All @@ -29,7 +29,7 @@
android:id="@+id/grid_view_album_select"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar"
android:layout_below="@id/toolbar_image_picker"
android:paddingBottom="1dp"
android:paddingStart="1dp"
android:paddingEnd="1dp"
Expand Down
Expand Up @@ -5,7 +5,7 @@
android:layout_height="match_parent">

<include
android:id="@+id/toolbar"
android:id="@+id/toolbar_image_picker"
layout="@layout/custom_gallery_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
Expand All @@ -29,7 +29,7 @@
android:id="@+id/grid_view_image_select"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar"
android:layout_below="@id/toolbar_image_picker"
android:paddingBottom="1dp"
android:paddingStart="1dp"
android:paddingEnd="1dp"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 1672435

Please sign in to comment.