Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_weight="2"
- android:layout_width="match_parent"
- android:layout_height="0dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/maintext"
- android:text="Latest Albums"
- android:textSize="45dp"
- android:layout_marginLeft="85dp"/>
- </RelativeLayout>
- <GridLayout
- android:columnCount="2"
- android:rowCount="3"
- android:alignmentMode="alignMargins"
- android:columnOrderPreserved="false"
- android:layout_weight="8"
- android:layout_width="match_parent"
- android:padding="14dp"
- android:layout_height="0dp">
- <android.support.v7.widget.CardView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- android:layout_marginBottom="16dp"
- android:layout_marginRight="16dp"
- app:cardElevation="8dp"
- app:cardCornerRadius="8dp"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|center_vertical"
- android:layout_margin="16dp"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/revival"
- android:layout_gravity="center_horizontal"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="28sp"
- android:textStyle="bold"
- android:text="Revival"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- android:layout_marginBottom="16dp"
- android:layout_marginRight="16dp"
- app:cardElevation="8dp"
- app:cardCornerRadius="8dp"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|center_vertical"
- android:layout_margin="16dp"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/cokestudio"
- android:layout_gravity="center_horizontal"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="28sp"
- android:textStyle="bold"
- android:text="October"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- android:layout_marginBottom="16dp"
- android:layout_marginRight="16dp"
- app:cardElevation="8dp"
- app:cardCornerRadius="8dp"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|center_vertical"
- android:layout_margin="16dp"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/october"
- android:layout_gravity="center_horizontal"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="28sp"
- android:textStyle="bold"
- android:text="Padmavat"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- android:layout_marginBottom="16dp"
- android:layout_marginRight="16dp"
- app:cardElevation="8dp"
- app:cardCornerRadius="8dp"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|center_vertical"
- android:layout_margin="16dp"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/padmavat"
- android:layout_gravity="center_horizontal"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="28sp"
- android:textStyle="bold"
- android:text="Padmavat"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </GridLayout>
Add Comment
Please, Sign In to add comment