Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
06cf3784
Commit
06cf3784
authored
Aug 17, 2012
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the button to access the video informations
The contextual menu is more suitable for this task.
parent
f68f0494
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
vlc-android/res/layout/video_list_item.xml
vlc-android/res/layout/video_list_item.xml
+0
-7
vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
...roid/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+0
-14
No files found.
vlc-android/res/layout/video_list_item.xml
View file @
06cf3784
...
...
@@ -33,11 +33,4 @@
android:textColor=
"#888888"
android:paddingLeft=
"12dip"
/>
</LinearLayout>
<ImageView
android:id=
"@+id/ml_item_more"
android:layout_width=
"wrap_content"
android:layout_height=
"fill_parent"
android:src=
"@drawable/ic_next"
android:paddingRight=
"12dip"
android:paddingLeft=
"5dip"
/>
</LinearLayout>
\ No newline at end of file
vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
View file @
06cf3784
...
...
@@ -135,7 +135,6 @@ public class VideoListAdapter extends ArrayAdapter<Media>
holder
.
thumbnail
=
(
ImageView
)
v
.
findViewById
(
R
.
id
.
ml_item_thumbnail
);
holder
.
title
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
ml_item_title
);
holder
.
subtitle
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
ml_item_subtitle
);
holder
.
more
=
(
ImageView
)
v
.
findViewById
(
R
.
id
.
ml_item_more
);
v
.
setTag
(
holder
);
}
else
holder
=
(
ViewHolder
)
v
.
getTag
();
...
...
@@ -167,23 +166,10 @@ public class VideoListAdapter extends ArrayAdapter<Media>
Util
.
millisToString
(
media
.
getLength
()),
media
.
getWidth
(),
media
.
getHeight
()));
}
holder
.
more
.
setTag
(
media
);
holder
.
more
.
setOnClickListener
(
moreClickListener
);
return
v
;
}
private
final
OnClickListener
moreClickListener
=
new
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Media
item
=
(
Media
)
v
.
getTag
();
Intent
intent
=
new
Intent
(
getContext
(),
MediaInfoActivity
.
class
);
intent
.
putExtra
(
"itemLocation"
,
item
.
getLocation
());
getContext
().
startActivity
(
intent
);
}
};
static
class
ViewHolder
{
View
layout
;
ImageView
thumbnail
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment