![]() ![]() So I tried modifying the "?android:attr/activatedBackgroundIndicator" at the theme level but it has no effect for checked/selected/activated but it does for pressed. So the text view used for the listview is one within the SDK it looks like this: So if anyone knows where the activatedBackgroundIndicator could be put so that it would be used in getActionBar.getThemedContext() I think the themed context should be used. I've also realised if I the main part of my theme and change getActionBar().getThemedContext() for getActivity.getBaseContext then I can change the color but I don't think this is the correct way. I've tried a few different attributes with no luck. I've been examining this more and when the adapter is created the context that is passed is getActionBar().getThemedContext() so I'm thinking if I can find the right attribute to assign to my actionbar style I can change it from there. state_pressed works in this situation but the currently selected item is still blue. I've tried numerous things, I'm currently using a listSelector which looks like: Import .I used Android Studio to implement the Navigation Drawer and I can't get the blue colour that is used to show which section we're currently in to change. In case of ios, make sure cocoapods installed and run the following commands:Īs a last step of installation, do following changes in your MainActivity.java file as given below. Now, install react native gesture handler in your project using the command:Īs I am using react native version greater than 0.60, I don’t need to link react native gesture handler manually. In this blog post I will walk you through how to create a navigation drawer with custom content component in react native using navigation library react navigation.įirst of all add react navigation library to your react native project using the following command: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |