Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Imre Kristoffer Eilertsen
Nebulo
Commits
00d926fd
Commit
00d926fd
authored
Aug 16, 2019
by
Daniel Wolf
Browse files
Made the icon smaller, replaced the icon for upstream
parent
25f42d8d
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/fragment/querylogfragment/QueryLogListFragment.kt
View file @
00d926fd
...
...
@@ -61,7 +61,7 @@ class QueryLogListFragment: Fragment() {
viewHolder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
text
).
text
=
data
.
shortName
viewHolder
.
itemView
.
tag
=
data
viewHolder
.
itemView
.
typeImage
.
setImageResource
(
when
(
data
.
responseSource
)
{
QueryListener
.
Source
.
UPSTREAM
->
R
.
drawable
.
ic_
share_arrow
QueryListener
.
Source
.
UPSTREAM
->
R
.
drawable
.
ic_
reply
QueryListener
.
Source
.
CACHE
,
QueryListener
.
Source
.
CACHE_AND_LOCALRESOLVER
->
R
.
drawable
.
ic_database
QueryListener
.
Source
.
LOCALRESOLVER
->
R
.
drawable
.
ic_flag
else
->
R
.
drawable
.
ic_query_question
...
...
app/src/main/res/drawable/ic_reply.xml
0 → 100644
View file @
00d926fd
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M10,9V5l-7,7 7,7v-4.1c5,0 8.5,1.6 11,5.1 -1,-5 -4,-10 -11,-11z"
/>
</vector>
app/src/main/res/layout/item_logged_query.xml
View file @
00d926fd
...
...
@@ -8,11 +8,11 @@
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"2
8
dp"
android:layout_width=
"2
4
dp"
android:id=
"@+id/typeImage"
android:layout_centerVertical=
"true"
android:tint=
"?android:attr/textColor"
android:layout_height=
"2
8
dp"
/>
android:layout_height=
"2
4
dp"
/>
<TextView
android:layout_width=
"wrap_content"
...
...
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