Skip to content

Commit

Permalink
Merge pull request #10 from johnkil/dev
Browse files Browse the repository at this point in the history
Updating the code to version 1.2.1
  • Loading branch information
johnkil committed Feb 16, 2013
2 parents baf25e6 + 4a98e38 commit dd78751
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 23 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Version 1.3.0 *(In Development)*
* ...


Version 1.2.1 *(2013-02-16)*
--------------------------------

* Fix: Library not support Android 2.1 and below


Version 1.2.0 *(2013-01-23)*
--------------------------------

Expand Down
8 changes: 3 additions & 5 deletions library/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.devspark.sidenavigation"
android:versionCode="3"
android:versionName="1.2.0" >
android:versionCode="4"
android:versionName="1.2.1" >

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

</manifest>
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-16
target=android-4
android.library=true
2 changes: 1 addition & 1 deletion library/res/layout/side_navigation_item.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/side_navigation_item_padding_topbottom"
Expand Down
14 changes: 7 additions & 7 deletions library/res/layout/side_navigation_left.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_width="fill_parent"
android:layout_height="fill_parent" >

<View
android:id="@+id/side_navigation_outside_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/side_navigation_outside_background"
android:clickable="true"
android:visibility="gone" />

<LinearLayout
android:id="@+id/side_navigation_menu"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:visibility="gone" >

<ListView
android:id="@+id/side_navigation_listview"
android:layout_width="@dimen/side_navigation_width"
android:layout_height="match_parent"
android:layout_height="fill_parent"
android:background="@color/side_navigation_background"
android:cacheColorHint="#00000000"
android:divider="@color/side_navigation_list_divider_color"
Expand All @@ -30,7 +30,7 @@
<View
android:id="@+id/shadow"
android:layout_width="6dp"
android:layout_height="match_parent"
android:layout_height="fill_parent"
android:background="@drawable/side_navigation_shadow_left" />
</LinearLayout>

Expand Down
14 changes: 7 additions & 7 deletions library/res/layout/side_navigation_right.xml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_width="fill_parent"
android:layout_height="fill_parent" >

<View
android:id="@+id/side_navigation_outside_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/side_navigation_outside_background"
android:clickable="true"
android:visibility="gone" />

<LinearLayout
android:id="@+id/side_navigation_menu"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="fill_parent"
android:layout_alignParentRight="true"
android:visibility="gone" >

<View
android:id="@+id/shadow"
android:layout_width="6dp"
android:layout_height="match_parent"
android:layout_height="fill_parent"
android:background="@drawable/side_navigation_shadow_right" />

<ListView
android:id="@+id/side_navigation_listview"
android:layout_width="@dimen/side_navigation_width"
android:layout_height="match_parent"
android:layout_height="fill_parent"
android:background="@color/side_navigation_background"
android:cacheColorHint="#00000000"
android:divider="@color/side_navigation_list_divider_color"
Expand Down
4 changes: 2 additions & 2 deletions sample/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.devspark.sidenavigation.sample"
android:versionCode="6"
android:versionName="1.2.0" >
android:versionCode="7"
android:versionName="1.2.1" >

<uses-sdk
android:minSdkVersion="7"
Expand Down

0 comments on commit dd78751

Please sign in to comment.