1769 lines
53 KiB
XML
1769 lines
53 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/svContent"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
|
|
android:fillViewport="true"
|
|
android:paddingBottom="128dp"
|
|
android:paddingTop="12dp"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
tools:ignore="TooManyViews"
|
|
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<!-- =============================================== -->
|
|
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/notifications"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/notification_style_before_oreo"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<CheckBox
|
|
android:id="@+id/cbNotificationSound"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:text="@string/sound"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<CheckBox
|
|
android:id="@+id/cbNotificationVibration"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:text="@string/vibration"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<CheckBox
|
|
android:id="@+id/cbNotificationLED"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:text="@string/led"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_horizontal_stretch"
|
|
android:text="@string/notification_on_off_desc"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/custom_stream_listener"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnCustomStreamListenerEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnCustomStreamListenerReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_horizontal_stretch"
|
|
android:text="@string/custom_stream_listener_desc"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/send_access_token_to_app_server"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swSendAccessTokenToAppServer"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_horizontal_stretch"
|
|
android:text="@string/send_access_token_to_app_server_desc"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etPullNotificationCheckInterval"
|
|
android:text="@string/pull_notification_check_interval"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etPullNotificationCheckInterval"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:inputType="number"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/behavior"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_confirm_before_close_column"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontConfirmBeforeCloseColumn"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/back_button_action"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spBackButtonAction"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/exit_app_when_close_protected_column"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swExitAppWhenCloseProtectedColumn"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/scroll_top_from_column_strip"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swScrollTopFromColumnStrip"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_screen_off"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontScreenOff"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_use_custom_tabs"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontUseCustomTabs"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/prior_chrome_custom_tabs"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swPriorChrome"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/allow_column_duplication"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swAllowColumnDuplication"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/force_gap_when_refresh"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swForceGap"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_retrieve_preview_card"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontRetrievePreviewCard"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etClientName"
|
|
android:text="@string/client_name"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etClientName"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:inputType="text"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etUserAgent"
|
|
android:text="@string/user_agent"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etUserAgent"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:inputType="textMultiLine"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
android:id="@+id/tvUserAgentError"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:textColor="?attr/colorRegexFilterError"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/emoji"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/disable_custom_emoji_animation"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDisableEmojiAnimation"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/post"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/resize_image"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spResizeImage"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etMediaSizeMax"
|
|
android:text="@string/media_attachment_max_byte_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etMediaSizeMax"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:inputType="number"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etMovieSizeMax"
|
|
android:text="@string/media_attachment_max_byte_size_movie"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etMovieSizeMax"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:inputType="number"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/refresh_after_toot"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spRefreshAfterToot"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/show_post_button_bar_top"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swPostButtonBarTop"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_add_duplication_check_header"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontDuplicationCheck"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/show_quick_toot_bar"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swQuickTootBar"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_use_action_button_with_quick_toot_bar"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontUseActionButtonWithQuickTootBar"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etQuoteNameFormat"
|
|
android:text="@string/format_of_quote_name"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etQuoteNameFormat"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:inputType="text"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/append_attachment_url_to_content"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swAppendAttachmentUrlToContent"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/tablet_mode"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/disable_tablet_mode"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDisableTabletMode"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etColumnWidth"
|
|
android:text="@string/minimum_column_width"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etColumnWidth"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="number"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/toot_button_default_account"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spDefaultAccount"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/media_attachment"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/use_internal_media_viewer"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swUseInternalMediaViewer"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/prior_local_url_when_open_attachment"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swPriorLocalURL"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etMediaThumbHeight"
|
|
android:text="@string/media_thumbnail_height"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etMediaThumbHeight"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="number"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_crop_media_thumbnail"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontCropMediaThumb"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/thumbnails_arrange_vertically"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swVerticalArrangeThumbnails"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/appearance"
|
|
/>
|
|
|
|
<!--<View style="@style/setting_divider"/>-->
|
|
|
|
<!--<TextView-->
|
|
<!--style="@style/setting_row_label"-->
|
|
<!--android:text="@string/disable_fast_scroller"-->
|
|
<!--/>-->
|
|
|
|
<!--<LinearLayout style="@style/setting_row_form">-->
|
|
|
|
<!--<Switch-->
|
|
<!--android:id="@+id/swDisableFastScroller"-->
|
|
<!--style="@style/setting_horizontal_stretch"-->
|
|
<!--/>-->
|
|
|
|
<!--</LinearLayout>-->
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/simple_list"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swSimpleList"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/show_follow_button_in_button_bar"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swShowFollowButtonInButtonBar"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/enable_gif_animation"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swEnableGifAnimation"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/short_acct_local_user"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swShortAcctLocalUser"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/mention_full_acct"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swMentionFullAcct"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/relative_timestamp"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swRelativeTimestamp"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/always_show_application"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swShowAppName"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etAutoCWLines"
|
|
android:text="@string/auto_cw"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etAutoCWLines"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="number"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etCardDescriptionLength"
|
|
android:text="@string/card_description_length"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etCardDescriptionLength"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="number"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/display_replies_count"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spRepliesCount"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/visibility_style"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spVisibilityStyle"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<!--<LinearLayout style="@style/setting_row_form">-->
|
|
|
|
<!--<TextView-->
|
|
<!--style="@style/setting_row_label"-->
|
|
<!--android:text="@string/char_per_lines"-->
|
|
<!--/>-->
|
|
|
|
<!--</LinearLayout>-->
|
|
|
|
<!--<LinearLayout style="@style/setting_row_form">-->
|
|
|
|
<!--<EditText-->
|
|
<!--android:id="@+id/etTimelineFontSize"-->
|
|
<!--style="@style/setting_horizontal_stretch"-->
|
|
<!--android:gravity="center"-->
|
|
<!--android:inputType="numberDecimal"-->
|
|
<!--/>-->
|
|
|
|
<!--</LinearLayout>-->
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/ui_theme"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spUITheme"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/list_divider_color"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnListDividerColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnListDividerColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/background_color_unlisted"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorUnlistedEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorUnlistedReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/background_color_follower"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorFollowerEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorFollowerReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/background_color_direct_with_user"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorDirectWithUserEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorDirectWithUserReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/background_color_direct_no_user"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorDirectNoUserEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnBackgroundColorDirectNoUserReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/link_color"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnLinkColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnLinkColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/footer_color"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llFooterBG"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:background="?attr/colorColumnStripBackground"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/ivFooterMenu"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:importantForAccessibility="no"
|
|
app:srcCompat="?attr/ic_hamburger"
|
|
/>
|
|
|
|
<View
|
|
android:id="@+id/vFooterDivider1"
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorImageButton"
|
|
/>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
/>
|
|
|
|
<HorizontalScrollView
|
|
android:id="@+id/svColumnStrip"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
|
|
android:cacheColorHint="#00000000"
|
|
android:fadingEdge="horizontal"
|
|
android:fadingEdgeLength="20dp"
|
|
android:fillViewport="true"
|
|
android:scrollbars="none"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llColumnStrip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
</LinearLayout>
|
|
</HorizontalScrollView>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
/>
|
|
|
|
<View
|
|
android:id="@+id/vFooterDivider2"
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorImageButton"
|
|
/>
|
|
|
|
<ImageView
|
|
android:id="@+id/ivFooterToot"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:contentDescription="@string/toot"
|
|
app:srcCompat="?attr/ic_edit"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/vIndicator"
|
|
android:layout_width="48dp"
|
|
android:layout_height="2dp"
|
|
android:layout_gravity="center_horizontal"
|
|
tools:background="#f00"
|
|
/>
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/button_background_color"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnFooterBackgroundEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnFooterBackgroundReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form"
|
|
>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/button_foreground_color"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnFooterForegroundColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnFooterForegroundColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/tab_background_color"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnTabBackgroundColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnTabBackgroundColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/tab_divider_color"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnTabDividerColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnTabDividerColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/tab_indicator_color"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnTabIndicatorColorEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnTabIndicatorColorReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/timeline_font"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
android:id="@+id/tvTimelineFontUrl"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnTimelineFontEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnTimelineFontReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/timeline_font_bold"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
android:id="@+id/tvTimelineFontBoldUrl"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnTimelineFontBoldEdit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/edit"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnTimelineFontBoldReset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/reset"
|
|
android:textAllCaps="false"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvTimelineFontSize"
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etTimelineFontSize"
|
|
android:text="@string/timeline_font_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etTimelineFontSize"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvAcctFontSize"
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etAcctFontSize"
|
|
android:text="@string/acct_font_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etAcctFontSize"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvNotificationTlFontSize"
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etNotificationTlFontSize"
|
|
android:text="@string/notification_tl_font_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etNotificationTlFontSize"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etNotificationTlIconSize"
|
|
android:text="@string/notification_tl_icon_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etNotificationTlIconSize"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etBoostButtonSize"
|
|
android:text="@string/boost_button_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etBoostButtonSize"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/boost_button_alignment"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Spinner
|
|
android:id="@+id/spBoostButtonJustify"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etAvatarIconSize"
|
|
android:text="@string/avatar_icon_size"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etAvatarIconSize"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:labelFor="@+id/etRoundRatio"
|
|
android:text="@string/avatar_icon_round_ratio"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etRoundRatio"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="numberDecimal"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/avatar_icon_dont_round"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontRound"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/performance"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/share_view_pool"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swShareViewPool"
|
|
style="@style/setting_horizontal_stretch"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_use_streaming_api"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontUseStreaming"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/dont_refresh_on_activity_resume"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Switch
|
|
android:id="@+id/swDontRefreshOnResume"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/timeout_for_embed_media_viewer"
|
|
android:labelFor="@+id/etMediaReadTimeout"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<EditText
|
|
android:id="@+id/etMediaReadTimeout"
|
|
style="@style/setting_horizontal_stretch"
|
|
android:gravity="center"
|
|
android:inputType="number"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<!-- =============================================== -->
|
|
<TextView
|
|
style="@style/setting_group_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/actions"
|
|
/>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
<TextView
|
|
style="@style/setting_row_label"
|
|
android:text="@string/actions"
|
|
/>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnSettingExport"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/app_data_export"
|
|
android:textAllCaps="false"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<Button
|
|
android:id="@+id/btnSettingImport"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/app_data_import"
|
|
android:textAllCaps="false"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/app_data_import_desc"
|
|
android:textAllCaps="false"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider"/>
|
|
|
|
</LinearLayout>
|
|
</ScrollView> |