From 9b302d0461a7bfdec7f4d63a79825416b787504a Mon Sep 17 00:00:00 2001 From: CiufudeanDani Date: Mon, 28 Mar 2022 14:02:10 +0300 Subject: [PATCH] change text color + small changes --- .../safemobile/dispatch/SDMobileActivity.java | 8 +- .../main/res/layout-large/row_livevehicle.xml | 12 +- .../src/main/res/layout-large/tabsetup.xml | 4 - .../main/res/layout/balloonname_overlay.xml | 10 +- safeDispatch/src/main/res/layout/dialog.xml | 2 - .../src/main/res/layout/dialog_login.xml | 4 +- .../src/main/res/layout/dialogdatepicker.xml | 2 +- safeDispatch/src/main/res/layout/login_h.xml | 16 +- .../src/main/res/layout/main_before.xml | 24 +- .../src/main/res/layout/row_livevehicle.xml | 12 +- safeDispatch/src/main/res/layout/spinner.xml | 48 +- .../main/res/layout/style_header_alarm.xml | 16 +- .../main/res/layout/style_header_units.xml | 17 +- safeDispatch/src/main/res/layout/tabalarm.xml | 147 ++- safeDispatch/src/main/res/layout/tabradio.xml | 836 +++++++++--------- .../src/main/res/layout/tabrecordings.xml | 27 +- safeDispatch/src/main/res/layout/tabsetup.xml | 432 +++++---- 17 files changed, 795 insertions(+), 822 deletions(-) diff --git a/safeDispatch/src/main/java/com/safemobile/dispatch/SDMobileActivity.java b/safeDispatch/src/main/java/com/safemobile/dispatch/SDMobileActivity.java index 20484f1..50c9f6f 100644 --- a/safeDispatch/src/main/java/com/safemobile/dispatch/SDMobileActivity.java +++ b/safeDispatch/src/main/java/com/safemobile/dispatch/SDMobileActivity.java @@ -737,10 +737,10 @@ public class SDMobileActivity extends Activity { Dialog dialogInfo = new Dialog(context); dialogInfo.requestWindowFeature(Window.FEATURE_NO_TITLE); dialogInfo.setContentView(R.layout.dialog_login); - TextView textTitle = (TextView) dialogInfo.findViewById(R.id.textTitle); - TextView text = (TextView) dialogInfo.findViewById(R.id.text); - TextView text2 = (TextView) dialogInfo.findViewById(R.id.text2); - ImageView image = (ImageView) dialogInfo.findViewById(R.id.image); + TextView textTitle = dialogInfo.findViewById(R.id.textTitle); + TextView text = dialogInfo.findViewById(R.id.text); + TextView text2 = dialogInfo.findViewById(R.id.text2); + ImageView image = dialogInfo.findViewById(R.id.image); textTitle.setText(getString(R.string.connectionError)); image.setImageResource(R.drawable.error); diff --git a/safeDispatch/src/main/res/layout-large/row_livevehicle.xml b/safeDispatch/src/main/res/layout-large/row_livevehicle.xml index 57d51c0..01e3748 100644 --- a/safeDispatch/src/main/res/layout-large/row_livevehicle.xml +++ b/safeDispatch/src/main/res/layout-large/row_livevehicle.xml @@ -31,10 +31,10 @@ android:paddingLeft="3dp" android:layout_weight="1"/> - + android:id="@+id/linearLayoutChecked" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="0" + android:background="@drawable/checked" + android:orientation="horizontal" /> \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout-large/tabsetup.xml b/safeDispatch/src/main/res/layout-large/tabsetup.xml index 63dcebb..8e2d5e0 100644 --- a/safeDispatch/src/main/res/layout-large/tabsetup.xml +++ b/safeDispatch/src/main/res/layout-large/tabsetup.xml @@ -32,7 +32,6 @@ android:layout_height="wrap_content" android:text="@string/serverIP" android:textAppearance="?android:attr/textAppearanceMedium" - android:textColor="#FFFFFF" android:textStyle="bold" android:layout_gravity="center_vertical" android:gravity="center_vertical|right" @@ -67,7 +66,6 @@ android:layout_height="wrap_content" android:text="@string/serverPort" android:textAppearance="?android:attr/textAppearanceMedium" - android:textColor="#FFFFFF" android:textStyle="bold" android:gravity="center_vertical|right" android:layout_gravity="center_vertical|right" @@ -112,7 +110,6 @@ android:layout_height="wrap_content" android:text="@string/configName" android:textAppearance="?android:attr/textAppearanceMedium" - android:textColor="#FFFFFF" android:textStyle="bold" android:gravity="center_vertical|right" android:layout_gravity="center_vertical"/> @@ -181,7 +178,6 @@ android:text="@string/language" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" - android:textColor="#FFFFFF" android:gravity="right" android:layout_gravity="center_vertical"/> - + diff --git a/safeDispatch/src/main/res/layout/dialog.xml b/safeDispatch/src/main/res/layout/dialog.xml index 59a5863..ab831c8 100644 --- a/safeDispatch/src/main/res/layout/dialog.xml +++ b/safeDispatch/src/main/res/layout/dialog.xml @@ -24,14 +24,12 @@ android:layout_height="wrap_content" android:paddingTop="8dp" android:textSize="18dp" - android:textColor="#FFFFFF" /> diff --git a/safeDispatch/src/main/res/layout/dialog_login.xml b/safeDispatch/src/main/res/layout/dialog_login.xml index 681d913..23ed11e 100644 --- a/safeDispatch/src/main/res/layout/dialog_login.xml +++ b/safeDispatch/src/main/res/layout/dialog_login.xml @@ -11,7 +11,7 @@ android:paddingTop="2dp" android:text="TITLE" android:textAppearance="?android:attr/textAppearanceLarge" - android:textColor="#FFFFFF" + android:textColor="@color/black" /> diff --git a/safeDispatch/src/main/res/layout/dialogdatepicker.xml b/safeDispatch/src/main/res/layout/dialogdatepicker.xml index 3e976bf..e743eaa 100644 --- a/safeDispatch/src/main/res/layout/dialogdatepicker.xml +++ b/safeDispatch/src/main/res/layout/dialogdatepicker.xml @@ -61,4 +61,4 @@ android:textSize="16dp" /> - + \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/login_h.xml b/safeDispatch/src/main/res/layout/login_h.xml index e5b2af1..0081efc 100644 --- a/safeDispatch/src/main/res/layout/login_h.xml +++ b/safeDispatch/src/main/res/layout/login_h.xml @@ -217,13 +217,13 @@ + android:id="@+id/imageLoading" + android:layout_width="64dp" + android:layout_height="64dp" + android:layout_gravity="center_vertical" + android:layout_weight="0" + android:visibility="gone" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" /> \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/main_before.xml b/safeDispatch/src/main/res/layout/main_before.xml index aed4d79..f1d4db5 100644 --- a/safeDispatch/src/main/res/layout/main_before.xml +++ b/safeDispatch/src/main/res/layout/main_before.xml @@ -209,8 +209,6 @@ - - - + android:layout_toLeftOf="@+id/frameLayout13" /> - - - + android:id="@+id/imageLoading" + android:layout_width="64dp" + android:layout_height="64dp" + android:layout_gravity="center_vertical" + android:layout_weight="0" + android:visibility="gone" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" /> \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/row_livevehicle.xml b/safeDispatch/src/main/res/layout/row_livevehicle.xml index 57d51c0..01e3748 100644 --- a/safeDispatch/src/main/res/layout/row_livevehicle.xml +++ b/safeDispatch/src/main/res/layout/row_livevehicle.xml @@ -31,10 +31,10 @@ android:paddingLeft="3dp" android:layout_weight="1"/> - + android:id="@+id/linearLayoutChecked" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="0" + android:background="@drawable/checked" + android:orientation="horizontal" /> \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/spinner.xml b/safeDispatch/src/main/res/layout/spinner.xml index b1f3f07..4e36420 100644 --- a/safeDispatch/src/main/res/layout/spinner.xml +++ b/safeDispatch/src/main/res/layout/spinner.xml @@ -1,30 +1,30 @@ + - + + - - - - + android:gravity="center_vertical"/> + + \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/style_header_alarm.xml b/safeDispatch/src/main/res/layout/style_header_alarm.xml index c780ca1..d3f34dc 100644 --- a/safeDispatch/src/main/res/layout/style_header_alarm.xml +++ b/safeDispatch/src/main/res/layout/style_header_alarm.xml @@ -10,14 +10,14 @@ android:gravity="center_vertical" > + android:id="@+id/imageButtonAdd" + android:layout_width="1dp" + android:layout_height="wrap_content" + android:layout_weight="0" + android:layout_marginRight="5dp" + android:paddingLeft="2dp" + android:visibility="invisible" + android:background="@drawable/addmessage_selector"/> - - + \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/tabalarm.xml b/safeDispatch/src/main/res/layout/tabalarm.xml index d67e7a0..bc380a2 100644 --- a/safeDispatch/src/main/res/layout/tabalarm.xml +++ b/safeDispatch/src/main/res/layout/tabalarm.xml @@ -4,86 +4,85 @@ android:layout_height="fill_parent" android:orientation="vertical" style="?bg"> - + - - + + - + - + - + - - + - + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1"> + \ No newline at end of file diff --git a/safeDispatch/src/main/res/layout/tabradio.xml b/safeDispatch/src/main/res/layout/tabradio.xml index 6f0fc57..ddb84b4 100644 --- a/safeDispatch/src/main/res/layout/tabradio.xml +++ b/safeDispatch/src/main/res/layout/tabradio.xml @@ -7,356 +7,354 @@ style="?bg"> + android:id="@+id/layoutGateway" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:weightSum="100" + android:orientation="horizontal" + style="?header"> - + - + - + - + - + - + - + - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:paddingRight="10dp" + android:layout_gravity="center_vertical"> + + + - - - - - - + + + + + + - + - - - - - + + + + + + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:gravity="center" + android:layout_gravity="center_horizontal"> - - + + - - - - - + + + + + - - - + + + - + - + - + - - + + - - - - - - - -