Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin_34dp"
- android:layout_marginEnd="@dimen/margin_34dp"
- android:layout_marginBottom="-10dp"
- android:elevation="11dp"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:outlineProvider="none"
- app:visible="@{viewModel.voting.my || viewModel.voting.hidden}">
- <TextView
- android:id="@+id/item_voting_my"
- style="@style/TextBlack_14sp_bold"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/golden_rounded_background"
- android:paddingStart="@dimen/margin_16dp"
- android:paddingTop="@dimen/margin_4dp"
- android:paddingEnd="@dimen/margin_16dp"
- android:paddingBottom="@dimen/margin_4dp"
- android:text="@string/item_voting_my_vote"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- voting:badgeScale="@{viewModel.voting.my}"
- app:visible="@{viewModel.voting.my}" />
- <TextView
- android:id="@+id/item_voting_my_show"
- style="@style/TextBlack_14sp_bold"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/golden_rounded_background"
- android:paddingStart="@dimen/margin_16dp"
- android:paddingTop="@dimen/margin_4dp"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- android:paddingEnd="@dimen/margin_16dp"
- android:paddingBottom="@dimen/margin_4dp"
- android:text="@string/item_voting_my_vote_show"
- app:visible="@{viewModel.voting.hidden}" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement