[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.5-1] fixup! Modify UI/UX



Title: GitLab

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:

Changes:

  • fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_foreground.png
    No preview for this file type
  • fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_foreground.png
    No preview for this file type
  • fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_foreground.png
    No preview for this file type
  • fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_foreground.png
    No preview for this file type
  • fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_foreground.png
    No preview for this file type
  • fenix/app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt
    ... ... @@ -168,14 +168,14 @@ class SearchWidgetProvider : AppWidgetProvider() {
    168 168
             if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
    
    169 169
                 setImageViewResource(
    
    170 170
                     R.id.button_search_widget_new_tab_icon,
    
    171
    -                R.mipmap.ic_launcher,
    
    171
    +                R.mipmap.ic_launcher_foreground
    
    172 172
                 )
    
    173 173
             } else {
    
    174 174
                 setImageViewBitmap(
    
    175 175
                     R.id.button_search_widget_new_tab_icon,
    
    176 176
                     AppCompatResources.getDrawable(
    
    177 177
                         context,
    
    178
    -                    R.mipmap.ic_launcher
    
    178
    +                    R.mipmap.ic_launcher_foreground
    
    179 179
                     )?.toBitmap(),
    
    180 180
                 )
    
    181 181
             }
    

  • fenix/app/src/main/res/layout/fragment_about.xml
    ... ... @@ -25,7 +25,7 @@
    25 25
                 android:layout_marginEnd="130dp"
    
    26 26
                 android:contentDescription="@string/app_name"
    
    27 27
                 android:importantForAccessibility="no"
    
    28
    -            app:srcCompat="@mipmap/ic_launcher"
    
    28
    +            app:srcCompat="@mipmap/ic_launcher_foreground"
    
    29 29
                 app:layout_constraintStart_toStartOf="parent"
    
    30 30
                 app:layout_constraintEnd_toEndOf="parent"
    
    31 31
                 app:layout_constraintTop_toTopOf="parent" />
    

  • fenix/app/src/main/res/layout/fragment_home.xml
    ... ... @@ -59,7 +59,7 @@
    59 59
                     android:focusable="false"
    
    60 60
                     android:importantForAccessibility="no"
    
    61 61
                     android:orientation="horizontal"
    
    62
    -                app:srcCompat="@mipmap/ic_launcher"
    
    62
    +                app:srcCompat="@mipmap/ic_launcher_foreground"
    
    63 63
                     app:layout_collapseMode="parallax"
    
    64 64
                     app:layout_collapseParallaxMultiplier=".1">
    
    65 65
     
    
    ... ... @@ -70,8 +70,10 @@
    70 70
                         android:layout_marginEnd="10.dp"
    
    71 71
                         android:adjustViewBounds="true"
    
    72 72
                         android:contentDescription="@null"
    
    73
    -                    app:srcCompat="@mipmap/ic_launcher"
    
    74
    -                    tools:ignore="ImageContrastCheck" />
    
    73
    +                    app:srcCompat="@mipmap/ic_launcher_foreground"
    
    74
    +                    tools:ignore="ImageContrastCheck"
    
    75
    +                    android:scaleX="1.5"
    
    76
    +                    android:scaleY="1.5" />
    
    75 77
     
    
    76 78
                     <!--
    
    77 79
                     <ImageView
    

  • fenix/app/src/main/res/layout/search_widget_extra_small_v1.xml
    ... ... @@ -17,6 +17,8 @@
    17 17
             android:layout_gravity="center"
    
    18 18
             android:contentDescription="@string/search_widget_content_description_2"
    
    19 19
             android:scaleType="centerInside"
    
    20
    -        tools:src="">"@mipmap/ic_launcher"/>
    
    20
    +        tools:src="">"@mipmap/ic_launcher_foreground"
    
    21
    +        android:scaleX="1.5"
    
    22
    +        android:scaleY="1.5"/>
    
    21 23
     
    
    22 24
     </FrameLayout>

  • fenix/app/src/main/res/layout/search_widget_extra_small_v2.xml
    ... ... @@ -17,5 +17,7 @@
    17 17
             android:layout_gravity="center"
    
    18 18
             android:contentDescription="@string/search_widget_content_description_2"
    
    19 19
             android:scaleType="centerInside"
    
    20
    -        tools:src="">"@mipmap/ic_launcher" />
    
    20
    +        tools:src="">"@mipmap/ic_launcher_foreground"
    
    21
    +        android:scaleX="1.5"
    
    22
    +        android:scaleY="1.5"/>
    
    21 23
     </FrameLayout>

  • fenix/app/src/main/res/layout/search_widget_large.xml
    ... ... @@ -15,7 +15,9 @@
    15 15
             android:layout_height="50dp"
    
    16 16
             android:layout_alignParentStart="true"
    
    17 17
             android:contentDescription="@string/search_widget_content_description_2"
    
    18
    -        android:scaleType="centerInside" />
    
    18
    +        android:scaleType="centerInside"
    
    19
    +        android:scaleX="1.5"
    
    20
    +        android:scaleY="1.5"/>
    
    19 21
     
    
    20 22
         <TextView
    
    21 23
             android:id="@+id/button_search_widget_new_tab"
    

  • fenix/app/src/main/res/layout/search_widget_medium.xml
    ... ... @@ -15,7 +15,9 @@
    15 15
             android:layout_width="50dp"
    
    16 16
             android:layout_height="50dp"
    
    17 17
             android:layout_alignParentStart="true"
    
    18
    -        android:scaleType="centerInside" />
    
    18
    +        android:scaleType="centerInside"
    
    19
    +        android:scaleX="1.5"
    
    20
    +        android:scaleY="1.5"/>
    
    19 21
     
    
    20 22
         <TextView
    
    21 23
             android:id="@+id/button_search_widget_new_tab"
    

  • fenix/app/src/main/res/layout/search_widget_small.xml
    ... ... @@ -13,7 +13,9 @@
    13 13
             android:layout_width="50dp"
    
    14 14
             android:layout_height="50dp"
    
    15 15
             android:contentDescription="@string/search_widget_content_description_2"
    
    16
    -        android:scaleType="centerInside" />
    
    16
    +        android:scaleType="centerInside"
    
    17
    +        android:scaleX="1.5"
    
    18
    +        android:scaleY="1.5"/>
    
    17 19
     
    
    18 20
         <ImageView
    
    19 21
             android:id="@+id/button_search_widget_voice"
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits