[Android] SearchActivity: cosmetics
Edward Wang
git at videolan.org
Wed Dec 26 01:34:15 CET 2012
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Tue Dec 25 12:50:42 2012 -0500| [cd2f372579a1f97e8deffa574fcf40dbe66ef691] | committer: Edward Wang
SearchActivity: cosmetics
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=cd2f372579a1f97e8deffa574fcf40dbe66ef691
---
vlc-android/src/org/videolan/vlc/gui/SearchActivity.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/SearchActivity.java b/vlc-android/src/org/videolan/vlc/gui/SearchActivity.java
index fbafb37..dc93878 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SearchActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/SearchActivity.java
@@ -144,14 +144,14 @@ public class SearchActivity extends ListActivity {
private void showListHeader(String text) {
ListView lv = getListView();
- // create a new header if not exists
+ // Create a new header if it doesn't already exist
if (mListHeader == null) {
LayoutInflater infalter = getLayoutInflater();
mListHeader = (LinearLayout) infalter.inflate(R.layout.list_header, lv, false);
lv.addHeaderView(mListHeader, null, false);
}
- // set header text
+ // Set header text
TextView headerText = (TextView) mListHeader.findViewById(R.id.text);
headerText.setText(text);
}
More information about the Android
mailing list