Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
291a29b3
Unverified
Commit
291a29b3
authored
Jun 16, 2020
by
Kainalu Hagiwara
Committed by
GitHub
Jun 16, 2020
Browse files
For #11651 - Fix top site favicon size and dark theme border color. (#11652)
parent
52165609
Changes
2
Show whitespace changes
Inline
Side-by-side
app/src/main/res/layout/top_site_item.xml
View file @
291a29b3
...
...
@@ -12,8 +12,8 @@
<FrameLayout
android:id=
"@+id/favicon_wrapper"
android:layout_width=
"4
8
dp"
android:layout_height=
"4
8
dp"
android:layout_width=
"4
0
dp"
android:layout_height=
"4
0
dp"
android:padding=
"4dp"
android:background=
"@drawable/top_sites_background"
app:layout_constraintBottom_toTopOf=
"@id/top_site_title"
...
...
@@ -23,11 +23,12 @@
app:layout_constraintTop_toTopOf=
"parent"
>
<ImageView
android:id=
"@+id/favicon_image"
android:layout_width=
"40dp"
android:layout_height=
"40dp"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_gravity=
"center"
android:adjustViewBounds=
"true"
android:importantForAccessibility=
"no"
android:scaleType=
"
c
enter
Inside
"
/>
android:scaleType=
"
fitC
enter"
/>
</FrameLayout>
<TextView
...
...
app/src/main/res/values/colors.xml
View file @
291a29b3
...
...
@@ -103,7 +103,7 @@
<color
name=
"scrimStart_dark_theme"
>
#F520123A
</color>
<color
name=
"scrimEnd_dark_theme"
>
#F515141A
</color>
<color
name=
"top_site_background_dark_theme"
>
@color/dark_grey_50
</color>
<color
name=
"top_site_border_dark_theme"
>
@color/dark_grey_
5
0
</color>
<color
name=
"top_site_border_dark_theme"
>
@color/dark_grey_
1
0
</color>
<color
name=
"top_site_title_text_dark_theme"
>
@color/light_grey_90
</color>
<color
name=
"collection_icon_color_violet_dark_theme"
>
#AB71FF
</color>
<color
name=
"collection_icon_color_blue_dark_theme"
>
#00B3F4
</color>
...
...
Write
Preview
Supports
Markdown
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