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
287875d7
authored
Apr 21, 2019
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added TODOs
parent
f08675b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
app/src/main/java/com/paktalin/vocabularynotebook/ui/fragments/SubmitEditedFragment.kt
app/src/main/res/layout/word_item.xml
app/src/main/java/com/paktalin/vocabularynotebook/ui/fragments/SubmitEditedFragment.kt
View file @
287875d7
...
...
@@ -15,6 +15,7 @@ class SubmitEditedFragment : SubmitFragment() {
override
fun
init
()
{
mainActivity
.
vocabularyAdapter
.
showPopupMenu
=
false
// TODO resolve this!
// visible(mainActivity.clickable_view)
gone
(
clickableView
)
wordEt
.
requestFocus
()
...
...
@@ -38,6 +39,7 @@ class SubmitEditedFragment : SubmitFragment() {
wordEt
.
clearFocus
()
translationEt
.
clearFocus
()
visible
(
clickableView
)
// TODO and this!
// gone(mainActivity.clickable_view)
mainActivity
.
hideKeyboardNotFromActivity
(
mainActivity
)
mainActivity
.
vocabularyAdapter
.
showPopupMenu
=
true
...
...
app/src/main/res/layout/word_item.xml
View file @
287875d7
...
...
@@ -72,7 +72,7 @@
android:id=
"@+id/clickable_view"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@android:color/
holo_green_dark
"
android:background=
"@android:color/
transparent
"
android:clickable=
"true"
android:focusable=
"true"
android:visibility=
"gone"
/>
...
...
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