我正在尝试设置默认电子邮件地址,将存储来自我的 android 应用程序的反馈,我可以让他们阅读。但是,我无法做到。另外,您能否建议我其他更好的方法来存储来自您的应用程序用户的反馈,以便我以后阅读?
这是我的代码:
活动_main.xml
<RelativeLayout android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent">
<Button
android:id="@+id/feedback"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:text="@string/feedback"
android:textColor="#26A69A" />
</RelativeLayout>
反馈文件
<?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="wrap_content"
android:background="#D0ECE7 "
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="54dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:text="@string/ftitle"
android:textColor="#26A69A"
android:textSize="30sp"
android:textStyle="bold" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:text="@string/feed"
android:textSize="20sp"
android:textStyle="bold" />
<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="62dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:ems="10"
android:hint="Write Here"
android:background="#ffffff"
android:inputType="textPersonName"
android:textColor="#26A69A"
android:textColorLink="#26A69A" />
慕田峪7331174
相关分类