Comments (4)
All the attributes defined in the Android-ContactPicker/library/src/main/res/values/attrs.xml file.
You could just copy the style definition from the demo app.
from android-contactpicker.
I have copied this style theme. It is still giving an error.
<style name="Theme_Light_Base" parent="@style/ContactPicker_Theme_Light">
<!-- ActionBarCompat -->
<item name="colorPrimary">@color/colorPrimary_light</item>
<item name="colorAccent">@color/colorAccent_light</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark_light</item>
<item name="backgroundColor">@color/background_light</item>
<item name="icTheme">@drawable/ic_palette_black_36dp</item>
<item name="icPickContact">@drawable/ic_person_add_black_36dp</item>
</style>
<style name="Theme_Light" parent="@style/Theme_Light_Base"/>
error:
Error:(2442, 21) No resource found that matches the given name: attr 'backgroundColor'.
Error:(2444, 21) No resource found that matches the given name: attr 'icPickContact'.
Error:(2443, 21) No resource found that matches the given name: attr 'icTheme'.
Error:(2442, 21) No resource found that matches the given name: attr 'backgroundColor'.
Error:(2444, 21) No resource found that matches the given name: attr 'icPickContact'.
Error:(2443, 21) No resource found that matches the given name: attr 'icTheme'.
from android-contactpicker.
backgroundColor, icPickContact and icTheme are your own custom attributes and have nothing to do with the library. Please read this to solve your compile issues: https://developer.android.com/guide/topics/ui/themes.html.
from android-contactpicker.
There was a typo in one the the style definitions, try the new version 1.3.2
from android-contactpicker.
Related Issues (20)
- Application Gives a black screen
- Dual scrollbar in contact list HOT 1
- Activity hangs when contacts are more than 1000 or 1500 and ultimately crashes
- Phone and email type
- onActivityResult not called
- How to display contact number only in textview HOT 1
- Release request for version greater than 1.3.2
- send some contacts to be checked in contactpicker view
- How to tell if Contact has HOME or WORK email?
- Feature request: show only contacts that have a mail address HOT 1
- EXTRA_PRESELECTED_CONTACTS NOT WORKING
- Crashes with "No virtual method setOnTabSelectedListener" HOT 3
- Getting data null in onActivityResult()
- Obtain note, website, company from Contact HOT 1
- Selected Contacts get truncated when more than 20
- does not work in androidx HOT 1
- NullPointerException
- Autocomplete
- getPhone(0) not working
- Could not find method compile (error in build.gradle project-level)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-contactpicker.