[Android] Fix typo
Geoffrey Métais
git at videolan.org
Thu Mar 3 19:16:38 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 3 18:27:07 2016 +0100| [8b6036640afca81c1711ee5ea683122f4c353579] | committer: Geoffrey Métais
Fix typo
> https://code.videolan.org/videolan/vlc-android/commit/8b6036640afca81c1711ee5ea683122f4c353579
---
vlc-android/res/layout/directory_view_item.xml | 4 ++--
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java | 2 +-
vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java | 2 +-
vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/vlc-android/res/layout/directory_view_item.xml b/vlc-android/res/layout/directory_view_item.xml
index 76229e8..45b0b34 100644
--- a/vlc-android/res/layout/directory_view_item.xml
+++ b/vlc-android/res/layout/directory_view_item.xml
@@ -24,7 +24,7 @@
name="checked"
type="boolean"/>
<variable
- name="protocole"
+ name="protocol"
type="String"/>
<variable
name="image"
@@ -61,7 +61,7 @@
android:layout_marginLeft="15dp"
android:contentDescription="@string/cover_art"
android:visibility="@{type != 2 ? View.VISIBLE : View.GONE}"
- android:text="@{protocole}"
+ android:text="@{protocol}"
android:textSize="11sp"
android:textColor="@color/whitetransparent"
android:background="@{image}"/>
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
index 62c091c..80847eb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
@@ -107,7 +107,7 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
vh.binding.setType(TYPE_MEDIA);
vh.binding.setHasContextMenu(true);
if (fragment instanceof NetworkBrowserFragment && fragment.isRootDirectory())
- vh.binding.setProtocole(getProtocol(media));
+ vh.binding.setProtocol(getProtocol(media));
vh.binding.executePendingBindings();
vh.binding.dviIcon.setBackgroundResource(getIconResId(media));
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java
index c83e2b7..458c7a2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java
@@ -51,7 +51,7 @@ public class FilePickerAdapter extends BaseBrowserAdapter {
vh.binding.setMedia(media);
vh.binding.setHasContextMenu(false);
vh.binding.setType(TYPE_MEDIA);
- vh.binding.setProtocole(null);
+ vh.binding.setProtocol(null);
vh.binding.executePendingBindings();
vh.binding.dviIcon.setBackgroundResource(getIconResId(media));
diff --git a/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java b/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java
index eecf6ff..8ad8185 100644
--- a/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java
+++ b/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java
@@ -123,7 +123,7 @@ public class HttpImageLoader implements Callbacks {
return;
mBinding.setVariable(BR.scaleType, ImageView.ScaleType.FIT_CENTER);
mBinding.setVariable(BR.image, new BitmapDrawable(VLCApplication.getAppResources(), bitmap));
- mBinding.setVariable(BR.protocole, null);
+ mBinding.setVariable(BR.protocol, null);
}
}
} else if (bitmap != null && (bitmap.getWidth() != 1 && bitmap.getHeight() != 1)) {
More information about the Android
mailing list