Migration of user interface to Jetpack Compose
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
<string name="about_text">
|
||||
<![CDATA[
|
||||
<h1>Baresip library based SIP User Agent</h1>
|
||||
<br>
|
||||
<p>Juha Heinanen <[email protected]></p>
|
||||
<p>Version %1$s</p>
|
||||
<br>
|
||||
<h2>Usage Hints</h2>
|
||||
<ul>
|
||||
<li>Check that default values in baresip\'s Settings meet your needs
|
||||
@@ -21,19 +23,19 @@
|
||||
<li>Touch on the dot leads directly to account configuration.</li>
|
||||
<li>Swipe down gesture causes re-registration of the currently shown account.</li>
|
||||
<li>Long touch on currently shown account enables or disables account\'s registration.</li>
|
||||
<li>Swipe left/right gesture toggles between the accounts.</li>
|
||||
<li>Previous call party can be reselect by touching the call icon when Callee is empty.</li>
|
||||
<li>Peers of calls and messages can be added to contacts by long touches.</li>
|
||||
<li>Long touches can also be used to remove calls, chats, messages, and contacts.</li>
|
||||
<li>Touch/long touch of contact icon can be used to install/remove image avatar.</li>
|
||||
<li>See <a href="https://github.com/juha-h/baresip-studio/wiki">Wiki</a> for more
|
||||
information.</li>
|
||||
<li>See <a href="https://github.com/juha-h/baresip-studio/wiki">Wiki</a> for more information.</li>
|
||||
</ul>
|
||||
<h2>Privacy Policy</h2>
|
||||
Privacy policy is available <a href="https://raw.githubusercontent.com/juha-h/baresip-studio/master/PrivacyPolicy.txt">here</a>.
|
||||
<p>Privacy policy is available <a href="https://raw.githubusercontent.com/juha-h/baresip-studio/master/PrivacyPolicy.txt">here</a>.</p>
|
||||
<br>
|
||||
<h2>Source code</h2>
|
||||
Source code is available at <a href="https://github.com/juha-h/baresip-studio">GitHub</a>,
|
||||
where also issues can be reported.
|
||||
<p>Source code is available at <a href="https://github.com/juha-h/baresip-studio">GitHub</a>,
|
||||
where also issues can be reported.</p>
|
||||
<br>
|
||||
<h2>Licenses</h2>
|
||||
<ul>
|
||||
<li><b>BSD-3-Clause</b> except the following:</li>
|
||||
@@ -210,10 +212,10 @@
|
||||
</string>
|
||||
<!-- Accounts Activity -->
|
||||
<string name="accounts">Accounts</string>
|
||||
<string name="new_account">New Account</string>
|
||||
<string name="accounts_help">When a new account is created, account\'s port number and transport
|
||||
protocol may be optionally given: <user>@<domain>[:<port>][;transport=udp|tcp|tls].
|
||||
If <port> is given and transport protocol is not given, transport protocol defaults to udp.
|
||||
<string name="new_account">SIP URI of New Account</string>
|
||||
<string name="accounts_help">SIP URI of new account of form
|
||||
<user>@<domain>[:<port>][;transport=udp|tcp|tls].
|
||||
If <port> is given and transport protocol is not given, transport protocol defaults to UDP.
|
||||
If <port> is not given and transport protocol is given, <port> defaults to 5060 or 5061 (TLS).
|
||||
If neither is given and no outbound proxy is specified, account\'s registrar (if any) is
|
||||
determined solely based on domain\'s DNS information.
|
||||
@@ -278,10 +280,10 @@
|
||||
<!-- Codecs Activity -->
|
||||
<string name="audio_codecs">Audio Codecs</string>
|
||||
<string name="audio_codecs_help">List of audio codecs in priority order. Drag to reorder,
|
||||
swipe right to enable or disable.</string>
|
||||
long click to enable or disable.</string>
|
||||
<string name="video_codecs">Video Codecs</string>
|
||||
<string name="video_codecs_help">List of video codecs in priority order. Drag to reorder,
|
||||
swipe right to enable or disable.</string>
|
||||
long click to enable or disable.</string>
|
||||
<string name="codec_action">Reorder</string>
|
||||
<!-- Config Activity -->
|
||||
<string name="configuration">Settings</string>
|
||||
@@ -340,10 +342,6 @@
|
||||
available for use by the accounts.</string>
|
||||
<string name="failed_to_load_module">Failed to load module.</string>
|
||||
<string name="aec">Acoustic Echo Cancellation</string>
|
||||
<string name="aec_help">If checked, software based echo cancellation is in use.</string>
|
||||
<string name="no_hw_aec">Hardware based echo canceller cannot be used on you device.</string>
|
||||
<string name="aec_extended_filter">AEC Extended Filter</string>
|
||||
<string name="aec_extended_filter_help">If checked, echo cancellation is using extended filter.</string>
|
||||
<string name="microphone_gain">Microphone Gain</string>
|
||||
<string name="microphone_gain_help">Multiply microphone volume by this decimal number. Minimum
|
||||
value is 1.0 (factory default) that disables microphone gain. Larger values may negatively
|
||||
@@ -413,6 +411,8 @@
|
||||
<string name="sip_or_tel_uri">SIP or tel URI</string>
|
||||
<string name="user_domain_or_number">user@domain or telephone number</string>
|
||||
<string name="favorite">Favorite</string>
|
||||
<string name="favorite_help">If checked, contact is shown among other favorites
|
||||
on top of contacts list.</string>
|
||||
<string name="invalid_contact">Invalid contact name \'%1$s\'</string>
|
||||
<string name="contact_already_exists">Contact \'%1$s\' already exists.</string>
|
||||
<string name="invalid_contact_uri">Invalid SIP URI</string>
|
||||
@@ -452,6 +452,8 @@
|
||||
<string name="invalid_sip_or_tel_uri">Invalid SIP or tel URI \'%1$s\'</string>
|
||||
<string name="baresip" translatable="false">baresip</string>
|
||||
<string name="android" translatable="false">Android</string>
|
||||
<string name="hardware">Hardware</string>
|
||||
<string name="software">Software</string>
|
||||
<!-- Main Activity -->
|
||||
<string name="backup">Backup</string>
|
||||
<string name="restore">Restore</string>
|
||||
|
||||
@@ -1,50 +1,23 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight">
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="actionBarTheme">@style/ActionBar</item>
|
||||
<item name="actionOverflowMenuStyle">@style/Spinner</item>
|
||||
<item name="android:dropDownListViewStyle">@style/Spinner</item>
|
||||
<item name="android:colorBackground">@color/colorBackground</item>
|
||||
<item name="android:windowBackground">@color/colorBackground</item>
|
||||
<item name="android:statusBarColor">@color/colorBackground</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Main" parent="AppTheme">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="ActionBar" parent="ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
||||
<item name="android:colorBackground">@color/colorSecondaryDark</item>
|
||||
<item name="colorSurface">@color/colorPrimary</item>
|
||||
<item name="android:textColor">@color/colorLight</item>
|
||||
<item name="android:textColorPrimary">@color/colorLight</item>
|
||||
<item name="android:textColorSecondary">@color/colorLight</item>
|
||||
</style>
|
||||
|
||||
<style name="Spinner" parent="Widget.AppCompat.ListView.DropDown">
|
||||
<item name="android:popupBackground">@color/colorPopupBackground</item>
|
||||
<item name="android:textColor">@color/colorLight</item>
|
||||
<item name="android:dividerHeight">1dp</item>
|
||||
<item name="android:divider">@color/colorSpinnerDivider</item>
|
||||
</style>
|
||||
|
||||
<style name="AlertDialogTheme">
|
||||
<style name="AlertDialogTheme" parent="@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
||||
<item name="materialAlertDialogTitleTextStyle">@style/Alert.Title</item>
|
||||
<item name="materialAlertDialogBodyTextStyle">@style/Alert.Message</item>
|
||||
<item name="buttonBarPositiveButtonStyle">@style/Alert.Button.Positive</item>
|
||||
<item name="buttonBarNegativeButtonStyle">@style/Alert.Button.Positive</item>
|
||||
<item name="buttonBarNeutralButtonStyle">@style/Alert.Button.Neutral</item>
|
||||
<item name="materialAlertDialogBodyTextStyle">@style/Alert.Message</item>
|
||||
<item name="materialAlertDialogTitleTextStyle">@style/Alert.Title</item>
|
||||
<item name="shapeAppearanceOverlay">@style/DialogCorners</item>
|
||||
<item name="android:background">@color/colorGrayLight</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="DialogCorners">
|
||||
<item name="cornerFamily">rounded</item>
|
||||
<item name="cornerSize">16dp</item>
|
||||
<style name="Alert.Title" parent="@style/MaterialAlertDialog.Material3.Title.Text">
|
||||
<item name="android:textColor">@color/colorAlert</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Alert.Message" parent="@style/MaterialAlertDialog.Material3.Body.Text">
|
||||
<item name="android:textColor">@color/colorDark</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Alert.Button.Positive" parent="Widget.Material3.Button.TextButton">
|
||||
@@ -61,14 +34,4 @@
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Alert.Title" parent="@style/MaterialAlertDialog.Material3.Title.Text">
|
||||
<item name="android:textColor">@color/colorAlert</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Alert.Message" parent="@style/MaterialAlertDialog.Material3.Body.Text">
|
||||
<item name="android:textColor">@color/colorStrong</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user