为了账号安全,请及时绑定邮箱和手机立即绑定

设置默认电子邮件或其他地址以获取用户反馈

设置默认电子邮件或其他地址以获取用户反馈

狐的传说 2021-07-09 14:11:48
我正在尝试设置默认电子邮件地址,将存储来自我的 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" />
查看完整描述

3 回答

?
慕田峪7331174

TA贡献1828条经验 获得超13个赞

一个简单的解决方案是使用具有以下属性的TextViewin aNavigation Drawer或 in an About activity

android:autoLink="email"
android:text="youremail@host.com"

有了这个,用户只需点击您的电子邮件,邮件应用程序就会启动...
至于其他部分,请确保您不要泄露您的个人电子邮件。
最好使用专业电子邮件或专门针对该应用程序的电子邮件。


查看完整回答
反对 回复 2021-07-23
  • 3 回答
  • 0 关注
  • 130 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信