Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Fixes issue #697. Text is now visible properly in vocab match game #1390

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions PowerUp/app/src/main/res/layout/activity_vocab_match_game.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
android:background="@drawable/vocab_clipboard_yellow"
android:text="@string/pimples"
android:gravity="center"
android:autoSizeTextType="uniform"
android:autoSizeMinTextSize="@dimen/vocab_match_minTextSize"
android:autoSizeMaxTextSize="@dimen/vocab_match_maxTextSize"
android:autoSizeStepGranularity="1dp"
android:paddingLeft="@dimen/vocab_match_padding"
/>
<powerup.systers.com.vocab_match_game.VocabBoardTextView
android:id="@+id/tv2"
Expand All @@ -68,17 +73,25 @@
android:layout_weight="1"
android:background="@drawable/vocab_clipboard_yellow"
android:text="@string/bra"
android:gravity="center"/>
android:gravity="center"
android:autoSizeTextType="uniform"
android:autoSizeMinTextSize="@dimen/vocab_match_minTextSize"
android:autoSizeMaxTextSize="@dimen/vocab_match_maxTextSize"
android:autoSizeStepGranularity="1dp"
android:paddingLeft="@dimen/vocab_match_padding"/>
<powerup.systers.com.vocab_match_game.VocabBoardTextView
android:id="@+id/tv3"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/vocab_clipboard_yellow"
android:text="@string/periods"
android:gravity="center"/>
android:gravity="center"
android:autoSizeTextType="uniform"
android:autoSizeMinTextSize="@dimen/vocab_match_minTextSize"
android:autoSizeMaxTextSize="@dimen/vocab_match_maxTextSize"
android:autoSizeStepGranularity="1dp"
android:paddingLeft="@dimen/vocab_match_padding"/>
</LinearLayout>
</LinearLayout>


</FrameLayout>
3 changes: 3 additions & 0 deletions PowerUp/app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,7 @@
<dimen name="margin_right_txt_msg2">125dp</dimen>
<dimen name="btn_padding">4dp</dimen>
<dimen name="btn_radius">3dp</dimen>
<dimen name="vocab_match_padding">40dp</dimen>
<dimen name="vocab_match_maxTextSize">20dp</dimen>
<dimen name="vocab_match_minTextSize">10dp</dimen>
</resources>