add feed back option in about page

This commit is contained in:
houxg
2016-12-22 13:34:02 +08:00
parent 22f21f2651
commit a8076bfc55
4 changed files with 22 additions and 0 deletions

View File

@@ -83,4 +83,9 @@ public class AboutActivity extends BaseActivity {
OpenUtils.openUrl(this, "https://github.com/houxg/Leamonax");
}
@OnClick(R.id.ll_feedback)
void clickedFeedback() {
OpenUtils.openUrl(this, "https://github.com/houxg/Leamonax/issues");
}
}

View File

@@ -120,6 +120,21 @@
<include layout="@layout/divider" />
<LinearLayout
android:id="@+id/ll_feedback"
style="@style/SettingsPanel"
android:orientation="vertical">
<TextView
style="@style/SettingsSecondaryText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/feedback" />
</LinearLayout>
<include layout="@layout/divider" />
<LinearLayout
android:id="@+id/ll_debug"
android:layout_width="match_parent"

View File

@@ -73,4 +73,5 @@
<string name="version">版本</string>
<string name="yes"></string>
<string name="about">关于</string>
<string name="feedback">反馈</string>
</resources>

View File

@@ -72,4 +72,5 @@
<string name="parse_error">Parse error</string>
<string name="parsing_html">Parsing HTML</string>
<string name="select_notebook">Select notebook</string>
<string name="feedback">Feedback</string>
</resources>