mirror of
https://github.com/leanote/leanote-android.git
synced 2026-01-14 07:00:23 +08:00
add feed back option in about page
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -73,4 +73,5 @@
|
||||
<string name="version">版本</string>
|
||||
<string name="yes">是</string>
|
||||
<string name="about">关于</string>
|
||||
<string name="feedback">反馈</string>
|
||||
</resources>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user