diff --git a/app/src/main/kotlin/io/treehouses/remote/ui/sshtunnel/SSHTunnelFragment.kt b/app/src/main/kotlin/io/treehouses/remote/ui/sshtunnel/SSHTunnelFragment.kt index d3ad71849..861c504b7 100644 --- a/app/src/main/kotlin/io/treehouses/remote/ui/sshtunnel/SSHTunnelFragment.kt +++ b/app/src/main/kotlin/io/treehouses/remote/ui/sshtunnel/SSHTunnelFragment.kt @@ -141,7 +141,7 @@ class SSHTunnelFragment : BaseSSHTunnelFragment() { portsName = it.data?.portNames; hostsName = it.data?.hostNames adapter = TunnelUtils.getPortAdapter(requireContext(), portsName) bind.sshPorts.adapter = adapter - adapter2 = ArrayAdapter(requireContext(), R.layout.support_simple_spinner_dropdown_item, hostsName!!) + adapter2 = ArrayAdapter(requireContext(), R.layout.simple_list_item, hostsName!!) dialogSshTunnelPortsBinding.hosts.adapter = adapter2 } Status.LOADING -> { diff --git a/app/src/main/res/layout/activity_rpi_dialog_fragment.xml b/app/src/main/res/layout/activity_rpi_dialog_fragment.xml index c3d01d630..46c52d333 100644 --- a/app/src/main/res/layout/activity_rpi_dialog_fragment.xml +++ b/app/src/main/res/layout/activity_rpi_dialog_fragment.xml @@ -52,7 +52,7 @@ android:background="#00000000" android:id="@+id/rpi_close_button" android:text="Cancel" - android:textColor="@color/red" + android:textColor="@color/dialog_button_color" app:layout_constraintBottom_toBottomOf="@id/rpi_switch" app:layout_constraintTop_toTopOf="@id/rpi_switch" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/layout/dialog_speedtest.xml b/app/src/main/res/layout/dialog_speedtest.xml index 85671ec2c..e4c187a2c 100644 --- a/app/src/main/res/layout/dialog_speedtest.xml +++ b/app/src/main/res/layout/dialog_speedtest.xml @@ -49,6 +49,7 @@ style="@style/Widget.AppCompat.Button.Borderless" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:textColor="@color/daynight_textColor" android:layout_marginStart="@dimen/margin_huge" android:layout_marginLeft="@dimen/margin_huge" android:text="Start Test" /> diff --git a/app/src/main/res/layout/dialog_sshtunnel_ports.xml b/app/src/main/res/layout/dialog_sshtunnel_ports.xml index 69914530e..ab6510ffa 100644 --- a/app/src/main/res/layout/dialog_sshtunnel_ports.xml +++ b/app/src/main/res/layout/dialog_sshtunnel_ports.xml @@ -2,9 +2,9 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="350dp" android:layout_height="wrap_content" + android:background="@drawable/alertdialog_background" android:orientation="vertical" - android:padding="@dimen/margin_medium" - android:background="@drawable/alertdialog_background"> + android:padding="@dimen/margin_medium"> - + + + android:layout_height="wrap_content"> + android:textColor="@color/daynight_textColor" + android:textColorHint="@color/expandable_child_text" /> @@ -84,21 +83,20 @@ android:orientation="horizontal"> + android:layout_height="wrap_content"> + android:textColor="@color/daynight_textColor" + android:textColorHint="@color/expandable_child_text" /> @@ -108,9 +106,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_small" - android:text="Add Port" android:background="@drawable/addport_button" android:enabled="false" - android:textColor="#FFFFFF"/> + android:text="Add Port" + android:textColor="#FFFFFF" /> diff --git a/app/src/main/res/layout/simple_list_item.xml b/app/src/main/res/layout/simple_list_item.xml index c51538fac..32277e14f 100644 --- a/app/src/main/res/layout/simple_list_item.xml +++ b/app/src/main/res/layout/simple_list_item.xml @@ -1,13 +1,9 @@ \ No newline at end of file + android:padding="8dp" + android:textColor="@color/daynight_textColor" + android:textSize="16sp" + android:textStyle="bold" /> diff --git a/app/src/main/res/values-night/color.xml b/app/src/main/res/values-night/color.xml index 928d83e24..5edfd3ac0 100644 --- a/app/src/main/res/values-night/color.xml +++ b/app/src/main/res/values-night/color.xml @@ -42,4 +42,5 @@ #BC5C5C #c48787 - \ No newline at end of file + @color/colorAccent + diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index 86df1761c..05a9c3768 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -91,4 +91,13 @@ @color/bg_white @color/bg_white + + + + diff --git a/app/src/main/res/values/color.xml b/app/src/main/res/values/color.xml index bd9c7983a..5bb2d9847 100644 --- a/app/src/main/res/values/color.xml +++ b/app/src/main/res/values/color.xml @@ -50,4 +50,5 @@ #55000000 #00000000 #55b0b0f0 - \ No newline at end of file + @color/colorAccent + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 57f2aa7fe..36f0c1819 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -120,4 +120,14 @@ @dimen/padding_large center + + + + +