/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/edit_bookmark_common.xml
93 строки
4 KB
velichkomarija
[android] Fixed night mode in some edittext fields.
26 янв 2021, 18:06
26 янв 2021, 18:06
61417b2
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/rl__bookmark_details" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?cardBackground" android:padding="@dimen/margin_half"> <LinearLayout android:id="@+id/ll__bookmark_name" android:layout_width="match_parent" android:layout_height="@dimen/height_item_edit_bookmark" android:layout_marginLeft="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half" android:orientation="vertical"> <com.mapswithme.maps.widget.CustomTextInputLayout style="?fontBody1" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColorHint="?android:textColorSecondary"> <EditText android:id="@+id/et__bookmark_name" style="@style/MwmWidget.PlacePage.EditText" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/name" android:inputType="textCapSentences" android:singleLine="true" /> </com.mapswithme.maps.widget.CustomTextInputLayout> </LinearLayout> <RelativeLayout android:id="@+id/rl__bookmark_set" android:layout_width="match_parent" android:layout_height="@dimen/height_item_edit_bookmark" android:layout_below="@id/ll__bookmark_name" android:layout_marginLeft="@dimen/margin_half_plus" android:layout_marginTop="@dimen/margin_half"> <TextView android:id="@+id/tv__bookmark_set_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_base" android:layout_marginRight="@dimen/margin_quadruple" android:text="@string/set" android:textAppearance="@style/MwmTextAppearance.Body3" /> <TextView android:id="@+id/tv__bookmark_set" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/tv__bookmark_set_title" android:layout_centerVertical="true" android:layout_marginRight="@dimen/margin_quadruple" android:background="?attr/selectableItemBackground" android:clickable="true" android:drawableRight="@drawable/ic_arrow_down" android:paddingTop="@dimen/margin_quarter_plus" android:paddingBottom="@dimen/margin_half" android:textAppearance="@style/MwmTextAppearance.Body1" /> <View android:layout_width="match_parent" android:layout_height="1dp" android:layout_alignParentBottom="true" android:layout_marginRight="@dimen/margin_quadruple" android:layout_marginBottom="@dimen/margin_half" android:background="@color/divider" /> <ImageView android:id="@+id/iv__bookmark_color" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" android:background="?clickableBackground" android:padding="@dimen/margin_half" tools:src="@drawable/ic_bookmark_none" /> </RelativeLayout> <com.mapswithme.maps.widget.CustomTextInputLayout style="?fontBody1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/rl__bookmark_set" android:layout_margin="@dimen/margin_half" android:paddingTop="@dimen/margin_half" android:textColorHint="?android:textColorSecondary"> <EditText android:id="@+id/et__description" style="@style/MwmWidget.PlacePage.EditText" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/edit_description_hint" android:inputType="textMultiLine" /> </com.mapswithme.maps.widget.CustomTextInputLayout> </RelativeLayout>