20 lines
3.5 KiB
XML
20 lines
3.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/channels_list_header_wrap" android:background="@color/theme_grey_account" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||
|
<RelativeLayout android:background="@color/theme_grey_channels" android:layout_width="fill_parent" android:layout_height="?actionBarSize">
|
||
|
<TextView android:textSize="15.0sp" android:textColor="@color/theme_white" android:gravity="center_vertical" android:id="@id/channels_list_header" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:drawableRight="@drawable/icon_more" android:layout_centerVertical="true" android:drawableEnd="@drawable/icon_more" fontPath="@string/font_whitney_bold" />
|
||
|
<RelativeLayout android:id="@id/channels_list_search" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/theme_white_alpha_20" android:gravity="start|center" android:background="@drawable/drawable_overlay_search" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="8.0dip" android:layout_marginBottom="8.0dip" android:text="@string/dm_search_placeholder" android:drawableLeft="@drawable/icon_search_small" android:layout_centerInParent="true" android:drawableStart="@drawable/icon_search_small" fontPath="@string/font_whitney_semibold" />
|
||
|
</RelativeLayout>
|
||
|
</RelativeLayout>
|
||
|
<RelativeLayout android:id="@id/channels_list_invite_wrap" android:layout_width="fill_parent" android:layout_height="42.0dip" android:layout_margin="8.0dip">
|
||
|
<RelativeLayout android:background="@drawable/asset_background_invite" android:layout_width="wrap_content" android:layout_height="42.0dip">
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/theme_white" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/create_instant_invite" android:layout_toLeftOf="@id/channels_list_instant_invite_icon" android:layout_centerVertical="true" fontPath="@string/font_whitney_semibold" />
|
||
|
<ImageView android:id="@id/channels_list_instant_invite_icon" android:layout_width="11.0dip" android:layout_height="14.0dip" android:layout_marginLeft="16.0dip" android:src="@drawable/icon_share_small" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/shared_empty_string" />
|
||
|
</RelativeLayout>
|
||
|
<View android:id="@id/channels_list_invite" android:background="?android:selectableItemBackground" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
<android.support.v7.widget.RecyclerView android:id="@id/channels_list" android:background="@color/theme_grey_account" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/channels_list_header_wrap" android:overScrollMode="never" />
|
||
|
</RelativeLayout>
|