/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/fragment_toggle_map_layer.xml
58 строк
2 KB
Александр Зацепин
[android] Migrated code to Android X
22 окт 2019, 15:11
22 окт 2019, 15:11
f2dd324
Код
Авторство
О чём код?
<?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" app:layout_behavior="android.support.design.widget.BottomSheetBehavior" android:background="?attr/cardBackground" android:paddingTop="@dimen/margin_quarter" android:paddingBottom="@dimen/margin_quarter" android:layout_width="match_parent" android:layout_height="wrap_content"> <ImageView android:id="@+id/сlose_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minHeight="@dimen/menu_list_item_height" android:src="@drawable/ic_drop_down" android:tint="@color/icon_tint" android:paddingLeft="@dimen/margin_base" android:paddingStart="@dimen/margin_base" android:paddingRight="@dimen/margin_base" android:paddingEnd="@dimen/margin_base" app:layout_constraintTop_toTopOf="parent" app:layout_constraintRight_toRightOf="parent" android:background="?attr/selectableItemBackgroundBorderless"/> <TextView android:id="@+id/layers_text" android:minHeight="@dimen/menu_list_item_height" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:paddingLeft="@dimen/margin_base" android:paddingStart="@dimen/margin_base" android:paddingRight="@dimen/margin_base" android:paddingEnd="@dimen/margin_base" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintRight_toLeftOf="@id/сlose_btn" android:visibility="visible" android:text="@string/layers_title" android:textAppearance="@style/MwmTextAppearance.Body2"/> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler" android:layout_height="wrap_content" android:layout_width="match_parent" android:minHeight="@dimen/toggle_map_layer_frame_height" android:paddingLeft="@dimen/margin_base" android:paddingStart="@dimen/margin_base" android:paddingRight="@dimen/margin_base" android:paddingEnd="@dimen/margin_base" app:layout_constraintTop_toBottomOf="@id/layers_text"> </androidx.recyclerview.widget.RecyclerView> <View app:layout_constraintBottom_toTopOf="@id/recycler" android:background="?android:attr/listDivider" android:layout_width="match_parent" android:layout_height="@dimen/divider_height"/> </androidx.constraintlayout.widget.ConstraintLayout>