Cherish:Add about team
This commit is contained in:
114
res/xml/cherish_about.xml
Normal file
114
res/xml/cherish_about.xml
Normal file
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2020 CherishOS
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/about_cherish">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="about"
|
||||
android:title="@string/about_info" >
|
||||
<Preference
|
||||
android:summary="@string/about_info_summary" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/cherish_web_link" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="social"
|
||||
android:title="@string/social_header" >
|
||||
|
||||
<Preference
|
||||
android:title="@string/cherish_web"
|
||||
android:summary="@string/cherish_web_description"
|
||||
android:icon="@drawable/ic_social_web" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/cherish_web_link" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:title="@string/cherish_telegram"
|
||||
android:summary="@string/cherish_telegram_description"
|
||||
android:icon="@drawable/ic_social_telegram" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/cherish_telegram_link" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:title="@string/cherish_github"
|
||||
android:summary="@string/cherish_github_description"
|
||||
android:icon="@drawable/ic_social_github" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/cherish_github_link" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:title="@string/donate"
|
||||
android:summary="@string/donate_description"
|
||||
android:icon="@drawable/ic_donate" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/donation_link" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="cherish_dev"
|
||||
android:title="@string/devs_header" >
|
||||
|
||||
<Preference
|
||||
android:title="@string/founder"
|
||||
android:summary="@string/founder_description"
|
||||
android:icon="@drawable/ic_devs" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="https://github.com/hungphan2001" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:title="@string/lead"
|
||||
android:summary="@string/lead_description"
|
||||
android:icon="@drawable/ic_devs" >
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="https://github.com/hungphan2001" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="cherish_maintainers"
|
||||
android:title="@string/official_devices" >
|
||||
|
||||
<Preference
|
||||
android:key="maintainers"
|
||||
android:fragment="com.cherish.settings.fragments.Maintainers"
|
||||
android:icon="@drawable/ic_maintainers"
|
||||
android:title="@string/maintainers_header"
|
||||
android:summary="@string/maintainers_summary" >
|
||||
|
||||
</Preference>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
20
res/xml/cherish_maintainers.xml
Normal file
20
res/xml/cherish_maintainers.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2017 AIMROM
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/maintainers_header">
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -87,6 +87,14 @@
|
||||
android:fragment="com.cherish.settings.fragments.MiscSettings"
|
||||
android:icon="@drawable/ic_settings_miscs"/>
|
||||
|
||||
<!-- About Team -->
|
||||
<Preference
|
||||
android:key="about_category"
|
||||
android:title="@string/about_cherish"
|
||||
android:fragment="com.cherish.settings.fragments.About"
|
||||
android:icon="@drawable/ic_about" />
|
||||
|
||||
|
||||
<!-- Device Part -->
|
||||
<Preference
|
||||
android:key="device_part"
|
||||
|
||||
Reference in New Issue
Block a user