Files
adif-api-reverse-engineering/apk_decompiled/resources/res/layout-land/fragment_stations.xml

64 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="@color/black"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/default_padding"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
style="@style/TabLayout"/>
<View
android:id="@+id/separator"
android:background="@color/lightGrey"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginHorizontal="@dimen/small_padding"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tab_layout"/>
<TextView
android:ellipsize="end"
android:id="@+id/stations_station_name"
android:background="@color/darkLight"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_marginTop="@dimen/circulation_station_header_marginTop"
android:text="@string/select_station"
android:maxLines="1"
android:paddingHorizontal="@dimen/small_padding"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/separator"
style="@style/TextCirculationHeader.Station"/>
<ImageView
android:id="@+id/search"
android:background="@color/darkLight"
android:padding="8dp"
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/ic_search"
android:contentDescription="@string/content_description_icon_search_station"
app:layout_constraintBottom_toBottomOf="@+id/stations_station_name"
app:layout_constraintEnd_toEndOf="@+id/stations_station_name"
app:layout_constraintTop_toTopOf="@+id/stations_station_name"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="0dp"
android:layout_height="0dp"
android:fillViewport="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/separator">
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>