Exchange status placeholder
This commit is contained in:
parent
fedabc381a
commit
0bec33b544
|
|
@ -4,6 +4,7 @@ import android.os.Bundle;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
|
@ -43,17 +44,55 @@ public class HomeFragment extends Fragment {
|
|||
TextView profitsToday = root.findViewById(R.id.profitsTodayValue);
|
||||
TextView profitsThisMonth = root.findViewById(R.id.profitsThisMonthValue);
|
||||
|
||||
// Exchange status
|
||||
ImageView exchange1Status = root.findViewById(R.id.exchangeStats1Icon);
|
||||
ImageView exchange2Status = root.findViewById(R.id.exchangeStats2Icon);
|
||||
ImageView exchange3Status = root.findViewById(R.id.exchangeStats3Icon);
|
||||
ImageView exchange4Status = root.findViewById(R.id.exchangeStats4Icon);
|
||||
|
||||
// Set initial display values
|
||||
TextView exchange1Name = root.findViewById(R.id.exchangeStats1Label);
|
||||
TextView exchange2Name = root.findViewById(R.id.exchangeStats2Label);
|
||||
TextView exchange3Name = root.findViewById(R.id.exchangeStats3Label);
|
||||
TextView exchange4Name = root.findViewById(R.id.exchangeStats4Label);
|
||||
|
||||
TextView exchange1Funds = root.findViewById(R.id.exchangeStats1Funds);
|
||||
TextView exchange2Funds = root.findViewById(R.id.exchangeStats2Funds);
|
||||
TextView exchange3Funds = root.findViewById(R.id.exchangeStats3Funds);
|
||||
TextView exchange4Funds = root.findViewById(R.id.exchangeStats4Funds);
|
||||
|
||||
TextView exchange1FundsNeeded = root.findViewById(R.id.exchangeStats1FundsNeeded);
|
||||
TextView exchange2FundsNeeded = root.findViewById(R.id.exchangeStats2FundsNeeded);
|
||||
TextView exchange3FundsNeeded = root.findViewById(R.id.exchangeStats3FundsNeeded);
|
||||
TextView exchange4FundsNeeded = root.findViewById(R.id.exchangeStats4FundsNeeded);
|
||||
|
||||
TextView exchange1FundsPercentage = root.findViewById(R.id.exchangeStats1FundsPercentage);
|
||||
TextView exchange2FundsPercentage = root.findViewById(R.id.exchangeStats2FundsPercentage);
|
||||
TextView exchange3FundsPercentage = root.findViewById(R.id.exchangeStats3FundsPercentage);
|
||||
TextView exchange4FundsPercentage = root.findViewById(R.id.exchangeStats4FundsPercentage);
|
||||
|
||||
TextView exchange1WorkersOnline = root.findViewById(R.id.exchangeStats1WorkersOnline);
|
||||
TextView exchange2WorkersOnline = root.findViewById(R.id.exchangeStats2WorkersOnline);
|
||||
TextView exchange3WorkersOnline = root.findViewById(R.id.exchangeStats3WorkersOnline);
|
||||
TextView exchange4WorkersOnline = root.findViewById(R.id.exchangeStats4WorkersOnline);
|
||||
|
||||
TextView exchange1WorkersLongShort = root.findViewById(R.id.exchangeStats1WorkersLongShort);
|
||||
TextView exchange2WorkersLongShort = root.findViewById(R.id.exchangeStats2WorkersLongShort);
|
||||
TextView exchange3WorkersLongShort = root.findViewById(R.id.exchangeStats3WorkersLongShort);
|
||||
TextView exchange4WorkersLongShort = root.findViewById(R.id.exchangeStats4WorkersLongShort);
|
||||
|
||||
|
||||
// Set initial display values (Maybe not necessary? Since they are set in the xml file)
|
||||
// Tickers
|
||||
pricePair1.setText(R.string.default_price_ticker_1);
|
||||
pricePair124hPercentage.setText(R.string.percentage_example);
|
||||
pricePair17dPercentage.setText(R.string.percentage_example);
|
||||
pricePair130dPercentage.setText(R.string.percentage_example);
|
||||
|
||||
pricePair2.setText(R.string.default_price_ticker_2);
|
||||
pricePair224hPercentage.setText(R.string.percentage_example);
|
||||
pricePair27dPercentage.setText(R.string.percentage_example);
|
||||
pricePair230dPercentage.setText(R.string.percentage_example);
|
||||
|
||||
pricePair3.setText(R.string.default_price_ticker_3);
|
||||
pricePair324hPercentage.setText(R.string.percentage_example);
|
||||
pricePair37dPercentage.setText(R.string.percentage_example);
|
||||
|
|
@ -63,6 +102,41 @@ public class HomeFragment extends Fragment {
|
|||
profitsToday.setText(R.string.profits_today_example);
|
||||
profitsThisMonth.setText(R.string.profits_this_month_example);
|
||||
|
||||
//Exchange status
|
||||
exchange1Status.setImageResource(R.drawable.ic_green_circle_48);
|
||||
exchange2Status.setImageResource(R.drawable.ic_green_circle_48);
|
||||
exchange3Status.setImageResource(R.drawable.ic_green_circle_48);
|
||||
exchange4Status.setImageResource(R.drawable.ic_green_circle_48);
|
||||
|
||||
exchange1Name.setText(R.string.exchange_1_name);
|
||||
exchange2Name.setText(R.string.exchange_2_name);
|
||||
exchange3Name.setText(R.string.exchange_3_name);
|
||||
exchange4Name.setText(R.string.exchange_4_name);
|
||||
|
||||
exchange1Funds.setText(R.string.exchange_funds_example);
|
||||
exchange2Funds.setText(R.string.exchange_funds_example);
|
||||
exchange3Funds.setText(R.string.exchange_funds_example);
|
||||
exchange4Funds.setText(R.string.exchange_funds_example);
|
||||
|
||||
exchange1FundsNeeded.setText(R.string.exchange_funds_needed_example);
|
||||
exchange2FundsNeeded.setText(R.string.exchange_funds_needed_example);
|
||||
exchange3FundsNeeded.setText(R.string.exchange_funds_needed_example);
|
||||
exchange4FundsNeeded.setText(R.string.exchange_funds_needed_example);
|
||||
|
||||
exchange1FundsPercentage.setText(R.string.exchange_funds_percentage_example);
|
||||
exchange2FundsPercentage.setText(R.string.exchange_funds_percentage_example);
|
||||
exchange3FundsPercentage.setText(R.string.exchange_funds_percentage_example);
|
||||
exchange4FundsPercentage.setText(R.string.exchange_funds_percentage_example);
|
||||
|
||||
exchange1WorkersOnline.setText(R.string.exchange_workers_online_example);
|
||||
exchange2WorkersOnline.setText(R.string.exchange_workers_online_example);
|
||||
exchange3WorkersOnline.setText(R.string.exchange_workers_online_example);
|
||||
exchange4WorkersOnline.setText(R.string.exchange_workers_online_example);
|
||||
|
||||
exchange1WorkersLongShort.setText(R.string.exchange_workers_long_short_example);
|
||||
exchange2WorkersLongShort.setText(R.string.exchange_workers_long_short_example);
|
||||
exchange3WorkersLongShort.setText(R.string.exchange_workers_long_short_example);
|
||||
exchange4WorkersLongShort.setText(R.string.exchange_workers_long_short_example);
|
||||
|
||||
return root;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/card_background_color"/>
|
||||
<corners android:radius="8dp"/>
|
||||
<stroke android:color="@color/stroke_color" android:width="1dp"/>
|
||||
</shape>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
|
|
@ -26,6 +26,7 @@
|
|||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/base_price_ticker_1"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
@ -34,6 +35,7 @@
|
|||
android:layout_width="96dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/default_price_ticker_1"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
@ -43,6 +45,7 @@
|
|||
android:layout_height="16dp"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/quote_price_ticker_1"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
|
|
@ -106,6 +109,7 @@
|
|||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/base_price_ticker_2"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
@ -114,6 +118,7 @@
|
|||
android:layout_width="96dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/default_price_ticker_2"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
@ -123,6 +128,7 @@
|
|||
android:layout_height="16dp"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/quote_price_ticker_2"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
|
|
@ -186,6 +192,7 @@
|
|||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/base_price_ticker_3"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
@ -194,6 +201,7 @@
|
|||
android:layout_width="96dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/default_price_ticker_3"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
@ -203,6 +211,7 @@
|
|||
android:layout_height="16dp"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/quote_price_ticker_3"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
|
|
@ -272,17 +281,29 @@
|
|||
android:layout_width="54dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/profits_today_title"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/profitsTodayValue"
|
||||
android:layout_width="80dp"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/profits_today_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/profitsTodayQuoteCurrency"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="24dp"
|
||||
android:textAlignment="center"
|
||||
android:paddingVertical="4dp"
|
||||
android:text="@string/profits_quote_currency"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<Space
|
||||
android:layout_width="8dp"
|
||||
|
|
@ -294,17 +315,375 @@
|
|||
android:layout_width="96dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/profits_this_month_title"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/profitsThisMonthValue"
|
||||
android:layout_width="96dp"
|
||||
android:layout_width="84dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/profits_this_month_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/profitsThisMonthQuoteCurrency"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="24dp"
|
||||
android:textAlignment="center"
|
||||
android:paddingVertical="4dp"
|
||||
android:text="@string/profits_quote_currency"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintTop_toBottomOf="@+id/todayThisMonthCard"
|
||||
android:id="@+id/exchangeStats1Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/exchange_stats_card_background"
|
||||
android:padding="2dp">
|
||||
<ImageView
|
||||
android:id="@+id/exchangeStats1Icon"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:src="@drawable/ic_green_circle_48"
|
||||
android:contentDescription="@string/semaphore_description"/>
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats1Label"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_1_name"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats1Funds"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="6dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_separator"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats1FundsNeeded"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_needed_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats1FundsPercentage"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_percentage_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats1WorkersOnline"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_online_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_online_label"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats1WorkersLongShort"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_long_short_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="normal" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintTop_toBottomOf="@+id/exchangeStats1Card"
|
||||
android:id="@+id/exchangeStats2Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/exchange_stats_card_background"
|
||||
android:padding="2dp">
|
||||
<ImageView
|
||||
android:id="@+id/exchangeStats2Icon"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:src="@drawable/ic_green_circle_48"
|
||||
android:contentDescription="@string/semaphore_description"/>
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats2Label"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_2_name"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats2Funds"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="6dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_separator"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats2FundsNeeded"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_needed_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats2FundsPercentage"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_percentage_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats2WorkersOnline"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_online_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_online_label"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats2WorkersLongShort"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_long_short_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="normal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintTop_toBottomOf="@+id/exchangeStats2Card"
|
||||
android:id="@+id/exchangeStats3Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/exchange_stats_card_background"
|
||||
android:padding="2dp">
|
||||
<ImageView
|
||||
android:id="@+id/exchangeStats3Icon"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:src="@drawable/ic_green_circle_48"
|
||||
android:contentDescription="@string/semaphore_description"/>
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats3Label"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_3_name"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats3Funds"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="6dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_separator"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats3FundsNeeded"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_needed_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats3FundsPercentage"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_percentage_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats3WorkersOnline"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_online_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_online_label"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats3WorkersLongShort"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_long_short_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="normal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintTop_toBottomOf="@+id/exchangeStats3Card"
|
||||
android:id="@+id/exchangeStats4Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/exchange_stats_card_background"
|
||||
android:padding="2dp">
|
||||
<ImageView
|
||||
android:id="@+id/exchangeStats4Icon"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:src="@drawable/ic_green_circle_48"
|
||||
android:contentDescription="@string/semaphore_description"/>
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats4Label"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_4_name"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats4Funds"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="6dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_separator"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats4FundsNeeded"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_needed_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats4FundsPercentage"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_funds_percentage_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats4WorkersOnline"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_online_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_online_label"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal" />
|
||||
<TextView
|
||||
android:id="@+id/exchangeStats4WorkersLongShort"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="@string/exchange_workers_long_short_example"
|
||||
android:textColor="@color/secondary_text_color"
|
||||
android:textAlignment="center"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="normal" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
|
@ -49,7 +49,23 @@
|
|||
<string name="percentage_example">+20.30%</string>
|
||||
|
||||
<string name="profits_today_title">Today:</string>
|
||||
<string name="profits_today_example">$420.69</string>
|
||||
<string name="profits_today_example">420.69</string>
|
||||
<string name="profits_this_month_title">This month:</string>
|
||||
<string name="profits_this_month_example">$8392.39</string>
|
||||
<string name="profits_this_month_example">8392.39</string>
|
||||
<string name="profits_quote_currency">USDT</string>
|
||||
|
||||
<string name="semaphore_description">Exchange semaphore</string>
|
||||
<string name="exchange_1_name">Binance</string>
|
||||
<string name="exchange_2_name">Gate.io</string>
|
||||
<string name="exchange_3_name">KuCoin</string>
|
||||
<string name="exchange_4_name">OKX</string>
|
||||
|
||||
<string name="exchange_funds_example">15203.20</string>
|
||||
<string name="exchange_funds_needed_example">59393.39</string>
|
||||
<string name="exchange_funds_percentage_example">169%</string>
|
||||
<string name="exchange_workers_online_example">20</string>
|
||||
<string name="exchange_workers_long_short_example">20/20</string>
|
||||
<string name="exchange_separator">/</string>
|
||||
<string name="exchange_online_label">online</string>
|
||||
|
||||
</resources>
|
||||
Loading…
Reference in New Issue