Advertisement
Leo1502

VIDEO: activity_main.xml (orijentacija:horizontalno)

Apr 27th, 2023
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.07 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <RelativeLayout
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent">
  9.  
  10.         <LinearLayout
  11.            android:id="@+id/granica"
  12.            android:layout_width="match_parent"
  13.            android:layout_marginHorizontal="155dp"
  14.            android:layout_height="2dp"
  15.            android:layout_below="@id/spinner3_cardview"
  16.            android:layout_centerHorizontal="true"
  17.            android:background="?android:color"
  18.            android:orientation="horizontal"
  19.            tools:ignore="Smalldp"
  20.            android:layout_marginTop="5dp"/>
  21.  
  22.         <androidx.cardview.widget.CardView
  23.            android:id="@+id/spinner3_cardview"
  24.            android:layout_width="42dp"
  25.            android:layout_height="44dp"
  26.            android:layout_marginTop="24dp"
  27.            android:scrollbars="none"
  28.            android:layout_marginStart="155dp"
  29.            android:layout_marginEnd="10dp"
  30.            app:cardCornerRadius="18dp">
  31.  
  32.             <Spinner
  33.                android:id="@+id/spinner3"
  34.                android:layout_width="match_parent"
  35.                android:layout_height="match_parent"
  36.                android:background="?android:colorPrimary"
  37.                android:textColor="?android:textColorPrimary"
  38.                android:theme="@style/Widget.MaterialComponents.TextView" />
  39.  
  40.         </androidx.cardview.widget.CardView>
  41.  
  42.     <FrameLayout
  43.        android:layout_width="wrap_content"
  44.        android:layout_height="wrap_content"
  45.        android:layout_below="@id/granica"
  46.        android:layout_centerInParent="true"
  47.        android:layout_margin="20dp">
  48.  
  49.         <VideoView
  50.            android:id="@+id/video"
  51.            android:layout_width="match_parent"
  52.            android:layout_height="match_parent"
  53.            android:onClick="video_horiz" />
  54.  
  55.     </FrameLayout>
  56.  
  57. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement