Advertisement
Guest User

Untitled

a guest
Dec 8th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.84 KB | None | 0 0
  1.                         <androidx.constraintlayout.widget.ConstraintLayout
  2.                            android:layout_width="match_parent"
  3.                            android:layout_height="wrap_content"
  4.                            android:layout_marginStart="@dimen/margin_34dp"
  5.                            android:layout_marginEnd="@dimen/margin_34dp"
  6.                            android:layout_marginBottom="-10dp"
  7.                            android:elevation="11dp"
  8.                            android:gravity="bottom"
  9.                            android:orientation="horizontal"
  10.                            android:outlineProvider="none"
  11.                            app:visible="@{viewModel.voting.my || viewModel.voting.hidden}">
  12.                            
  13.                             <TextView
  14.                                android:id="@+id/item_voting_my"
  15.                                style="@style/TextBlack_14sp_bold"
  16.                                android:layout_width="wrap_content"
  17.                                android:layout_height="wrap_content"
  18.                                android:background="@drawable/golden_rounded_background"
  19.                                android:paddingStart="@dimen/margin_16dp"
  20.                                android:paddingTop="@dimen/margin_4dp"
  21.                                android:paddingEnd="@dimen/margin_16dp"
  22.                                android:paddingBottom="@dimen/margin_4dp"
  23.                                android:text="@string/item_voting_my_vote"
  24.                                app:layout_constraintTop_toTopOf="parent"
  25.                                app:layout_constraintStart_toStartOf="parent"
  26.                                voting:badgeScale="@{viewModel.voting.my}"
  27.                                app:visible="@{viewModel.voting.my}" />
  28.  
  29.                             <TextView
  30.                                android:id="@+id/item_voting_my_show"
  31.                                style="@style/TextBlack_14sp_bold"
  32.                                android:layout_width="wrap_content"
  33.                                android:layout_height="wrap_content"
  34.  
  35.                                android:background="@drawable/golden_rounded_background"
  36.                                android:paddingStart="@dimen/margin_16dp"
  37.                                android:paddingTop="@dimen/margin_4dp"
  38.                                app:layout_constraintTop_toTopOf="parent"
  39.                                app:layout_constraintEnd_toEndOf="parent"
  40.                                android:paddingEnd="@dimen/margin_16dp"
  41.                                android:paddingBottom="@dimen/margin_4dp"
  42.                                android:text="@string/item_voting_my_vote_show"
  43.                                app:visible="@{viewModel.voting.hidden}" />
  44.                         </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement