[android] Added background in some layouts.

This commit is contained in:
velichkomarija 2020-11-11 15:08:52 +03:00 committed by Alexander Boriskov
parent b2a5ece174
commit da98672379
5 changed files with 18 additions and 14 deletions

View file

@ -5,6 +5,7 @@
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"
@ -24,7 +25,6 @@
android:hint="@string/name"
android:inputType="textCapSentences"
android:singleLine="true"/>
</com.mapswithme.maps.widget.CustomTextInputLayout>
</LinearLayout>

View file

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:background="?cardBackground"
android:layout_height="match_parent">
<LinearLayout

View file

@ -2,14 +2,14 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="?windowBackgroundForced">
<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">
<TextView
android:id="@+id/tv__save"
android:layout_width="wrap_content"
@ -22,7 +22,6 @@
android:text="@string/save"
android:textAppearance="@style/MwmTextAppearance.Toolbar.Title.Button"/>
</androidx.appcompat.widget.Toolbar>
<FrameLayout
style="@style/MwmWidget.FrameLayout.Elevation"
android:layout_width="match_parent"

View file

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="?cardBackground">
<TextView
android:id="@+id/tv__title"
android:layout_width="wrap_content"

View file

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
android:background="?cardBackground">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"