Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView
- 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"
- android:background="@drawable/bgapps"
- tools:context=".MainActivity">
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:layout_marginTop="32dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/datang"
- android:textColor="#ffff"
- android:textSize="25sp"
- android:text="Selamat datang"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:layout_below="@+id/datang"
- android:layout_marginTop="6dp"
- android:textColor="#ffff"
- android:id="@+id/kucing"
- android:textSize="15sp"
- android:text="Whatsapp : 082114148827"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RelativeLayout>
- <GridLayout
- android:layout_marginTop="35sp"
- android:columnCount="2"
- android:rowCount="3"
- android:alignmentMode="alignMargins"
- android:columnOrderPreserved="false"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.cardview.widget.CardView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- app:cardElevation="6dp"
- app:cardCornerRadius="12dp"
- android:layout_margin="12dp"
- >
- <LinearLayout
- android:orientation="vertical"
- android:padding="16dp"
- android:gravity="center"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:src="@drawable/bug"
- android:onClick="boladalamsatu"
- android:layout_width="80dp"
- android:layout_height="80dp" />
- <TextView
- android:layout_marginTop="12dp"
- android:text="PREDIKSI BOLA"
- android:textSize="18sp"
- android:textColor="#6f6f6f"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- app:cardElevation="6dp"
- app:cardCornerRadius="12dp"
- android:layout_margin="12dp"
- >
- <LinearLayout
- android:orientation="vertical"
- android:padding="16dp"
- android:gravity="center"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:src="@drawable/bug"
- android:layout_width="80dp"
- android:layout_height="80dp" />
- <TextView
- android:layout_marginTop="12dp"
- android:text="LIVE SCORE"
- android:textSize="18sp"
- android:textColor="#6f6f6f"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- app:cardElevation="6dp"
- app:cardCornerRadius="12dp"
- android:layout_margin="12dp"
- >
- <LinearLayout
- android:orientation="vertical"
- android:padding="16dp"
- android:gravity="center"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:src="@drawable/bug"
- android:layout_width="80dp"
- android:layout_height="80dp" />
- <TextView
- android:layout_marginTop="12dp"
- android:text="KLASEMEN"
- android:textSize="18sp"
- android:textColor="#6f6f6f"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1"
- app:cardElevation="6dp"
- app:cardCornerRadius="12dp"
- android:layout_margin="12dp"
- >
- <LinearLayout
- android:orientation="vertical"
- android:padding="16dp"
- android:gravity="center"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:src="@drawable/bug"
- android:layout_width="80dp"
- android:layout_height="80dp" />
- <TextView
- android:layout_marginTop="12dp"
- android:text="JADWAL BOLA"
- android:textSize="18sp"
- android:textColor="#6f6f6f"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- </GridLayout>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment