Twidere-App-Android-Twitter.../twidere/src/main/res/xml/preferences_compose.xml

70 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Twidere - Twitter client for Android
~
~ Copyright (C) 2012-2015 Mariotaku Lee <mariotaku.lee@gmail.com>
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!--suppress AndroidElementNotAllowed -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="quick_send"
android:summary="@string/quick_send_summary"
android:title="@string/quick_send"/>
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="no_close_after_tweet_sent"
android:summary="@string/no_close_after_status_updated_summary"
android:title="@string/no_close_after_status_updated"/>
<org.mariotaku.twidere.preference.ComposeNowPreference
android:key="compose_now"
android:summary="@string/compose_now_summary"
android:title="@string/compose_now"/>
<org.mariotaku.twidere.preference.EntrySummaryListPreference
android:defaultValue="compose"
android:dependency="compose_now"
android:entries="@array/entries_compose_now_action"
android:entryValues="@array/values_compose_now_action"
android:key="compose_now_action"
android:title="@string/compose_now_action"/>
<org.mariotaku.twidere.preference.StatusShortenerPreference
android:defaultValue=""
android:key="status_shortener"
android:summary="%s"
android:title="@string/status_shortener"/>
<org.mariotaku.twidere.preference.ThemedEditTextPreference
android:defaultValue="RT @[NAME]: [TEXT]"
android:dialogTitle="@string/quote_format"
android:key="quote_format"
android:singleLine="true"
android:summary="@string/quote_format_summary"
android:title="@string/quote_format"/>
<org.mariotaku.twidere.preference.ThemedEditTextPreference
android:defaultValue="[TITLE] - [TEXT]"
android:dialogTitle="@string/share_format"
android:key="share_format"
android:singleLine="true"
android:summary="@string/share_format_summary"
android:title="@string/share_format"/>
</PreferenceScreen>