Skip to content

Commit

Permalink
braille-systems#278 refine dots captions appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
zuevval committed Oct 3, 2020
1 parent fb0d4f8 commit 1f3c090
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/res/layout/braille_dots_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
android:layout_marginEnd="@dimen/braille_dots_outer_horizontal_margin"
android:layout_marginBottom="@dimen/braille_dots_inner_vertical_margin"
android:contentDescription="@string/braille_dot_4"
android:paddingEnd="@dimen/braille_dots_right_column_text_padding"
android:text="@string/braille_dot_4_text"
app:layout_constraintBottom_toTopOf="@+id/dotButton5"
app:layout_constraintEnd_toEndOf="parent"
Expand All @@ -76,6 +77,7 @@
android:layout_marginEnd="@dimen/braille_dots_outer_horizontal_margin"
android:layout_marginBottom="@dimen/braille_dots_inner_vertical_margin"
android:contentDescription="@string/braille_dot_5"
android:paddingEnd="@dimen/braille_dots_right_column_text_padding"
android:text="@string/braille_dot_5_text"
app:layout_constraintBottom_toTopOf="@+id/dotButton6"
app:layout_constraintEnd_toEndOf="parent"
Expand All @@ -91,6 +93,7 @@
android:layout_marginEnd="@dimen/braille_dots_outer_horizontal_margin"
android:layout_marginBottom="@dimen/braille_dots_outer_vertical_margin"
android:contentDescription="@string/braille_dot_6"
android:paddingEnd="@dimen/braille_dots_right_column_text_padding"
android:text="@string/braille_dot_6_text"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<dimen name="braille_dots_inner_vertical_margin">25dp</dimen>
<dimen name="braille_dots_scale_of_one_dot">2.6</dimen>
<dimen name="braille_dots_scale_of_view">1</dimen>
<!-- For whatever reason dots numbers in the right column appear not strictly in the middle, so we use padding to fix it-->
<dimen name="braille_dots_right_column_text_padding">1dp</dimen>

<dimen name="practice_dots_vertical_bias">0.85</dimen>
<dimen name="practice_buttons_vertical_bias">0.9</dimen>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<item name="android:background">@drawable/round_checkbox</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@drawable/round_checkbox</item>
<item name="android:fontFamily">sans-serif-light</item>
</style>

<style name="bigLetterStyle">
Expand Down

0 comments on commit 1f3c090

Please sign in to comment.