Skip to content

Commit

Permalink
Remove SystemBarTintManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Parsani committed Oct 23, 2014
1 parent 61fbcc2 commit c1dbc95
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ dependencies {
compile 'com.android.support:palette-v7:21.0.0'
compile 'com.makeramen:roundedimageview:1.3.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
compile 'com.caverock:androidsvg:1.2.1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.example.android.io2014.ui.Utils;
import com.nineoldandroids.view.ViewHelper;
import com.nineoldandroids.view.ViewPropertyAnimator;
import com.readystatesoftware.systembartint.SystemBarTintManager;

public class MainActivity extends ActionBarActivity {

Expand All @@ -41,12 +40,6 @@ protected void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.activity_main);
getSupportActionBar().setHomeButtonEnabled(false);

// For translucency on KitKat
SystemBarTintManager tintManager = new SystemBarTintManager(this);
tintManager.setStatusBarTintEnabled(true);
tintManager.setNavigationBarTintEnabled(true);
tintManager.setTintColor(getResources().getColor(R.color.theme_default_primary_dark));

// Used to get the dimensions of the image views to load scaled down bitmaps
final View parent = findViewById(R.id.parent);
parent.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fitsSystemWindows="true"

tools:context=".MainActivity">

Expand Down

0 comments on commit c1dbc95

Please sign in to comment.