-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build breaks with support library 23.0.0 #226
Comments
Same problem occurred. So I made a deal with provisional.
Fix1https://github.com/square/android-times-square/blob/master/library/res/values/attrs.xml#L8 <attr name="titleTextColor2" format="color"/> Fix2titleTextColor = a.getColor(R.styleable.CalendarPickerView_titleTextColor2, |
Same problem here. Wouldn't it better to prefix all custom attributes in order to avoid this kind of conflict? |
Same problem. Agree with @freezy. Took me forever to find the cause. |
Merged @niqo01's PR. Working on getting a 1.6.3 release out now. |
Released 1.6.3. It'll take a little time to propogate out into maven central. |
My app is crashing. I don't understand why though. I don't think I am styling CalendarPickerView. Here is my test case: BugTest.java package com.vahdat.gastricbypasssupport;
import android.os.Bundle;
import com.vahdat.gastricbypasssupport.ui.ActionBarBaseActivity;
public class BugTest extends ActionBarBaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_bug_test);
}
} activity_bug_test.xml <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.squareup.timessquare.CalendarPickerView
android:id="@+id/calendar_view"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
/>
</LinearLayout> Stack trace
|
Thanks for the quick fix, works well here. Cheers! |
@NeverGivinUp this looks unrelated. Can you please upload your entire test project and file a new issue please? |
@edenman I have a similar error, created new issue, because lost this PR somehow and couldn't write here. (In fact, just mistakenly thought this issue was a PR) |
@ryugoo, thanks for work around! |
if just rename it,we maybe not ask this question. |
Combining this library with the new support library, fail the build since both libraries declare the attribute titleTextColor Attribute "titleTextColor" has already been defined
The text was updated successfully, but these errors were encountered: