Loading src/com/android/contacts/activities/ContactEditorActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.provider.ContactsContract.QuickContact; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.View; import android.view.WindowManager; import android.view.inputmethod.InputMethodManager; import com.android.contacts.AppCompatContactsActivity; Loading Loading @@ -393,6 +394,7 @@ public class ContactEditorActivity extends AppCompatContactsActivity implements } this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading src/com/android/contacts/activities/ContactSelectionActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.view.View.OnFocusChangeListener; import android.view.WindowManager; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; Loading Loading @@ -136,6 +137,7 @@ public class ContactSelectionActivity extends AppCompatContactsActivity implemen configureActivityTitle(); this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading src/com/android/contacts/activities/LicenseActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.view.View; import android.view.WindowManager; import android.webkit.WebView; import com.android.contacts.R; Loading @@ -44,6 +45,7 @@ public class LicenseActivity extends AppCompatActivity { actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); } this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading src/com/android/contacts/activities/PeopleActivity.java +2 −3 Original line number Diff line number Diff line Loading @@ -1326,12 +1326,11 @@ public class PeopleActivity extends AppCompatContactsActivity implements private int fetchAccentColor() { this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); // this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); // this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); // this.getWindow().getDecorView().setSystemUiVisibility(SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR); this.getWindow().setFlags(SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR); //,WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); int color=getResources().getColor(R.color.accent); color_default_primary_text=getResources().getColor(R.color.color_default_primary_text); Loading src/com/android/contacts/list/AccountFilterActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.view.WindowManager; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.ListView; Loading Loading @@ -94,6 +95,7 @@ public class AccountFilterActivity extends Activity implements AdapterView.OnIte ContactListFilter.FILTER_TYPE_CUSTOM)); mListView.setAdapter(new FilterListAdapter(this, filters, mCurrentFilterType)); this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading Loading
src/com/android/contacts/activities/ContactEditorActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.provider.ContactsContract.QuickContact; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.View; import android.view.WindowManager; import android.view.inputmethod.InputMethodManager; import com.android.contacts.AppCompatContactsActivity; Loading Loading @@ -393,6 +394,7 @@ public class ContactEditorActivity extends AppCompatContactsActivity implements } this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading
src/com/android/contacts/activities/ContactSelectionActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.view.View.OnFocusChangeListener; import android.view.WindowManager; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; Loading Loading @@ -136,6 +137,7 @@ public class ContactSelectionActivity extends AppCompatContactsActivity implemen configureActivityTitle(); this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading
src/com/android/contacts/activities/LicenseActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.view.View; import android.view.WindowManager; import android.webkit.WebView; import com.android.contacts.R; Loading @@ -44,6 +45,7 @@ public class LicenseActivity extends AppCompatActivity { actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); } this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading
src/com/android/contacts/activities/PeopleActivity.java +2 −3 Original line number Diff line number Diff line Loading @@ -1326,12 +1326,11 @@ public class PeopleActivity extends AppCompatContactsActivity implements private int fetchAccentColor() { this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); // this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); // this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); // this.getWindow().getDecorView().setSystemUiVisibility(SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR); this.getWindow().setFlags(SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR); //,WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); int color=getResources().getColor(R.color.accent); color_default_primary_text=getResources().getColor(R.color.color_default_primary_text); Loading
src/com/android/contacts/list/AccountFilterActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.view.WindowManager; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.ListView; Loading Loading @@ -94,6 +95,7 @@ public class AccountFilterActivity extends Activity implements AdapterView.OnIte ContactListFilter.FILTER_TYPE_CUSTOM)); mListView.setAdapter(new FilterListAdapter(this, filters, mCurrentFilterType)); this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); //this.getWindow().setNavigationBarColor(R.color.expanding_entry_card_button_text_color); } Loading