Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
vocabulary_notebook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4decc79b
authored
Sep 08, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added background image to layouts
parent
314fa120
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
5 deletions
app/src/main/res/layout/activity_add_word.xml
app/src/main/res/layout/activity_word_info.xml
app/src/main/res/layout/fragment_vocabulary.xml
app/src/main/res/layout/img_background.xml
app/src/main/res/layout/activity_add_word.xml
View file @
4decc79b
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<include
layout=
"@layout/img_background"
/>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
app/src/main/res/layout/activity_word_info.xml
View file @
4decc79b
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<include
layout=
"@layout/img_background"
/>
<TextView
<TextView
android:id=
"@+id/tvWord"
android:id=
"@+id/tvWord"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
...
app/src/main/res/layout/fragment_vocabulary.xml
View file @
4decc79b
...
@@ -7,11 +7,7 @@
...
@@ -7,11 +7,7 @@
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:context=
"com.paktalin.vocabularynotebook.activities.VocabularyFragment"
>
tools:context=
"com.paktalin.vocabularynotebook.activities.VocabularyFragment"
>
<ImageView
<include
layout=
"@layout/img_background"
/>
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:src=
"@drawable/background_small"
android:scaleType=
"centerCrop"
/>
<android.support.v7.widget.RecyclerView
<android.support.v7.widget.RecyclerView
android:id=
"@+id/recyclerView"
android:id=
"@+id/recyclerView"
...
...
app/src/main/res/layout/img_background.xml
0 → 100644
View file @
4decc79b
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment