Commit 620fd6c4 by Paktalin

Changed background

parent 86480fca
......@@ -34,9 +34,7 @@ class VocabularyAdapter(private val wordItems: MutableList<WordItem>, private va
//todo set click listener to menu
}
override fun getItemCount(): Int {
return wordItems.size
}
override fun getItemCount(): Int { return wordItems.size }
private fun openWordItemInfo(wordItem: WordItem) {
val intentWordItemInfo = Intent(context, WordItemInfoActivity::class.java)
......
......@@ -15,7 +15,6 @@ import android.app.Activity
import android.view.View
import android.view.inputmethod.InputMethodManager
class MainActivity : AppCompatActivity() {
lateinit var vocabularyId: String
......@@ -73,7 +72,5 @@ class MainActivity : AppCompatActivity() {
imm.hideSoftInputFromWindow(view.windowToken, 0)
}
companion object {
private val TAG = "VN/" + MainActivity::class.simpleName
}
companion object { private val TAG = "VN/" + MainActivity::class.simpleName }
}
\ No newline at end of file
......@@ -9,9 +9,7 @@ import android.view.ViewGroup
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.firestore.DocumentSnapshot
import com.google.firebase.firestore.FirebaseFirestore
import com.paktalin.vocabularynotebook.R
import com.paktalin.vocabularynotebook.VocabularyAdapter
import com.paktalin.vocabularynotebook.WordItem
import com.paktalin.vocabularynotebook.*
import kotlinx.android.synthetic.main.fragment_vocabulary.*
class VocabularyFragment : Fragment() {
......
......@@ -3,12 +3,16 @@
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">
android:layout_height="match_parent"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="4dp"
android:paddingRight="4dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/background_small"
android:scaleType="centerCrop"
android:src="@drawable/notepad"
android:scaleType="fitXY"
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