File tree Expand file tree Collapse file tree
mywidget/src/main/java/com/kacent/widget/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ dependencies {
3838 androidTestImplementation ' androidx.test.ext:junit:1.1.1'
3939 androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
4040 implementation project(' :mywidget' )
41+ // implementation 'com.github.Kacent123:KingSearchView:1.0.5'
4142// implementation 'com.github.Kacent123:KSearchView:v1.0'
4243 implementation ' com.google.android.material:material:1.2.0-alpha05'
4344 implementation ' com.google.android.material:material:1.1.0'
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class KingSearchView(
3737 init {
3838 orientation = VERTICAL
3939 gravity = Gravity .CENTER
40- LayoutInflater .from(context).inflate(R .layout.search_layout, this , false )
40+ LayoutInflater .from(context).inflate(R .layout.search_layout, this , true )
4141 editText = findViewById(R .id.search_edit)
4242 icon = findViewById(R .id.icon)
4343 cleanBtn= findViewById(R .id.clean_btn)
You can’t perform that action at this time.
0 commit comments