Skip to content

Commit

Permalink
For mozilla-mobile#12676 Different size widgets are not perfectly ali…
Browse files Browse the repository at this point in the history
…gned to the left/right sides of the screen
  • Loading branch information
iorgamgabriel committed Aug 23, 2022
1 parent f2d8c6e commit 3869481
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@id/mozac_button_search_widget_new_tab"
android:layout_width="64dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/mozac_rounded_search_widget_background">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="192dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/mozac_rounded_search_widget_background">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="100dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@drawable/mozac_rounded_search_widget_background"
android:orientation="horizontal">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@id/mozac_button_search_widget_new_tab"
android:layout_width="100dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/mozac_rounded_search_widget_background"
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ permalink: /changelog/
* [Gecko](https://github.com/mozilla-mobile/android-components/blob/v105.0.0/buildSrc/src/main/java/Gecko.kt)
* [Configuration](https://github.com/mozilla-mobile/android-components/blob/v105.0.0/.config.yml)

* **feature-search**:
* Different size widgets are not perfectly aligned to the left/right sides of the screen [#12676](https://github.com/mozilla-mobile/android-components/issues/12676).

* **feature-search**:
* Implement the common part of search widget in Android Components [#12565](https://github.com/mozilla-mobile/android-components/issues/12565).

Expand Down

0 comments on commit 3869481

Please sign in to comment.