Commit 1a5da57e authored by Geoffrey Métais's avatar Geoffrey Métais

Nicer UI for Streams fragment

parent f024a8a7
<?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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment