Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataBinding variable issue #35

Open
QumberAbbas opened this issue Oct 15, 2020 · 0 comments
Open

DataBinding variable issue #35

QumberAbbas opened this issue Oct 15, 2020 · 0 comments

Comments

@QumberAbbas
Copy link

I have layout (id: actionBar) included for action bar in xml file name, and I have edit text name title. When the fragment is resumed the action bar title value is changed to title value of editext.

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/titleLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/standard_margin"
android:hint="@string/title"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/containerAddItem">

            <com.google.android.material.textfield.TextInputEditText
                android:id="@+id/title"
                style="@style/Theme_EditText"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:fontFamily="@font/futuramedium"
                android:singleLine="true"
                android:textColor="@color/black"
                android:textSize="@dimen/text_size_16" />
        </com.google.android.material.textfield.TextInputLayout>

Action bar layout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant