aboutsummaryrefslogtreecommitdiff
path: root/kpref-activity
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-01 23:22:51 -0500
committerAllan Wang <me@allanwang.ca>2018-01-01 23:22:51 -0500
commit71f5dc2f7ce5b8183421586e6a77be65040a4dff (patch)
treefedd18e271463ce2430637a9913e8470e84181ce /kpref-activity
parentf94d6f9694973c2a323e565794d948002593df0a (diff)
downloadkau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.tar.gz
kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.tar.bz2
kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.zip
Format everything and use reified generics
Diffstat (limited to 'kpref-activity')
-rw-r--r--kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt1
-rw-r--r--kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt1
-rw-r--r--kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt1
-rw-r--r--kpref-activity/src/main/res-public/values/ids.xml32
-rw-r--r--kpref-activity/src/main/res-public/values/public.xml2
5 files changed, 17 insertions, 20 deletions
diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt
index 88692c4..708c133 100644
--- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt
+++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt
@@ -1,7 +1,6 @@
package ca.allanwang.kau.kpref.activity.items
import android.support.v7.widget.AppCompatCheckBox
-import android.view.View
import android.widget.CheckBox
import ca.allanwang.kau.kpref.activity.KClick
import ca.allanwang.kau.kpref.activity.R
diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt
index e0bea4f..bbf4d5c 100644
--- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt
+++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt
@@ -7,7 +7,6 @@ import ca.allanwang.kau.colorpicker.colorPickerDialog
import ca.allanwang.kau.kpref.activity.GlobalOptions
import ca.allanwang.kau.kpref.activity.KClick
import ca.allanwang.kau.kpref.activity.R
-import ca.allanwang.kau.utils.string
/**
* Created by Allan Wang on 2017-06-07.
diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt
index 3135bb3..10da26d 100644
--- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt
+++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt
@@ -1,6 +1,5 @@
package ca.allanwang.kau.kpref.activity.items
-import android.view.View
import ca.allanwang.kau.kpref.activity.R
/**
diff --git a/kpref-activity/src/main/res-public/values/ids.xml b/kpref-activity/src/main/res-public/values/ids.xml
index 3bd69ed..8622e21 100644
--- a/kpref-activity/src/main/res-public/values/ids.xml
+++ b/kpref-activity/src/main/res-public/values/ids.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
- <item name="kau_pref_barrier" type="id"/>
- <item name="kau_pref_container" type="id"/>
- <item name="kau_pref_desc" type="id"/>
- <item name="kau_pref_icon" type="id"/>
- <item name="kau_pref_inner_content" type="id"/>
- <item name="kau_pref_inner_frame" type="id"/>
- <item name="kau_pref_item_checkbox" type="id"/>
- <item name="kau_pref_item_color_picker" type="id"/>
- <item name="kau_pref_item_header" type="id"/>
- <item name="kau_pref_item_plain_text" type="id"/>
- <item name="kau_pref_item_seekbar" type="id"/>
- <item name="kau_pref_item_sub_item" type="id"/>
- <item name="kau_pref_item_text" type="id"/>
- <item name="kau_pref_lower_content" type="id"/>
- <item name="kau_pref_lower_frame" type="id"/>
- <item name="kau_pref_title" type="id"/>
+ <item name="kau_pref_barrier" type="id" />
+ <item name="kau_pref_container" type="id" />
+ <item name="kau_pref_desc" type="id" />
+ <item name="kau_pref_icon" type="id" />
+ <item name="kau_pref_inner_content" type="id" />
+ <item name="kau_pref_inner_frame" type="id" />
+ <item name="kau_pref_item_checkbox" type="id" />
+ <item name="kau_pref_item_color_picker" type="id" />
+ <item name="kau_pref_item_header" type="id" />
+ <item name="kau_pref_item_plain_text" type="id" />
+ <item name="kau_pref_item_seekbar" type="id" />
+ <item name="kau_pref_item_sub_item" type="id" />
+ <item name="kau_pref_item_text" type="id" />
+ <item name="kau_pref_lower_content" type="id" />
+ <item name="kau_pref_lower_frame" type="id" />
+ <item name="kau_pref_title" type="id" />
</resources>
diff --git a/kpref-activity/src/main/res-public/values/public.xml b/kpref-activity/src/main/res-public/values/public.xml
index b5fb383..bd4f615 100644
--- a/kpref-activity/src/main/res-public/values/public.xml
+++ b/kpref-activity/src/main/res-public/values/public.xml
@@ -1,5 +1,5 @@
<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
-<!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
+ <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
<public name='kau_pref_barrier' type='id' />
<public name='kau_pref_container' type='id' />
<public name='kau_pref_desc' type='id' />