Commit 4decc79b by Paktalin

Added background image to layouts

parent 314fa120
......@@ -5,6 +5,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/img_background" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......
......@@ -5,6 +5,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/img_background"/>
<TextView
android:id="@+id/tvWord"
android:layout_width="wrap_content"
......
......@@ -7,11 +7,7 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.paktalin.vocabularynotebook.activities.VocabularyFragment">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/background_small"
android:scaleType="centerCrop"/>
<include layout="@layout/img_background"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView"
......
<?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="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/background_small"
android:scaleType="centerCrop"
tools:ignore="ContentDescription" />
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment