/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/fragment_ugc_editor.xml
66 строк
3 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"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <androidx.appcompat.widget.Toolbar android:id="@+id/toolbar" style="@style/MwmWidget.ToolbarStyle" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:theme="@style/MwmWidget.ToolbarTheme"> <ImageView android:id="@+id/submit" android:layout_width="?actionBarSize" android:layout_height="?actionBarSize" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_gravity="end|center_vertical" android:background="?selectableItemBackgroundBorderless" android:scaleType="centerInside" android:src="@drawable/ic_done" tools:ignore="ContentDescription" /> </androidx.appcompat.widget.Toolbar> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?cardBackground" android:orientation="vertical" android:paddingTop="@dimen/margin_half"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/ratings" android:layout_width="match_parent" android:layout_height="wrap_content" tools:listitem="@layout/item_ugc_rating" /> <View android:layout_width="match_parent" android:layout_height="@dimen/divider_height" android:background="?dividerHorizontal" /> <com.google.android.material.textfield.TextInputLayout android:id="@+id/input_layout" style="?fontBody1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_base" android:textColorHint="?android:textColorSecondary"> <EditText android:id="@+id/review" android:layout_width="match_parent" android:layout_height="@dimen/rating_user_review_min_height" android:gravity="top" android:hint="@string/placepage_reviews_hint" android:inputType="textMultiLine|textCapSentences" android:maxLength="600" android:paddingStart="@dimen/margin_base" android:paddingEnd="@dimen/margin_base" android:paddingBottom="@dimen/margin_base" android:textAppearance="?fontBody1" /> </com.google.android.material.textfield.TextInputLayout> </LinearLayout> </ScrollView> </LinearLayout>