OsmAnd/OsmAnd/res/layout/quick_action_list.xml

76 lines
2.6 KiB
XML
Raw Normal View History

2016-12-20 15:23:40 +01:00
<?xml version="1.0" encoding="utf-8"?>
2016-12-21 18:57:15 +01:00
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
2016-12-22 15:05:06 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2016-12-21 18:57:15 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/ctx_menu_info_view_bg"
2016-12-21 18:57:15 +01:00
android:orientation="vertical">
2016-12-20 15:23:40 +01:00
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
2016-12-21 17:14:51 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.Toolbar
android:id="@+id/custom_toolbar"
android:layout_width="match_parent"
android:layout_height="@dimen/dashboard_map_toolbar"/>
</android.support.design.widget.AppBarLayout>
<LinearLayout
android:id="@+id/top_divider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/appbar"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="4dp"/>
<include layout="@layout/card_top_divider"/>
</LinearLayout>
2016-12-21 17:14:51 +01:00
2016-12-20 15:23:40 +01:00
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
2017-01-06 09:51:59 +01:00
android:layout_height="wrap_content"
android:layout_below="@id/top_divider"
android:clipToPadding="false"/>
<LinearLayout
android:id="@+id/bottomShadowView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/recycler_view"
android:background="?attr/ctx_menu_info_view_bg"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom"/>
<View
android:id="@+id/bottomMarginView"
android:layout_width="match_parent"
android:layout_height="16dp"/>
</LinearLayout>
2016-12-20 15:23:40 +01:00
2016-12-21 18:57:15 +01:00
<android.support.design.widget.FloatingActionButton
android:id="@+id/fabButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_margin="16dp"
2016-12-23 17:05:17 +01:00
android:src="@drawable/ic_action_plus"
android:contentDescription="@string/quick_action_new_action"
2016-12-22 15:05:06 +01:00
app:backgroundTint="@color/dashboard_blue"/>
2016-12-21 18:57:15 +01:00
</RelativeLayout>