के बायीं ओर खींचने वाले ऊपर से एंकर के लिए TextInputLayout लेबल, क्या TextInputLayout लेबल को संपादन टेक्स्ट में बाएं ड्रॉ करने योग्य के ऊपर दिखाने के लिए संभव है जब उपयोगकर्ता संपादन टेक्स्ट में केंद्रित या टाइप करता है।एडिटटेक्स्ट
:यहाँ उत्पादन है कि मैं हो रही है:
<android.support.design.widget.TextInputLayout
android:id="@+id/completion_date_layout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:orientation="horizontal">
<EditText
android:id="@+id/etTaskDate"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="@string/title_completion_date"
android:inputType="text"
android:drawableLeft="@drawable/ic_date"
android:paddingBottom="15dp"
android:drawablePadding="5dp"
android:textSize="@dimen/fields_text_size"/>
</android.support.design.widget.TextInputLayout>
यहाँ वांछित आउटपुट है:
यहाँ EditText की एक्सएमएल है
क्या आपको कभी समाधान मिला? मुझे एक ही समस्या है। –
@RaymonddelaCroix दुर्भाग्य से पिछले महीने से मेरे दोस्त नहीं। मैंने जो काम किया है उसके नीचे मैंने पोस्ट किया है। :) – icaneatclouds