summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2019-06-05 01:05:27 +0200
committerBjørn Mork <bjorn@mork.no>2019-06-05 01:05:27 +0200
commit83ab4f99514a963127de27c379cc8f665ef18d24 (patch)
tree20c31714f62e471b0d55571749982aef5a568a2c
parent58a99bb26d34c35a720dc3b2e0e3641079a08100 (diff)
wip
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--Defogger/res/layout/activity_configurenetwork.xml3
-rw-r--r--Defogger/res/layout/activity_scanner.xml5
-rw-r--r--Defogger/res/layout/item_net.xml2
-rw-r--r--Defogger/res/layout/item_scan.xml6
-rw-r--r--Defogger/src/no/mork/android/defogger/ConfigureNetworkActivity.java2
5 files changed, 8 insertions, 10 deletions
diff --git a/Defogger/res/layout/activity_configurenetwork.xml b/Defogger/res/layout/activity_configurenetwork.xml
index 15797b4..6c91efc 100644
--- a/Defogger/res/layout/activity_configurenetwork.xml
+++ b/Defogger/res/layout/activity_configurenetwork.xml
@@ -44,6 +44,5 @@
android:id="@+id/networks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:choiceMode="singleChoice"
- android:listSelector="@color/list_view_selector"/>
+ android:choiceMode="singleChoice"/>
</LinearLayout>
diff --git a/Defogger/res/layout/activity_scanner.xml b/Defogger/res/layout/activity_scanner.xml
index 975bb61..8443446 100644
--- a/Defogger/res/layout/activity_scanner.xml
+++ b/Defogger/res/layout/activity_scanner.xml
@@ -25,7 +25,6 @@
android:scrollbars="vertical"
android:layout_width="match_parent"
android:layout_height="fill_parent"
- android:choiceMode="singleChoice"
- android:listSelector="@color/list_view_selector"
- android:layout_below="@id/pincode" />
+ android:layout_below="@id/pincode"
+ android:choiceMode="singleChoice"/>
</RelativeLayout>
diff --git a/Defogger/res/layout/item_net.xml b/Defogger/res/layout/item_net.xml
index 4efb06c..cbde7cb 100644
--- a/Defogger/res/layout/item_net.xml
+++ b/Defogger/res/layout/item_net.xml
@@ -6,6 +6,6 @@
android:id="@+id/ssid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="@color/list_view_selector"
+ android:background="?android:attr/selectableItemBackground"
android:textSize="20sp" />
</LinearLayout>
diff --git a/Defogger/res/layout/item_scan.xml b/Defogger/res/layout/item_scan.xml
index 02e0135..12d4f16 100644
--- a/Defogger/res/layout/item_scan.xml
+++ b/Defogger/res/layout/item_scan.xml
@@ -3,12 +3,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
-
+
<TextView
android:id="@+id/scanitem"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:background="@color/list_view_selector"
- android:textSize="20sp" />
+ android:background="?android:attr/selectableItemBackground"
+ android:textSize="20sp" />
</LinearLayout>
diff --git a/Defogger/src/no/mork/android/defogger/ConfigureNetworkActivity.java b/Defogger/src/no/mork/android/defogger/ConfigureNetworkActivity.java
index bf524c0..14d710d 100644
--- a/Defogger/src/no/mork/android/defogger/ConfigureNetworkActivity.java
+++ b/Defogger/src/no/mork/android/defogger/ConfigureNetworkActivity.java
@@ -79,7 +79,7 @@ public class ConfigureNetworkActivity extends Activity {
setResult(RESULT_CANCELED); // default
}
- @Override
+ @Override
protected void onResume() {
Log.d(msg, "onResume()");
super.onResume();