diff --git a/.gitignore b/.gitignore index 49624aa..743db83 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,7 @@ google-services.json # Claude .claude/ -.settings/ \ No newline at end of file +.settings/ +skills-lock.json + +.agents \ No newline at end of file diff --git a/app/src/main/java/com/helldivers/app/ActivityGame.java b/app/src/main/java/com/helldivers/app/ActivityGame.java index 2d04fe9..faeb2ed 100644 --- a/app/src/main/java/com/helldivers/app/ActivityGame.java +++ b/app/src/main/java/com/helldivers/app/ActivityGame.java @@ -4,6 +4,8 @@ import android.graphics.Color; import android.os.Bundle; import android.os.Handler; import android.widget.Button; +import android.widget.ImageButton; +import android.widget.LinearLayout; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; @@ -86,9 +88,9 @@ public class ActivityGame extends AppCompatActivity { private SoundManager soundManager; private Handler handler = new Handler(); - private TextView tvSequence; + private TextView tvStratagemName; private TextView tvCounter; - private Button btnUp, btnDown, btnLeft, btnRight; + private ImageButton btnUp, btnDown, btnLeft, btnRight; private Button btnVolver; private int[] sequence; @@ -97,6 +99,7 @@ public class ActivityGame extends AppCompatActivity { private boolean esperando = false; private boolean juegoActivo = true; private String[] ultimosArrows; + private String ultimosArrowsStratagem; @Override protected void onCreate(Bundle savedInstanceState) { @@ -106,7 +109,7 @@ public class ActivityGame extends AppCompatActivity { try { soundManager = new SoundManager(this); } catch (Exception e) { soundManager = null; } - tvSequence = findViewById(R.id.tv_sequence); + tvStratagemName = findViewById(R.id.tv_stratagem_name); tvCounter = findViewById(R.id.tv_counter); btnUp = findViewById(R.id.btn_up); btnDown = findViewById(R.id.btn_down); @@ -130,16 +133,11 @@ public class ActivityGame extends AppCompatActivity { playerIndex = 0; juegoActivo = true; ultimosArrows = new String[sequence.length]; + ultimosArrowsStratagem = NAMES[idx]; - StringBuilder sb = new StringBuilder(); - for (int i = 0; i < sequence.length; i++) { - int dir = sequence[i]; - ultimosArrows[i] = ARROWS[dir]; - sb.append(ultimosArrows[i]).append(" "); - } - if (tvSequence != null) { - tvSequence.setText(sb.toString().trim()); - tvSequence.setTextColor(Color.parseColor("#FFD700")); + if (tvStratagemName != null) { + tvStratagemName.setText(ultimosArrowsStratagem); + tvStratagemName.setTextColor(Color.parseColor("#FFD700")); } handler.removeCallbacksAndMessages(null); @@ -159,7 +157,7 @@ public class ActivityGame extends AppCompatActivity { if (dir == sequence[playerIndex]) { playerIndex++; - if (tvSequence != null) { + if (tvStratagemName != null) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < sequence.length; i++) { if (i < playerIndex) { @@ -169,9 +167,9 @@ public class ActivityGame extends AppCompatActivity { } } try { - tvSequence.setText(android.text.Html.fromHtml(sb.toString())); + tvStratagemName.setText(android.text.Html.fromHtml(sb.toString())); } catch (Exception e) { - tvSequence.setText(sb.toString().replaceAll("<[^>]*>", "")); + tvStratagemName.setText(sb.toString().replaceAll("<[^>]*>", "")); } } @@ -181,9 +179,9 @@ public class ActivityGame extends AppCompatActivity { } completadas++; if (tvCounter != null) tvCounter.setText(String.valueOf(completadas)); - if (tvSequence != null) { - tvSequence.setText("OK!"); - tvSequence.setTextColor(Color.parseColor("#00FF00")); + if (tvStratagemName != null) { + tvStratagemName.setText("OK!"); + tvStratagemName.setTextColor(Color.parseColor("#00FF00")); } esperando = false; handler.postDelayed(this::nuevaRonda, 1200); @@ -192,9 +190,9 @@ public class ActivityGame extends AppCompatActivity { if (soundManager != null) { try { soundManager.playFailure(); } catch (Exception e) {} } - if (tvSequence != null) { - tvSequence.setText("X"); - tvSequence.setTextColor(Color.parseColor("#FF0000")); + if (tvStratagemName != null) { + tvStratagemName.setText("X"); + tvStratagemName.setTextColor(Color.parseColor("#FF0000")); } juegoActivo = false; handler.postDelayed(this::nuevaRonda, 1500); diff --git a/app/src/main/java/com/helldivers/app/MainActivity.java b/app/src/main/java/com/helldivers/app/MainActivity.java index 9fd4453..74daba7 100644 --- a/app/src/main/java/com/helldivers/app/MainActivity.java +++ b/app/src/main/java/com/helldivers/app/MainActivity.java @@ -4,75 +4,80 @@ import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; +import android.widget.ImageButton; +import android.widget.ImageView; import androidx.appcompat.app.AppCompatActivity; -/** - * Main Activity - Menu principal con tematica Helldivers 2 - * Optimizado para Samsung Galaxy S3 (720x1280 xhdpi, landscape) - */ public class MainActivity extends AppCompatActivity { private SoundManager soundManager; private Button btnQrInstagram; private Button btnMinijuego; + private ImageButton btnUp, btnDown, btnLeft, btnRight; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - // Inicializar SoundManager - soundManager = new SoundManager(this); - - // Referencias UI - btnQrInstagram = findViewById(R.id.btn_qr_instagram); - btnMinijuego = findViewById(R.id.btn_minijuego); - - if (btnQrInstagram == null || btnMinijuego == null) { - throw new RuntimeException("Button not found in layout"); + try { + soundManager = new SoundManager(this); + } catch (Exception e) { + soundManager = null; } - // Configurar listeners - btnQrInstagram.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - soundManager.playButtonClick(); - Intent intent = new Intent(MainActivity.this, ActivityQR.class); - startActivity(intent); - } - }); + btnQrInstagram = findViewById(R.id.btn_qr_instagram); + btnMinijuego = findViewById(R.id.btn_minijuego); + btnUp = findViewById(R.id.btn_up); + btnDown = findViewById(R.id.btn_down); + btnLeft = findViewById(R.id.btn_left); + btnRight = findViewById(R.id.btn_right); - btnMinijuego.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - soundManager.playButtonClick(); - Intent intent = new Intent(MainActivity.this, ActivityGame.class); - startActivity(intent); + if (btnQrInstagram != null) { + btnQrInstagram.setOnClickListener(v -> { + if (soundManager != null) { + try { soundManager.playButtonClick(); } catch (Exception e) {} + } + startActivity(new Intent(this, ActivityQR.class)); + }); + } + + if (btnMinijuego != null) { + btnMinijuego.setOnClickListener(v -> { + if (soundManager != null) { + try { soundManager.playButtonClick(); } catch (Exception e) {} + } + startActivity(new Intent(this, ActivityGame.class)); + }); + } + + View.OnClickListener arrowSoundListener = v -> { + if (soundManager != null) { + try { soundManager.playButtonClick(); } catch (Exception e) {} } - }); + }; + + if (btnUp != null) btnUp.setOnClickListener(arrowSoundListener); + if (btnDown != null) btnDown.setOnClickListener(arrowSoundListener); + if (btnLeft != null) btnLeft.setOnClickListener(arrowSoundListener); + if (btnRight != null) btnRight.setOnClickListener(arrowSoundListener); } @Override protected void onResume() { super.onResume(); - if (soundManager != null) { - soundManager.resume(); - } + if (soundManager != null) soundManager.resume(); } @Override protected void onPause() { super.onPause(); - if (soundManager != null) { - soundManager.pause(); - } + if (soundManager != null) soundManager.pause(); } @Override protected void onDestroy() { super.onDestroy(); - if (soundManager != null) { - soundManager.release(); - } + if (soundManager != null) soundManager.release(); } } \ No newline at end of file diff --git a/app/src/main/res/drawable/class_1.png b/app/src/main/res/drawable/class_1.png new file mode 100644 index 0000000..5a02116 Binary files /dev/null and b/app/src/main/res/drawable/class_1.png differ diff --git a/app/src/main/res/drawable/class_2.png b/app/src/main/res/drawable/class_2.png new file mode 100644 index 0000000..f90b2fd Binary files /dev/null and b/app/src/main/res/drawable/class_2.png differ diff --git a/app/src/main/res/drawable/class_3.png b/app/src/main/res/drawable/class_3.png new file mode 100644 index 0000000..3cf406b Binary files /dev/null and b/app/src/main/res/drawable/class_3.png differ diff --git a/app/src/main/res/drawable/class_4.png b/app/src/main/res/drawable/class_4.png new file mode 100644 index 0000000..71b6dcf Binary files /dev/null and b/app/src/main/res/drawable/class_4.png differ diff --git a/app/src/main/res/drawable/class_5.png b/app/src/main/res/drawable/class_5.png new file mode 100644 index 0000000..1239d39 Binary files /dev/null and b/app/src/main/res/drawable/class_5.png differ diff --git a/app/src/main/res/drawable/class_6.png b/app/src/main/res/drawable/class_6.png new file mode 100644 index 0000000..a5e1749 Binary files /dev/null and b/app/src/main/res/drawable/class_6.png differ diff --git a/app/src/main/res/drawable/class_7.png b/app/src/main/res/drawable/class_7.png new file mode 100644 index 0000000..a259fa7 Binary files /dev/null and b/app/src/main/res/drawable/class_7.png differ diff --git a/app/src/main/res/drawable/defensive_1.png b/app/src/main/res/drawable/defensive_1.png new file mode 100644 index 0000000..4d19cba Binary files /dev/null and b/app/src/main/res/drawable/defensive_1.png differ diff --git a/app/src/main/res/drawable/defensive_10.png b/app/src/main/res/drawable/defensive_10.png new file mode 100644 index 0000000..b152a34 Binary files /dev/null and b/app/src/main/res/drawable/defensive_10.png differ diff --git a/app/src/main/res/drawable/defensive_11.png b/app/src/main/res/drawable/defensive_11.png new file mode 100644 index 0000000..2fbabd4 Binary files /dev/null and b/app/src/main/res/drawable/defensive_11.png differ diff --git a/app/src/main/res/drawable/defensive_2.png b/app/src/main/res/drawable/defensive_2.png new file mode 100644 index 0000000..a469448 Binary files /dev/null and b/app/src/main/res/drawable/defensive_2.png differ diff --git a/app/src/main/res/drawable/defensive_3.png b/app/src/main/res/drawable/defensive_3.png new file mode 100644 index 0000000..3b55be4 Binary files /dev/null and b/app/src/main/res/drawable/defensive_3.png differ diff --git a/app/src/main/res/drawable/defensive_4.png b/app/src/main/res/drawable/defensive_4.png new file mode 100644 index 0000000..4981a20 Binary files /dev/null and b/app/src/main/res/drawable/defensive_4.png differ diff --git a/app/src/main/res/drawable/defensive_5.png b/app/src/main/res/drawable/defensive_5.png new file mode 100644 index 0000000..52e8916 Binary files /dev/null and b/app/src/main/res/drawable/defensive_5.png differ diff --git a/app/src/main/res/drawable/defensive_6.png b/app/src/main/res/drawable/defensive_6.png new file mode 100644 index 0000000..9db2078 Binary files /dev/null and b/app/src/main/res/drawable/defensive_6.png differ diff --git a/app/src/main/res/drawable/defensive_7.png b/app/src/main/res/drawable/defensive_7.png new file mode 100644 index 0000000..1e5cf71 Binary files /dev/null and b/app/src/main/res/drawable/defensive_7.png differ diff --git a/app/src/main/res/drawable/defensive_8.png b/app/src/main/res/drawable/defensive_8.png new file mode 100644 index 0000000..af450de Binary files /dev/null and b/app/src/main/res/drawable/defensive_8.png differ diff --git a/app/src/main/res/drawable/defensive_9.png b/app/src/main/res/drawable/defensive_9.png new file mode 100644 index 0000000..cf6ffd8 Binary files /dev/null and b/app/src/main/res/drawable/defensive_9.png differ diff --git a/app/src/main/res/drawable/hd_logo.png b/app/src/main/res/drawable/hd_logo.png new file mode 100644 index 0000000..7a2306c Binary files /dev/null and b/app/src/main/res/drawable/hd_logo.png differ diff --git a/app/src/main/res/drawable/offensive_1.png b/app/src/main/res/drawable/offensive_1.png new file mode 100644 index 0000000..b1aff8b Binary files /dev/null and b/app/src/main/res/drawable/offensive_1.png differ diff --git a/app/src/main/res/drawable/offensive_10.png b/app/src/main/res/drawable/offensive_10.png new file mode 100644 index 0000000..55382cf Binary files /dev/null and b/app/src/main/res/drawable/offensive_10.png differ diff --git a/app/src/main/res/drawable/offensive_11.png b/app/src/main/res/drawable/offensive_11.png new file mode 100644 index 0000000..39fc48c Binary files /dev/null and b/app/src/main/res/drawable/offensive_11.png differ diff --git a/app/src/main/res/drawable/offensive_12.png b/app/src/main/res/drawable/offensive_12.png new file mode 100644 index 0000000..094f4c8 Binary files /dev/null and b/app/src/main/res/drawable/offensive_12.png differ diff --git a/app/src/main/res/drawable/offensive_13.png b/app/src/main/res/drawable/offensive_13.png new file mode 100644 index 0000000..142f359 Binary files /dev/null and b/app/src/main/res/drawable/offensive_13.png differ diff --git a/app/src/main/res/drawable/offensive_14.png b/app/src/main/res/drawable/offensive_14.png new file mode 100644 index 0000000..a553c83 Binary files /dev/null and b/app/src/main/res/drawable/offensive_14.png differ diff --git a/app/src/main/res/drawable/offensive_15.png b/app/src/main/res/drawable/offensive_15.png new file mode 100644 index 0000000..5f749d7 Binary files /dev/null and b/app/src/main/res/drawable/offensive_15.png differ diff --git a/app/src/main/res/drawable/offensive_16.png b/app/src/main/res/drawable/offensive_16.png new file mode 100644 index 0000000..6a01085 Binary files /dev/null and b/app/src/main/res/drawable/offensive_16.png differ diff --git a/app/src/main/res/drawable/offensive_17.png b/app/src/main/res/drawable/offensive_17.png new file mode 100644 index 0000000..c5686af Binary files /dev/null and b/app/src/main/res/drawable/offensive_17.png differ diff --git a/app/src/main/res/drawable/offensive_18.png b/app/src/main/res/drawable/offensive_18.png new file mode 100644 index 0000000..b29634a Binary files /dev/null and b/app/src/main/res/drawable/offensive_18.png differ diff --git a/app/src/main/res/drawable/offensive_2.png b/app/src/main/res/drawable/offensive_2.png new file mode 100644 index 0000000..90aa2b9 Binary files /dev/null and b/app/src/main/res/drawable/offensive_2.png differ diff --git a/app/src/main/res/drawable/offensive_3.png b/app/src/main/res/drawable/offensive_3.png new file mode 100644 index 0000000..f0d909b Binary files /dev/null and b/app/src/main/res/drawable/offensive_3.png differ diff --git a/app/src/main/res/drawable/offensive_4.png b/app/src/main/res/drawable/offensive_4.png new file mode 100644 index 0000000..9a6e8cd Binary files /dev/null and b/app/src/main/res/drawable/offensive_4.png differ diff --git a/app/src/main/res/drawable/offensive_5.png b/app/src/main/res/drawable/offensive_5.png new file mode 100644 index 0000000..1b02a99 Binary files /dev/null and b/app/src/main/res/drawable/offensive_5.png differ diff --git a/app/src/main/res/drawable/offensive_6.png b/app/src/main/res/drawable/offensive_6.png new file mode 100644 index 0000000..a6b2e85 Binary files /dev/null and b/app/src/main/res/drawable/offensive_6.png differ diff --git a/app/src/main/res/drawable/offensive_7.png b/app/src/main/res/drawable/offensive_7.png new file mode 100644 index 0000000..81a3e53 Binary files /dev/null and b/app/src/main/res/drawable/offensive_7.png differ diff --git a/app/src/main/res/drawable/offensive_8.png b/app/src/main/res/drawable/offensive_8.png new file mode 100644 index 0000000..b7ef5e7 Binary files /dev/null and b/app/src/main/res/drawable/offensive_8.png differ diff --git a/app/src/main/res/drawable/offensive_9.png b/app/src/main/res/drawable/offensive_9.png new file mode 100644 index 0000000..48841e4 Binary files /dev/null and b/app/src/main/res/drawable/offensive_9.png differ diff --git a/app/src/main/res/drawable/stepbakcward.png b/app/src/main/res/drawable/stepbakcward.png new file mode 100644 index 0000000..fad4dc1 Binary files /dev/null and b/app/src/main/res/drawable/stepbakcward.png differ diff --git a/app/src/main/res/drawable/stepforward.png b/app/src/main/res/drawable/stepforward.png new file mode 100644 index 0000000..5525c36 Binary files /dev/null and b/app/src/main/res/drawable/stepforward.png differ diff --git a/app/src/main/res/drawable/stratagemas_icon.png b/app/src/main/res/drawable/stratagemas_icon.png new file mode 100644 index 0000000..b93fd44 Binary files /dev/null and b/app/src/main/res/drawable/stratagemas_icon.png differ diff --git a/app/src/main/res/drawable/supply_1.png b/app/src/main/res/drawable/supply_1.png new file mode 100644 index 0000000..c82de9d Binary files /dev/null and b/app/src/main/res/drawable/supply_1.png differ diff --git a/app/src/main/res/drawable/supply_10.png b/app/src/main/res/drawable/supply_10.png new file mode 100644 index 0000000..4801f63 Binary files /dev/null and b/app/src/main/res/drawable/supply_10.png differ diff --git a/app/src/main/res/drawable/supply_11.png b/app/src/main/res/drawable/supply_11.png new file mode 100644 index 0000000..56ef87b Binary files /dev/null and b/app/src/main/res/drawable/supply_11.png differ diff --git a/app/src/main/res/drawable/supply_12.png b/app/src/main/res/drawable/supply_12.png new file mode 100644 index 0000000..6c999ce Binary files /dev/null and b/app/src/main/res/drawable/supply_12.png differ diff --git a/app/src/main/res/drawable/supply_13.png b/app/src/main/res/drawable/supply_13.png new file mode 100644 index 0000000..9a326ae Binary files /dev/null and b/app/src/main/res/drawable/supply_13.png differ diff --git a/app/src/main/res/drawable/supply_14.png b/app/src/main/res/drawable/supply_14.png new file mode 100644 index 0000000..ab4e8d4 Binary files /dev/null and b/app/src/main/res/drawable/supply_14.png differ diff --git a/app/src/main/res/drawable/supply_15.png b/app/src/main/res/drawable/supply_15.png new file mode 100644 index 0000000..6734f97 Binary files /dev/null and b/app/src/main/res/drawable/supply_15.png differ diff --git a/app/src/main/res/drawable/supply_16.png b/app/src/main/res/drawable/supply_16.png new file mode 100644 index 0000000..49ee812 Binary files /dev/null and b/app/src/main/res/drawable/supply_16.png differ diff --git a/app/src/main/res/drawable/supply_17.png b/app/src/main/res/drawable/supply_17.png new file mode 100644 index 0000000..09fd841 Binary files /dev/null and b/app/src/main/res/drawable/supply_17.png differ diff --git a/app/src/main/res/drawable/supply_18.png b/app/src/main/res/drawable/supply_18.png new file mode 100644 index 0000000..aca2074 Binary files /dev/null and b/app/src/main/res/drawable/supply_18.png differ diff --git a/app/src/main/res/drawable/supply_19.png b/app/src/main/res/drawable/supply_19.png new file mode 100644 index 0000000..01eae4f Binary files /dev/null and b/app/src/main/res/drawable/supply_19.png differ diff --git a/app/src/main/res/drawable/supply_2.png b/app/src/main/res/drawable/supply_2.png new file mode 100644 index 0000000..35c4763 Binary files /dev/null and b/app/src/main/res/drawable/supply_2.png differ diff --git a/app/src/main/res/drawable/supply_3.png b/app/src/main/res/drawable/supply_3.png new file mode 100644 index 0000000..44bdef2 Binary files /dev/null and b/app/src/main/res/drawable/supply_3.png differ diff --git a/app/src/main/res/drawable/supply_4.png b/app/src/main/res/drawable/supply_4.png new file mode 100644 index 0000000..e169c54 Binary files /dev/null and b/app/src/main/res/drawable/supply_4.png differ diff --git a/app/src/main/res/drawable/supply_5.png b/app/src/main/res/drawable/supply_5.png new file mode 100644 index 0000000..0fc660c Binary files /dev/null and b/app/src/main/res/drawable/supply_5.png differ diff --git a/app/src/main/res/drawable/supply_6.png b/app/src/main/res/drawable/supply_6.png new file mode 100644 index 0000000..1b37d06 Binary files /dev/null and b/app/src/main/res/drawable/supply_6.png differ diff --git a/app/src/main/res/drawable/supply_7.png b/app/src/main/res/drawable/supply_7.png new file mode 100644 index 0000000..8882c2c Binary files /dev/null and b/app/src/main/res/drawable/supply_7.png differ diff --git a/app/src/main/res/drawable/supply_8.png b/app/src/main/res/drawable/supply_8.png new file mode 100644 index 0000000..4ccb0b0 Binary files /dev/null and b/app/src/main/res/drawable/supply_8.png differ diff --git a/app/src/main/res/drawable/supply_9.png b/app/src/main/res/drawable/supply_9.png new file mode 100644 index 0000000..51b0992 Binary files /dev/null and b/app/src/main/res/drawable/supply_9.png differ diff --git a/app/src/main/res/drawable/support_1.png b/app/src/main/res/drawable/support_1.png new file mode 100644 index 0000000..e03c640 Binary files /dev/null and b/app/src/main/res/drawable/support_1.png differ diff --git a/app/src/main/res/drawable/support_10.png b/app/src/main/res/drawable/support_10.png new file mode 100644 index 0000000..3144f9f Binary files /dev/null and b/app/src/main/res/drawable/support_10.png differ diff --git a/app/src/main/res/drawable/support_2.png b/app/src/main/res/drawable/support_2.png new file mode 100644 index 0000000..67a788f Binary files /dev/null and b/app/src/main/res/drawable/support_2.png differ diff --git a/app/src/main/res/drawable/support_3.png b/app/src/main/res/drawable/support_3.png new file mode 100644 index 0000000..5aa6fed Binary files /dev/null and b/app/src/main/res/drawable/support_3.png differ diff --git a/app/src/main/res/drawable/support_4.png b/app/src/main/res/drawable/support_4.png new file mode 100644 index 0000000..2b52f20 Binary files /dev/null and b/app/src/main/res/drawable/support_4.png differ diff --git a/app/src/main/res/drawable/support_5.png b/app/src/main/res/drawable/support_5.png new file mode 100644 index 0000000..b9add76 Binary files /dev/null and b/app/src/main/res/drawable/support_5.png differ diff --git a/app/src/main/res/drawable/support_6.png b/app/src/main/res/drawable/support_6.png new file mode 100644 index 0000000..27ddcb6 Binary files /dev/null and b/app/src/main/res/drawable/support_6.png differ diff --git a/app/src/main/res/drawable/support_7.png b/app/src/main/res/drawable/support_7.png new file mode 100644 index 0000000..9cb1bf8 Binary files /dev/null and b/app/src/main/res/drawable/support_7.png differ diff --git a/app/src/main/res/drawable/support_8.png b/app/src/main/res/drawable/support_8.png new file mode 100644 index 0000000..64da808 Binary files /dev/null and b/app/src/main/res/drawable/support_8.png differ diff --git a/app/src/main/res/drawable/support_9.png b/app/src/main/res/drawable/support_9.png new file mode 100644 index 0000000..03dcf2f Binary files /dev/null and b/app/src/main/res/drawable/support_9.png differ diff --git a/app/src/main/res/layout/activity_game.xml b/app/src/main/res/layout/activity_game.xml index 301cdb2..df22a2d 100644 --- a/app/src/main/res/layout/activity_game.xml +++ b/app/src/main/res/layout/activity_game.xml @@ -17,40 +17,48 @@ android:textStyle="bold" android:textColor="#00FF00" /> - - + + + + + android:orientation="horizontal" + android:gravity="center" /> - + @@ -61,16 +69,16 @@ android:layout_row="0" android:layout_column="0" /> -