make radio buttons in invite alert bigger

Trying to get closer to the size they were in AlertDialog
This commit is contained in:
Eric House 2020-09-29 15:42:32 -07:00
parent f98759881c
commit 2a973b6968
2 changed files with 13 additions and 2 deletions

View file

@ -76,7 +76,8 @@ public class InviteView extends ScrollView
mGroupHow.setOnCheckedChangeListener( this );
for ( InviteMeans means : meansList ) {
Assert.assertNotNull( means );
RadioButton button = new RadioButton( context );
RadioButton button = (RadioButton)LocUtils
.inflate( context, R.layout.invite_radio );
button.setText( LocUtils.getString( context, means.getUserDescID() ) );
mGroupHow.addView( button );
mHowMeans.put( button, means );
@ -86,7 +87,8 @@ public class InviteView extends ScrollView
mGroupWho = (RadioGroup)findViewById( R.id.group_who );
mGroupWho.setOnCheckedChangeListener( this );
for ( String player : players ) {
RadioButton button = new RadioButton( context );
RadioButton button = (RadioButton)LocUtils
.inflate( context, R.layout.invite_radio );
button.setText( player );
mGroupWho.addView( button );
mWhoPlayers.put( button, player );

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RadioButton xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textSize="22dp"
android:paddingTop="5dp"
android:paddingBottom="5dp"
/>