Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/granica"
- android:layout_width="match_parent"
- android:layout_marginHorizontal="155dp"
- android:layout_height="2dp"
- android:layout_below="@id/spinner3_cardview"
- android:layout_centerHorizontal="true"
- android:background="?android:color"
- android:orientation="horizontal"
- tools:ignore="Smalldp"
- android:layout_marginTop="5dp"/>
- <androidx.cardview.widget.CardView
- android:id="@+id/spinner3_cardview"
- android:layout_width="42dp"
- android:layout_height="44dp"
- android:layout_marginTop="24dp"
- android:scrollbars="none"
- android:layout_marginStart="155dp"
- android:layout_marginEnd="10dp"
- app:cardCornerRadius="18dp">
- <Spinner
- android:id="@+id/spinner3"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="?android:colorPrimary"
- android:textColor="?android:textColorPrimary"
- android:theme="@style/Widget.MaterialComponents.TextView" />
- </androidx.cardview.widget.CardView>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_alignParentBottom="true"
- android:layout_marginVertical="15dp"
- android:layout_alignTop="@id/granica"
- android:gravity="center">
- <ImageView
- android:id="@+id/boca"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:contentDescription="@string/boca"
- android:src="@drawable/boca"
- android:onClick="spinBottle"/>
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement