This commit is contained in:
PavelRatushny 2017-09-06 12:33:52 +03:00
parent e972b44e6a
commit ec7ec1d57b
2 changed files with 12 additions and 11 deletions

View file

@ -45,7 +45,8 @@
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"> android:layout_weight="1"
android:background="?attr/ctx_menu_info_view_bg">
<!-- Coordinator layout is needed in order to display the snackbar above the bottom navigation --> <!-- Coordinator layout is needed in order to display the snackbar above the bottom navigation -->
<android.support.design.widget.CoordinatorLayout <android.support.design.widget.CoordinatorLayout

View file

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="56dp" android:layout_height="wrap_content"
android:background="?attr/bg_color" android:background="?attr/bg_color"
android:descendantFocusability="blocksDescendants"> android:descendantFocusability="blocksDescendants"
android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_height="56dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/selectableItemBackground"> android:background="?attr/selectableItemBackground">
<android.support.v7.widget.AppCompatImageView <android.support.v7.widget.AppCompatImageView
@ -45,7 +46,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_desc_text_size" android:textSize="@dimen/default_list_text_size"
tools:text="Van Gogh Museum"/> tools:text="Van Gogh Museum"/>
<LinearLayout <LinearLayout
@ -67,7 +68,7 @@
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
android:maxLines="1" android:maxLines="1"
android:textSize="@dimen/default_sub_text_size" android:textSize="@dimen/default_desc_text_size"
tools:text="213 m"/> tools:text="213 m"/>
<android.support.v7.widget.AppCompatTextView <android.support.v7.widget.AppCompatTextView
@ -77,7 +78,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="•" android:text="•"
android:textColor="?android:textColorSecondary" android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size" android:textSize="@dimen/default_desc_text_size"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"/> tools:visibility="visible"/>
@ -91,7 +92,7 @@
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:textColor="?android:textColorSecondary" android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size" android:textSize="@dimen/default_desc_text_size"
tools:text="Amsterdam Weekend"/> tools:text="Amsterdam Weekend"/>
</LinearLayout> </LinearLayout>
@ -115,9 +116,8 @@
<View <View
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_gravity="bottom"
android:layout_marginLeft="56dp" android:layout_marginLeft="56dp"
android:layout_marginStart="56dp" android:layout_marginStart="56dp"
android:background="?attr/dashboard_divider"/> android:background="?attr/dashboard_divider"/>
</FrameLayout> </LinearLayout>