correcao de erros
This commit is contained in:
@@ -63,7 +63,8 @@ public class MainActivity extends AppCompatActivity {
|
||||
// Passing each menu ID as a set of Ids because each
|
||||
// menu should be considered as top level destinations.
|
||||
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)
|
||||
.build();
|
||||
NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_content_main);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="45'"
|
||||
android:textColor="@color/holo_red_dark"
|
||||
android:textColor="@android:color/holo_red_dark"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@@ -27,7 +27,17 @@
|
||||
android:id="@+id/nav_live_games"
|
||||
android:name="com.example.vdcscore.ui.livegames.LiveGamesFragment"
|
||||
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
|
||||
android:id="@+id/nav_clubs"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<string name="menu_gallery">Jornadas</string>
|
||||
<string name="menu_definicoes">Definições</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>
|
||||
|
||||
<!-- Profile Strings -->
|
||||
|
||||
Reference in New Issue
Block a user