正如你在图片中看到的,我有一个黑色背景和白色文本的Android应用程序.然而实际上有一个"显示文本"图标看起来像一个"眼睛",它也是黑色的:(.有没有办法改变这个颜色?
activity_login.xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fitsSystemWindows="true"
android:background="@color/black">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="56dp"
android:paddingLeft="24dp"
android:paddingRight="24dp">
<ImageView android:src="@drawable/logo"
android:layout_width="wrap_content"
android:layout_height="72dp"
android:layout_marginBottom="24dp"
android:layout_gravity="center_horizontal" />
<!-- Email Label -->
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:textColorHint="#ffffff">
<EditText android:id="@+id/input_email"
android:theme="@style/MyEditTextTheme"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:hint="E-Mail Address"/>
</android.support.design.widget.TextInputLayout>
<!-- Password Label -->
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:textColor="#ffffff"
android:textColorHint="#ffffff">
<EditText android:id="@+id/input_password"
android:theme="@style/MyEditTextTheme"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="Password"/>
</android.support.design.widget.TextInputLayout>
<android.support.v7.widget.AppCompatButton
android:id="@+id/btn_login"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:layout_marginBottom="24dp"
android:padding="12dp"
android:text="Login"/>
<TextView android:id="@+id/link_signup"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:text="No account yet? Create …Run Code Online (Sandbox Code Playgroud) 当有人试图在他们的日历上提交事件以保存到服务器时,我收到错误.感谢您的帮助,谢谢您的时间!如果您需要更多具体信息,请告诉我.
更新:当我通过fullcalendar中的drop功能将事件添加到日历时,我自己从推送切换到数组,然后它工作正常,但我遇到了该代码的问题所以我使用了来自fullcalendar的clientevents而现在我我收到这个错误.关于修复可能是什么的任何想法?
我收到以下错误:
未捕获的TypeError:无法在V(jquery-1.11.3.min.js:5)的V(jquery-1.11.3.min.js)读取D(moment.min.js:6)的未定义属性'_calendar': 5)在Vb(jquery-1.11.3.min.js:5)处于Vb(jquery-1.11.3.min.js:5)的Function.m.param(jquery-1.11.3.min.js:5) )
在Object的Function.ajax(jquery-1.11.3.min.js:5)处.(日历:514)位于Object.success的Function.each(jquery-1.11.3.min.js:2)(日历:500)
companyCalendar.blade.php
var emailContainer = {};
emailContainer.email = email;
console.log("AJAX call here to submit dropped events as guest.");
$.ajax({
type: "POST",
url: '/partialAccountCheck',
data: emailContainer,
success: function (data) {
console.log('success, proceed with adding events to the company calendar');
$.each(newEvents, function (i, event) {
if (event.title !== 'undefined' && event.title !== null && event.title !== undefined) {
console.log(JSON.stringify(event));
event.start = moment(event.start).toDate();
event.end = moment(event.end).toDate();
event.start = formatDate(event.start) + ' ' + event.start.getHours() + ':' …Run Code Online (Sandbox Code Playgroud)