Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
1a5da57e
Commit
1a5da57e
authored
Feb 19, 2015
by
Geoffrey Métais
Browse files
Nicer UI for Streams fragment
parent
f024a8a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
vlc-android/res/layout/mrl_item.xml
View file @
1a5da57e
<?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=
"50dp"
>
<TextView
android:id=
"@+id/mrl_item_uri"
<android.support.v7.widget.CardView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:card_view=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
card_view:cardUseCompatPadding=
"true"
card_view:cardElevation=
"1sp"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:paddingLeft=
"10dp"
android:clickable=
"true"
android:layout_toLeftOf=
"@+id/mrl_item_delete"
android:gravity=
"center_vertical"
/>
<ImageView
android:id=
"@+id/mrl_item_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_centerInParent=
"true"
android:src=
"@drawable/ic_trash_small_normal"
android:clickable=
"true"
android:paddingRight=
"5dp"
/>
</RelativeLayout>
\ No newline at end of file
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/mrl_item_uri"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:paddingLeft=
"10dp"
android:clickable=
"true"
android:layout_toLeftOf=
"@+id/mrl_item_delete"
android:gravity=
"center_vertical"
/>
<ImageView
android:id=
"@+id/mrl_item_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_centerInParent=
"true"
android:src=
"@drawable/ic_trash_small_normal"
android:clickable=
"true"
android:paddingRight=
"5dp"
/>
</RelativeLayout>
</android.support.v7.widget.CardView>
\ No newline at end of file
vlc-android/res/layout/mrl_panel.xml
View file @
1a5da57e
...
...
@@ -9,11 +9,14 @@
android:layout_margin=
"10dp"
android:hint=
"@string/open_mrl_dialog_msg"
android:inputType=
"textUri"
android:maxLines=
"2"
android:imeOptions=
"actionGo"
/>
<android.support.v7.widget.RecyclerView
android:id=
"@+id/mrl_list"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"15dp"
android:layout_marginLeft=
"15dp"
android:layout_below=
"@+id/mrl_edit"
/>
</RelativeLayout>
\ No newline at end of file
Write
Preview
Supports
Markdown
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