Skip to content

Commit

Permalink
homescreen fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
gnemade51 committed Jul 20, 2020
1 parent f9640b5 commit 89bafca
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ public class LoginScreen extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if(getSupportActionBar()!=null){
getSupportActionBar().hide();
}
setContentView(R.layout.activity_login_screen);
Button button=(Button)findViewById(R.id.login_button);
button.setOnClickListener(new View.OnClickListener()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ public class MainScreen extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if(getSupportActionBar()!=null){
getSupportActionBar().hide();
}
setContentView(R.layout.activity_main_screen);
Fragment home_fragment;
home_fragment = new HomeFragment();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ public class SplashScreen extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if(getSupportActionBar()!=null){
getSupportActionBar().hide();
}
setContentView(R.layout.activity_splash_screen);
splash_screen_layout=(LinearLayout)findViewById(R.id.splash_screen_layout);
splash_screen_layout.setOnClickListener(new View.OnClickListener() {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
Expand Down

0 comments on commit 89bafca

Please sign in to comment.