Skip to content

Commit

Permalink
[#3288] Update Left/Right margin and paddings with Start/End (#3289)
Browse files Browse the repository at this point in the history
* [#3280] Adjust SelectCurrencyBar padding

* [#3283] Adjust bottom info layout paddings

* [#3285] Increase toolbar text size

* [#3288] Update Left/Right margin and paddings with Start/End
  • Loading branch information
mustafaozhan authored Apr 4, 2024
1 parent 057d5eb commit ce18516
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion android/ui/mobile/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<dimen name="padding_bottom_slide_layout">48dp</dimen>
<dimen name="height_width_app_logo">200dp</dimen>
<dimen name="margin_top_slide_items">20dp</dimen>
<dimen name="padding_left_right_slide_item">36dp</dimen>
<dimen name="padding_horizontal_slide_item">36dp</dimen>

<!-- Search View -->
<dimen name="max_width_search_view">256dp</dimen>
Expand Down
25 changes: 7 additions & 18 deletions android/ui/mobile/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
<style name="BarBaseImageView">
<item name="android:layout_width">@dimen/currency_icon_size</item>
<item name="android:layout_height">@dimen/currency_icon_size</item>
<item name="android:layout_marginLeft">@dimen/margin_eight</item>
<item name="android:layout_marginStart">@dimen/margin_eight</item>
<item name="srcCompat">@color/transparent</item>
</style>
Expand Down Expand Up @@ -174,7 +173,7 @@

<!-- Slide -->
<style name="SlideLinearLayout">
<item name="android:layout_marginLeft">@dimen/margin_eight</item>
<item name="android:layout_marginStart">@dimen/margin_eight</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">@dimen/dots_height</item>
<item name="android:layout_marginBottom">@dimen/dots_margin_bottom</item>
Expand Down Expand Up @@ -219,8 +218,8 @@
<item name="android:lineSpacingMultiplier">1.2</item>
<item name="android:textAlignment">center</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:paddingLeft">@dimen/padding_left_right_slide_item</item>
<item name="android:paddingRight">@dimen/padding_left_right_slide_item</item>
<item name="android:paddingStart">@dimen/padding_horizontal_slide_item</item>
<item name="android:paddingEnd">@dimen/padding_horizontal_slide_item</item>
<item name="android:layout_marginTop">@dimen/margin_top_slide_items</item>
</style>

Expand Down Expand Up @@ -251,8 +250,8 @@
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:paddingBottom">@dimen/margin_eight</item>
<item name="android:paddingLeft">@dimen/margin_two</item>
<item name="android:paddingRight">@dimen/margin_two</item>
<item name="android:paddingStart">@dimen/margin_two</item>
<item name="android:paddingEnd">@dimen/margin_two</item>
</style>

<style name="BarTextStyle" parent="WrapStyle">
Expand Down Expand Up @@ -363,8 +362,8 @@
<item name="android:background">@drawable/selector_item</item>
<item name="android:paddingTop">@dimen/margin_two</item>
<item name="android:paddingBottom">@dimen/margin_two</item>
<item name="android:paddingLeft">@dimen/margin_eight</item>
<item name="android:paddingRight">@dimen/margin_four</item>
<item name="android:paddingStart">@dimen/margin_eight</item>
<item name="android:paddingEnd">@dimen/margin_four</item>
</style>

<style name="SelectCurrencyItemLayout" parent="BaseItemLayout">
Expand All @@ -375,7 +374,6 @@
<style name="CalculatorItemImageView">
<item name="android:layout_marginTop">@dimen/margin_four</item>
<item name="android:layout_marginEnd">@dimen/margin_four</item>
<item name="android:layout_marginRight">@dimen/margin_four</item>
<item name="android:layout_marginBottom">@dimen/margin_four</item>
<item name="android:layout_width">@dimen/currency_icon_size</item>
<item name="android:layout_height">@dimen/currency_icon_size</item>
Expand All @@ -386,28 +384,22 @@
<item name="android:layout_marginBottom">@dimen/margin_four</item>
<item name="android:maxLines">1</item>
<item name="android:paddingStart">@dimen/margin_zero</item>
<item name="android:paddingLeft">@dimen/margin_zero</item>
<item name="android:paddingRight">@dimen/margin_four</item>
<item name="android:paddingEnd">@dimen/margin_four</item>\
<item name="android:textAppearance">@style/ItemTextStyle</item>
</style>

<style name="CalculatorItemAmountTextStyle" parent="BaseCalculatorItemTextStyle">
<item name="android:paddingStart">@dimen/margin_two</item>
<item name="android:paddingLeft">@dimen/margin_two</item>
<item name="android:paddingRight">@dimen/margin_zero</item>
<item name="android:paddingEnd">@dimen/margin_zero</item>
</style>

<style name="CalculatorItemSymbolTextStyle" parent="CalculatorItemAmountTextStyle">
<item name="android:paddingRight">@dimen/margin_four</item>
<item name="android:paddingEnd">@dimen/margin_four</item>
<item name="android:textAppearance">@style/TextStyleSmall</item>
</style>

<style name="CalculatorItemTypeTextStyle" parent="BaseCalculatorItemTextStyle">
<item name="android:layout_marginEnd">@dimen/margin_eight</item>
<item name="android:layout_marginRight">@dimen/margin_eight</item>
</style>

<!-- Settings -->
Expand Down Expand Up @@ -497,9 +489,7 @@
<item name="android:layout_marginTop">@dimen/margin_two</item>
<item name="android:layout_marginBottom">@dimen/margin_two</item>
<item name="android:layout_marginEnd">@dimen/margin_four</item>
<item name="android:layout_marginRight">@dimen/margin_four</item>
<item name="android:layout_marginStart">@dimen/margin_eight</item>
<item name="android:layout_marginLeft">@dimen/margin_eight</item>
<item name="android:ellipsize">end</item>
<item name="android:maxLines">1</item>
<item name="android:textAppearance">@style/TextStyleSmall</item>
Expand All @@ -508,7 +498,6 @@
<style name="CurrenciesItemCheckBoxStyle" parent="WrapStyle">
<item name="android:layout_marginTop">@dimen/margin_two</item>
<item name="android:layout_marginEnd">@dimen/margin_two</item>
<item name="android:layout_marginRight">@dimen/margin_two</item>
<item name="android:layout_marginBottom">@dimen/margin_two</item>
<item name="android:clickable">false</item>
<item name="android:focusable">false</item>
Expand Down

0 comments on commit ce18516

Please sign in to comment.