forked from organicmaps/organicmaps
[android] Fixed crash in editor after support library is updated
This commit is contained in:
parent
3fe0d07d85
commit
d940a47617
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
android:orientation="horizontal">
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
android:id="@+id/input_layout"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
@ -31,4 +32,4 @@
|
|||
android:src="@drawable/ic_close"
|
||||
android:tint="@color/base_red"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -93,7 +93,7 @@ public class MultilanguageAdapter extends RecyclerView.Adapter<MultilanguageAdap
|
|||
{
|
||||
super(itemView);
|
||||
input = (EditText) itemView.findViewById(R.id.input);
|
||||
inputLayout = (TextInputLayout) input.getParent();
|
||||
inputLayout = (TextInputLayout) itemView.findViewById(R.id.input_layout);
|
||||
input.addTextChangedListener(new StringUtils.SimpleTextWatcher()
|
||||
{
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue