correcao de erros

This commit is contained in:
2026-01-20 14:57:35 +00:00
parent b297ff0e6e
commit ca26b8e146
4 changed files with 15 additions and 3 deletions

View File

@@ -63,7 +63,8 @@ public class MainActivity extends AppCompatActivity {
// Passing each menu ID as a set of Ids because each // Passing each menu ID as a set of Ids because each
// menu should be considered as top level destinations. // menu should be considered as top level destinations.
mAppBarConfiguration = new AppBarConfiguration.Builder( mAppBarConfiguration = new AppBarConfiguration.Builder(
R.id.nav_home, R.id.nav_gallery, R.id.nav_definicoes) R.id.nav_home, R.id.nav_gallery, R.id.nav_definicoes,
R.id.nav_live_games, R.id.nav_clubs)
.setOpenableLayout(drawer) .setOpenableLayout(drawer)
.build(); .build();
NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_content_main); NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_content_main);

View File

@@ -17,7 +17,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="45'" android:text="45'"
android:textColor="@color/holo_red_dark" android:textColor="@android:color/holo_red_dark"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

View File

@@ -27,7 +27,17 @@
android:id="@+id/nav_live_games" android:id="@+id/nav_live_games"
android:name="com.example.vdcscore.ui.livegames.LiveGamesFragment" android:name="com.example.vdcscore.ui.livegames.LiveGamesFragment"
android:label="@string/menu_live_games" android:label="@string/menu_live_games"
tools:layout="@layout/fragment_live_games" /> tools:layout="@layout/fragment_live_games">
<action
android:id="@+id/action_nav_live_games_to_nav_live_game_detail"
app:destination="@id/nav_live_game_detail" />
</fragment>
<fragment
android:id="@+id/nav_live_game_detail"
android:name="com.example.vdcscore.ui.livegames.LiveGameDetailFragment"
android:label="@string/title_live_game_detail"
tools:layout="@layout/fragment_live_game_detail" />
<fragment <fragment
android:id="@+id/nav_clubs" android:id="@+id/nav_clubs"

View File

@@ -12,6 +12,7 @@
<string name="menu_gallery">Jornadas</string> <string name="menu_gallery">Jornadas</string>
<string name="menu_definicoes">Definições</string> <string name="menu_definicoes">Definições</string>
<string name="menu_live_games">Jogos ao Vivo</string> <string name="menu_live_games">Jogos ao Vivo</string>
<string name="title_live_game_detail">Detalhes do Jogo</string>
<string name="menu_clubs">Clubes</string> <string name="menu_clubs">Clubes</string>
<!-- Profile Strings --> <!-- Profile Strings -->