Skip to content

Commit

Permalink
Merge branch 'release/1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkil committed Feb 17, 2014
2 parents 2124473 + eadefef commit 0d406e2
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 35 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ Change Log
==========


Version 1.2.0 *(2014-02-17)*
----------------------------

* Added support for custom Animations.
* Added support for displaying Sticky notifications closed manually.
* Allow to provide a custom parent.
* Allow to provide a priority, so some urgent AppMsgs can jump to the front of the queue.
* Fix: Activity leaking.


Version 1.1.1 *(2013-10-29)*
----------------------------

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.1.1-SNAPSHOT
VERSION_CODE=4
VERSION_NAME=1.2.0-SNAPSHOT
VERSION_CODE=5
GROUP=com.github.johnkil.android-appmsg

POM_DESCRIPTION=In-layout android notifications
Expand Down
6 changes: 3 additions & 3 deletions library/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.devspark.appmsg"
android:versionCode="4"
android:versionName="1.1.1">
android:versionCode="5"
android:versionName="1.2.0">

<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="18"/>
android:targetSdkVersion="19"/>

<application/>

Expand Down
2 changes: 1 addition & 1 deletion library/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-18
target=android-19
android.library=true
10 changes: 6 additions & 4 deletions sample/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.devspark.appmsg.sample"
android:versionCode="4"
android:versionName="1.1.1">
android:versionCode="5"
android:versionName="1.2.0">

<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="18"/>
android:targetSdkVersion="19"/>

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock.Light.DarkActionBar">
<activity android:name=".MainActivity" android:windowSoftInputMode="stateUnchanged">
<activity
android:name=".MainActivity"
android:windowSoftInputMode="stateUnchanged">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

Expand Down
2 changes: 1 addition & 1 deletion sample/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-18
target=android-19
android.library.reference.1=../library
49 changes: 25 additions & 24 deletions sample/res/layout/sticky.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp">

<ImageButton
android:id="@+id/remove_btn"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center|right"
android:minWidth="48dp"
android:minHeight="48dp"
android:src="@drawable/ic_action_cancel_inset"
style="@style/SelectableItem"
/>
android:id="@+id/remove_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:minWidth="48dp"
android:minHeight="48dp"
android:src="@drawable/ic_action_cancel_inset"
style="@style/SelectableItem"/>


<TextView
android:id="@android:id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_gravity="center"
android:padding="8dp"
android:textColor="#ff222222"
android:textIsSelectable="false"
android:textSize="14sp"
android:textStyle="bold" />
android:id="@android:id/message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/remove_btn"
android:layout_centerVertical="true"
android:gravity="center"
android:padding="8dp"
android:textColor="#ff222222"
android:textIsSelectable="false"
android:textSize="14sp"
android:textStyle="bold"/>

</FrameLayout>
</RelativeLayout>

0 comments on commit 0d406e2

Please sign in to comment.