shadow under app bar

This commit is contained in:
veliymolfar 2020-06-11 18:42:39 +03:00
parent 8d83048dd2
commit 328e05a515

View file

@ -29,59 +29,74 @@
</androidx.appcompat.widget.Toolbar>
<ScrollView
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
<ScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/name_input_layout"
style="@style/InputLayoutStyle.FilledBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/content_padding"
android:hint="@string/shared_string_name"
app:helperText="@string/online_map_name_helper_text">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/name_edit_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/url_input_layout"
style="@style/InputLayoutStyle.FilledBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/content_padding"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginBottom="@dimen/content_padding"
android:hint="@string/edit_tilesource_url_to_load"
app:helperText="@string/online_map_url_helper_text">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/url_edit_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</com.google.android.material.textfield.TextInputLayout>
<include layout="@layout/divider" />
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
android:orientation="vertical">
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/name_input_layout"
style="@style/InputLayoutStyle.FilledBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/content_padding"
android:hint="@string/shared_string_name"
app:helperText="@string/online_map_name_helper_text">
</ScrollView>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/name_edit_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/url_input_layout"
style="@style/InputLayoutStyle.FilledBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/content_padding"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginBottom="@dimen/content_padding"
android:hint="@string/edit_tilesource_url_to_load"
app:helperText="@string/online_map_url_helper_text">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/url_edit_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</com.google.android.material.textfield.TextInputLayout>
<include layout="@layout/divider" />
<LinearLayout
android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
</LinearLayout>
</ScrollView>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/topBarShadow"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:rotation="180"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
</FrameLayout>
<include layout="@layout/divider" />