55 lines
2.8 KiB
XML
55 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/observations_bottomsheet"
|
|
android:background="@drawable/shape_rounded_corners_top_grey"
|
|
android:paddingLeft="@dimen/default_padding"
|
|
android:paddingTop="@dimen/small_padding"
|
|
android:paddingRight="@dimen/default_padding"
|
|
android:paddingBottom="@dimen/default_padding"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:behavior_hideable="true"
|
|
app:layout_behavior="@string/bottom_sheet_behavior">
|
|
<ImageView
|
|
android:id="@+id/sliderImageController"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/img_home_detail_controller"
|
|
android:scaleType="centerInside"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_icon_scroll"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
<TextView
|
|
android:textSize="24dp"
|
|
android:textColor="@color/lightGrey"
|
|
android:id="@+id/observations_bottomsheet_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/default_padding"
|
|
android:text="@string/station_observations_bottomsheet_title"
|
|
android:fontFamily="@font/open_sans_semi_bold"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/sliderImageController"
|
|
style="@style/Stations.BannerTitle"/>
|
|
<com.adif.elcanomovil.commonViews.BottomSheetListView
|
|
android:id="@+id/observations_bottomsheet_list_item"
|
|
android:paddingBottom="64dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="@dimen/small_padding"
|
|
android:divider="@color/black"
|
|
android:dividerHeight="0dp"
|
|
android:layout_weight="1"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/observations_bottomsheet_title"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|