172 lines
5.4 KiB
XML
172 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/general_settings_title"
|
|
android:textColor="#000000"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="15dp"
|
|
android:background="#000000" />
|
|
|
|
<TextView
|
|
android:id="@+id/titleProfileName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/profile_name_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editProfileName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/profile_name_hint"
|
|
android:inputType="text"
|
|
android:textSize="12sp"/>
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp"
|
|
android:background="#000000" />
|
|
|
|
<TextView
|
|
android:id="@+id/titleApiUrl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/api_url_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editApiUrl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/api_url_hint"
|
|
android:inputType="textUri"
|
|
android:textSize="12sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/titleApiKey"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/api_key_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editApiKey"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/api_key_hint"
|
|
android:inputType="text"
|
|
android:textSize="12sp"/>
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp"
|
|
android:background="#000000" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/useTelegram"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/use_telegram" />
|
|
|
|
<TextView
|
|
android:id="@+id/titleBotToken"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/bot_token_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editBotToken"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/bot_token_hint"
|
|
android:inputType="text"
|
|
android:textSize="12sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/titleChatId"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/chat_id_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editChatId"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/chat_id_hint"
|
|
android:inputType="text"
|
|
android:textSize="12sp"/>
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp"
|
|
android:background="#000000" />
|
|
|
|
<TextView
|
|
android:id="@+id/titleTimeBetweenQueries"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/time_between_queries_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editTimeBetweenQueries"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autofillHints="10"
|
|
android:hint="@string/time_between_queries_hint"
|
|
android:inputType="numberDecimal"
|
|
android:textSize="12sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/titleAmountOfLogLines"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/log_lines_to_display_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editAmountOfLogLines"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autofillHints="5"
|
|
android:hint="@string/amount_of_log_lines_hint"
|
|
android:inputType="number"
|
|
android:textSize="12sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/titleAmountOfLastTrades"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/last_trades_to_display_title"
|
|
android:textSize="18sp"/>
|
|
|
|
<EditText
|
|
android:id="@+id/editAmountOfLastTrades"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autofillHints="9"
|
|
android:hint="@string/amount_of_last_trades_hint"
|
|
android:inputType="number"
|
|
android:textSize="12sp"/>
|
|
|
|
|
|
|
|
<Button
|
|
android:id="@+id/buttonSaveSettings"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/save_settings" />
|
|
</LinearLayout> |