Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
0951cb05
Commit
0951cb05
authored
Jul 13, 2018
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ids on the skin tone layout
parent
0267d882
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
EmojiKeyboardPopup.kt
...main/java/chat/rocket/android/emoji/EmojiKeyboardPopup.kt
+12
-12
color_select_popup.xml
emoji/src/main/res/layout/color_select_popup.xml
+6
-6
No files found.
emoji/src/main/java/chat/rocket/android/emoji/EmojiKeyboardPopup.kt
View file @
0951cb05
...
@@ -80,44 +80,44 @@ class EmojiKeyboardPopup(context: Context, view: View) : OverKeyboardPopupWindow
...
@@ -80,44 +80,44 @@ class EmojiKeyboardPopup(context: Context, view: View) : OverKeyboardPopupWindow
.
setCancelable
(
true
)
.
setCancelable
(
true
)
.
create
()
.
create
()
view
.
findViewById
<
TextView
>(
R
.
id
.
default_tone_text
)
?
.
also
{
view
.
findViewById
<
TextView
>(
R
.
id
.
default_tone_text
).
also
{
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
}
?
.
setOnClickListener
{
}.
setOnClickListener
{
dialog
.
dismiss
()
dialog
.
dismiss
()
changeSkinTone
(
Fitzpatrick
.
Default
)
changeSkinTone
(
Fitzpatrick
.
Default
)
}
}
view
.
findViewById
<
TextView
>(
R
.
id
.
light_tone_text
)
?
.
also
{
view
.
findViewById
<
TextView
>(
R
.
id
.
light_tone_text
).
also
{
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
}
?
.
setOnClickListener
{
}.
setOnClickListener
{
dialog
.
dismiss
()
dialog
.
dismiss
()
changeSkinTone
(
Fitzpatrick
.
LightTone
)
changeSkinTone
(
Fitzpatrick
.
LightTone
)
}
}
view
.
findViewById
<
TextView
>(
R
.
id
.
medium_light_text
)
?
.
also
{
view
.
findViewById
<
TextView
>(
R
.
id
.
medium_light_text
).
also
{
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
}
?
.
setOnClickListener
{
}.
setOnClickListener
{
dialog
.
dismiss
()
dialog
.
dismiss
()
changeSkinTone
(
Fitzpatrick
.
MediumLightTone
)
changeSkinTone
(
Fitzpatrick
.
MediumLightTone
)
}
}
view
.
findViewById
<
TextView
>(
R
.
id
.
medium_
image_view
)
?
.
also
{
view
.
findViewById
<
TextView
>(
R
.
id
.
medium_
tone_text
)
.
also
{
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
}
?
.
setOnClickListener
{
}.
setOnClickListener
{
dialog
.
dismiss
()
dialog
.
dismiss
()
changeSkinTone
(
Fitzpatrick
.
MediumTone
)
changeSkinTone
(
Fitzpatrick
.
MediumTone
)
}
}
view
.
findViewById
<
TextView
>(
R
.
id
.
medium_dark_tone_text
)
?
.
also
{
view
.
findViewById
<
TextView
>(
R
.
id
.
medium_dark_tone_text
).
also
{
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
}
?
.
setOnClickListener
{
}.
setOnClickListener
{
dialog
.
dismiss
()
dialog
.
dismiss
()
changeSkinTone
(
Fitzpatrick
.
MediumDarkTone
)
changeSkinTone
(
Fitzpatrick
.
MediumDarkTone
)
}
}
view
.
findViewById
<
TextView
>(
R
.
id
.
dark_tone_text
)
?
.
also
{
view
.
findViewById
<
TextView
>(
R
.
id
.
dark_tone_text
).
also
{
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
it
.
text
=
EmojiParser
.
parse
(
it
.
text
)
}
?
.
setOnClickListener
{
}.
setOnClickListener
{
dialog
.
dismiss
()
dialog
.
dismiss
()
changeSkinTone
(
Fitzpatrick
.
DarkTone
)
changeSkinTone
(
Fitzpatrick
.
DarkTone
)
}
}
...
...
emoji/src/main/res/layout/color_select_popup.xml
View file @
0951cb05
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
app:srcCompat=
"@drawable/color_change_circle"
/>
app:srcCompat=
"@drawable/color_change_circle"
/>
<TextView
<TextView
android:id=
"@+id/light_
image_view
"
android:id=
"@+id/light_
tone_text
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"24dp"
android:layout_marginStart=
"24dp"
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
tools:text=
"👌"
/>
tools:text=
"👌"
/>
<TextView
<TextView
android:id=
"@+id/medium_light_
image_view
"
android:id=
"@+id/medium_light_
text
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"16dp"
android:layout_marginTop=
"16dp"
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
tools:text=
"👌"
/>
tools:text=
"👌"
/>
<TextView
<TextView
android:id=
"@+id/medium_
image_view
"
android:id=
"@+id/medium_
tone_text
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_marginTop=
"8dp"
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
tools:text=
"👌"
/>
tools:text=
"👌"
/>
<TextView
<TextView
android:id=
"@+id/medium_dark_
image_view
"
android:id=
"@+id/medium_dark_
tone_text
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"24dp"
android:layout_marginStart=
"24dp"
...
@@ -83,13 +83,13 @@
...
@@ -83,13 +83,13 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/dark_tone_text"
app:layout_constraintEnd_toStartOf=
"@+id/dark_tone_text"
app:layout_constraintHorizontal_bias=
"0.5"
app:layout_constraintHorizontal_bias=
"0.5"
app:layout_constraintStart_toEndOf=
"@+id/medium_
image_view
"
app:layout_constraintStart_toEndOf=
"@+id/medium_
tone_text
"
app:layout_constraintTop_toBottomOf=
"@+id/light_tone_text"
app:layout_constraintTop_toBottomOf=
"@+id/light_tone_text"
app:srcCompat=
"@drawable/color_change_circle"
app:srcCompat=
"@drawable/color_change_circle"
tools:text=
"👌"
/>
tools:text=
"👌"
/>
<TextView
<TextView
android:id=
"@+id/dark_
image_view
"
android:id=
"@+id/dark_
tone_text
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_marginTop=
"8dp"
...
...
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