File tree 6 files changed +9
-7
lines changed
java/xyz/aprildown/hmspickerview 6 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ android {
12
12
targetSdkVersion target_sdk
13
13
versionCode version_code
14
14
versionName version_name
15
+ vectorDrawables. useSupportLibrary true
15
16
}
16
17
buildTypes {
17
18
release {
Original file line number Diff line number Diff line change 3
3
xmlns : tools =" http://schemas.android.com/tools"
4
4
android : layout_width =" match_parent"
5
5
android : layout_height =" match_parent"
6
- tools : context =" .MainActivity" >
6
+ tools : context =" .MainActivity"
7
+ tools : ignore =" HardcodedText" >
7
8
8
9
<LinearLayout
9
10
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 1
1
<resources >
2
- <string name =" app_name" >HmsPickerView</string >
2
+ <string name =" app_name" translatable = " false " >HmsPickerView</string >
3
3
</resources >
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class HmsPickerView(
74
74
private val hasValidInput: Boolean
75
75
get() = inputPointer != - 1
76
76
77
- private var listener: HmsPickerView . Listener ? = null
77
+ private var listener: Listener ? = null
78
78
79
79
init {
80
80
val bf = BidiFormatter .getInstance(false /* rtlContext */ )
@@ -321,7 +321,7 @@ class HmsPickerView(
321
321
/* *
322
322
* Set a listener to listen if the [HmsPickerView] has or loses a valid input.
323
323
*/
324
- fun setListener (l : HmsPickerView . Listener ) {
324
+ fun setListener (l : Listener ) {
325
325
listener = l
326
326
}
327
327
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<View xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools"
3
4
android : id =" @+id/timer_setup_divider"
4
5
android : layout_width =" match_parent"
5
6
android : layout_height =" 1dp"
6
7
android : layout_marginBottom =" 8dp"
7
8
android : background =" @android:color/black"
8
9
android : importantForAccessibility =" no"
9
- android : theme =" @style/Hpv.ThemeOverlay.Control.Accent" />
10
+ android : theme =" @style/Hpv.ThemeOverlay.Control.Accent"
11
+ tools : ignore =" Overdraw" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
4
- <style name =" Hpv" />
5
-
6
4
<style name =" Hpv.ThemeOverlay.Control.Accent" parent =" ThemeOverlay.AppCompat" >
7
5
<!-- Attributes from android.support.v7.appcompat -->
8
6
<item name =" colorControlActivated" >?attr/colorAccent</item >
You can’t perform that action at this time.
0 commit comments