Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #55 from marbat87/master
Browse files Browse the repository at this point in the history
Lowered minSdk to API 9
  • Loading branch information
spacecowboy committed Sep 30, 2015
2 parents dfef9b0 + 45f2641 commit e73f636
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
buildToolsVersion "23.0.1"

defaultConfig {
minSdkVersion 14
minSdkVersion 9
targetSdkVersion 23
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
android:id="@+id/nnf_item_container"
android:layout_width="match_parent"
android:layout_height="?android:listPreferredItemHeight"
android:background="?android:selectableItemBackground"
android:background="?selectableItemBackground"
android:focusable="true"
android:minHeight="?android:listPreferredItemHeight"
android:nextFocusLeft="@+id/nnf_button_cancel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
android:id="@+id/nnf_item_container"
android:layout_width="match_parent"
android:layout_height="?android:listPreferredItemHeight"
android:background="?android:selectableItemBackground"
android:background="?selectableItemBackground"
android:focusable="true"
android:minHeight="?android:listPreferredItemHeight"
android:nextFocusLeft="@+id/nnf_button_cancel"
Expand Down
4 changes: 2 additions & 2 deletions library/src/main/res/layout/nnf_fragment_filepicker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@

<Button
android:id="@+id/nnf_button_cancel"
style="?android:attr/borderlessButtonStyle"
style="?attr/borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
android:text="@android:string/cancel" />

<Button
android:id="@+id/nnf_button_ok"
style="?android:attr/borderlessButtonStyle"
style="?attr/borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {
}

defaultConfig {
minSdkVersion 14
minSdkVersion 9
targetSdkVersion 23
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ public void onCreate(Bundle b) {
Bundle args = getArguments();
this.server = args.getString(KEY_FTP_SERVER);
this.port = args.getInt(KEY_FTP_PORT);
this.username = args.getString(KEY_FTP_USERNAME, "anonymous");
this.password = args.getString(KEY_FTP_PASSWORD, "anonymous");
this.rootDir = args.getString(KEY_FTP_ROOTDIR, "/");
this.username = args.getString(KEY_FTP_USERNAME) != null ? args.getString(KEY_FTP_USERNAME) : "anonymous";
this.password = args.getString(KEY_FTP_PASSWORD) != null ? args.getString(KEY_FTP_PASSWORD) : "anonymous";
this.rootDir = args.getString(KEY_FTP_ROOTDIR) != null ? args.getString(KEY_FTP_ROOTDIR) : "/";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

<Button
android:id="@+id/button_sd"
style="?android:attr/borderlessButtonStyle"
style="?attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_gravity="center"
Expand All @@ -125,7 +125,7 @@

<Button
android:id="@+id/button_image"
style="?android:attr/borderlessButtonStyle"
style="?attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_gravity="center"
Expand All @@ -136,7 +136,7 @@

<Button
android:id="@+id/button_ftp"
style="?android:attr/borderlessButtonStyle"
style="?attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_gravity="center"
Expand All @@ -147,7 +147,7 @@

<Button
android:id="@+id/button_dropbox"
style="?android:attr/borderlessButtonStyle"
style="?attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_gravity="center"
Expand Down
2 changes: 1 addition & 1 deletion sample/src/main/res/layout/listitem_image.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
android:id="@+id/nnf_item_container"
android:layout_width="match_parent"
android:layout_height="?android:listPreferredItemHeight"
android:background="?android:selectableItemBackground"
android:background="?selectableItemBackground"
android:focusable="true"
android:minHeight="?android:listPreferredItemHeight"
android:nextFocusLeft="@+id/nnf_button_cancel"
Expand Down
2 changes: 1 addition & 1 deletion sample/src/main/res/layout/listitem_image_checkable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
android:id="@+id/nnf_item_container"
android:layout_width="match_parent"
android:layout_height="?android:listPreferredItemHeight"
android:background="?android:selectableItemBackground"
android:background="?selectableItemBackground"
android:focusable="true"
android:minHeight="?android:listPreferredItemHeight"
android:nextFocusLeft="@+id/nnf_button_cancel"
Expand Down

0 comments on commit e73f636

Please sign in to comment.