[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.5-1] fixup! Modify UI/UX
Dan Ballard (@dan)
git at gitlab.torproject.org
Tue Nov 14 23:57:05 UTC 2023
Dan Ballard pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android
Commits:
d8d99de6 by clairehurst at 2023-11-13T14:17:28-07:00
fixup! Modify UI/UX
- - - - -
13 changed files:
- + fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png
- + fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png
- + fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png
- + fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png
- + fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_foreground.png
- fenix/app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt
- fenix/app/src/main/res/layout/fragment_about.xml
- fenix/app/src/main/res/layout/fragment_home.xml
- fenix/app/src/main/res/layout/search_widget_extra_small_v1.xml
- fenix/app/src/main/res/layout/search_widget_extra_small_v2.xml
- fenix/app/src/main/res/layout/search_widget_large.xml
- fenix/app/src/main/res/layout/search_widget_medium.xml
- fenix/app/src/main/res/layout/search_widget_small.xml
Changes:
=====================================
fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png
=====================================
Binary files /dev/null and b/fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png differ
=====================================
fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png
=====================================
Binary files /dev/null and b/fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png differ
=====================================
fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png
=====================================
Binary files /dev/null and b/fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png differ
=====================================
fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png
=====================================
Binary files /dev/null and b/fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
=====================================
fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_foreground.png
=====================================
Binary files /dev/null and b/fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
=====================================
fenix/app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt
=====================================
@@ -168,14 +168,14 @@ class SearchWidgetProvider : AppWidgetProvider() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
setImageViewResource(
R.id.button_search_widget_new_tab_icon,
- R.mipmap.ic_launcher,
+ R.mipmap.ic_launcher_foreground
)
} else {
setImageViewBitmap(
R.id.button_search_widget_new_tab_icon,
AppCompatResources.getDrawable(
context,
- R.mipmap.ic_launcher
+ R.mipmap.ic_launcher_foreground
)?.toBitmap(),
)
}
=====================================
fenix/app/src/main/res/layout/fragment_about.xml
=====================================
@@ -25,7 +25,7 @@
android:layout_marginEnd="130dp"
android:contentDescription="@string/app_name"
android:importantForAccessibility="no"
- app:srcCompat="@mipmap/ic_launcher"
+ app:srcCompat="@mipmap/ic_launcher_foreground"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
=====================================
fenix/app/src/main/res/layout/fragment_home.xml
=====================================
@@ -59,7 +59,7 @@
android:focusable="false"
android:importantForAccessibility="no"
android:orientation="horizontal"
- app:srcCompat="@mipmap/ic_launcher"
+ app:srcCompat="@mipmap/ic_launcher_foreground"
app:layout_collapseMode="parallax"
app:layout_collapseParallaxMultiplier=".1">
@@ -70,8 +70,10 @@
android:layout_marginEnd="10.dp"
android:adjustViewBounds="true"
android:contentDescription="@null"
- app:srcCompat="@mipmap/ic_launcher"
- tools:ignore="ImageContrastCheck" />
+ app:srcCompat="@mipmap/ic_launcher_foreground"
+ tools:ignore="ImageContrastCheck"
+ android:scaleX="1.5"
+ android:scaleY="1.5" />
<!--
<ImageView
=====================================
fenix/app/src/main/res/layout/search_widget_extra_small_v1.xml
=====================================
@@ -17,6 +17,8 @@
android:layout_gravity="center"
android:contentDescription="@string/search_widget_content_description_2"
android:scaleType="centerInside"
- tools:src="@mipmap/ic_launcher"/>
+ tools:src="@mipmap/ic_launcher_foreground"
+ android:scaleX="1.5"
+ android:scaleY="1.5"/>
</FrameLayout>
=====================================
fenix/app/src/main/res/layout/search_widget_extra_small_v2.xml
=====================================
@@ -17,5 +17,7 @@
android:layout_gravity="center"
android:contentDescription="@string/search_widget_content_description_2"
android:scaleType="centerInside"
- tools:src="@mipmap/ic_launcher" />
+ tools:src="@mipmap/ic_launcher_foreground"
+ android:scaleX="1.5"
+ android:scaleY="1.5"/>
</FrameLayout>
=====================================
fenix/app/src/main/res/layout/search_widget_large.xml
=====================================
@@ -15,7 +15,9 @@
android:layout_height="50dp"
android:layout_alignParentStart="true"
android:contentDescription="@string/search_widget_content_description_2"
- android:scaleType="centerInside" />
+ android:scaleType="centerInside"
+ android:scaleX="1.5"
+ android:scaleY="1.5"/>
<TextView
android:id="@+id/button_search_widget_new_tab"
=====================================
fenix/app/src/main/res/layout/search_widget_medium.xml
=====================================
@@ -15,7 +15,9 @@
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentStart="true"
- android:scaleType="centerInside" />
+ android:scaleType="centerInside"
+ android:scaleX="1.5"
+ android:scaleY="1.5"/>
<TextView
android:id="@+id/button_search_widget_new_tab"
=====================================
fenix/app/src/main/res/layout/search_widget_small.xml
=====================================
@@ -13,7 +13,9 @@
android:layout_width="50dp"
android:layout_height="50dp"
android:contentDescription="@string/search_widget_content_description_2"
- android:scaleType="centerInside" />
+ android:scaleType="centerInside"
+ android:scaleX="1.5"
+ android:scaleY="1.5"/>
<ImageView
android:id="@+id/button_search_widget_voice"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/d8d99de67fd463accc1c8eec7f3f4d251195b2ba
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/d8d99de67fd463accc1c8eec7f3f4d251195b2ba
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20231114/21c7cf7a/attachment-0001.htm>
More information about the tor-commits
mailing list