Skip to content

Commit

Permalink
For mozilla-mobile#14725 - Resize search engine radio button
Browse files Browse the repository at this point in the history
  • Loading branch information
codrut.topliceanu authored and abhijitvalluri committed Sep 13, 2020
1 parent aad894b commit 23b3048
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/res/layout/search_engine_radio_button.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
android:focusable="true">
<RadioButton
android:id="@+id/radio_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="@dimen/search_engine_radio_button_height"
android:layout_height="@dimen/search_engine_radio_button_height"
android:textAppearance="?android:attr/textAppearanceListItem"
android:layout_marginStart="@dimen/search_bar_search_engine_icon_padding"
android:layout_gravity="center" />
Expand All @@ -24,7 +24,7 @@
android:importantForAccessibility="no"
android:layout_width="@dimen/search_engine_engine_icon_height"
android:layout_height="@dimen/search_engine_engine_icon_height"
android:layout_marginStart="@dimen/search_bar_search_icon_margin"
android:layout_marginStart="@dimen/search_engine_engine_icon_margin"
android:layout_gravity="center" />
<TextView
android:id="@+id/engine_text"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<dimen name="preference_icon_drawable_size">24dp</dimen>
<dimen name="search_bar_search_engine_icon_padding">12dp</dimen>
<dimen name="search_bar_search_icon_margin">28dp</dimen>
<dimen name="search_engine_engine_icon_margin">12dp</dimen>
<dimen name="search_engine_radio_button_height">48dp</dimen>
<dimen name="search_engine_engine_icon_height">24dp</dimen>
<dimen name="radio_button_drawable_padding">32dp</dimen>
Expand Down

0 comments on commit 23b3048

Please sign in to comment.