Shiyan12

activity_menu.xml

Jul 19th, 2021
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.81 KB | None | 0 0
  1. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  2.     android:layout_width="match_parent"
  3.     android:layout_height="match_parent"
  4.     android:background="@drawable/app_back"
  5.     android:padding="10dp" >
  6.  
  7.     <RelativeLayout
  8.         android:layout_width="match_parent"
  9.         android:layout_height="wrap_content"
  10.         android:gravity="center" >
  11.  
  12.         <ImageView
  13.             android:id="@+id/operators"
  14.             android:layout_width="wrap_content"
  15.             android:layout_height="wrap_content"
  16.             android:layout_centerHorizontal="true"
  17.             android:src="@drawable/operators"
  18.             android:padding="5dp"
  19.             android:contentDescription="operators"/>
  20.  
  21.         <TextView
  22.             android:id="@+id/intro"
  23.             android:layout_width="wrap_content"
  24.             android:layout_height="wrap_content"
  25.             android:layout_below="@id/operators"
  26.             android:layout_centerHorizontal="true"
  27.             android:padding="20dp"
  28.             android:text="@string/app_name"
  29.             android:textColor="#ffffffff"
  30.             android:textSize="20sp"
  31.             android:textStyle="bold" />
  32.  
  33.         <Button
  34.             android:id="@+id/play_btn"
  35.             android:layout_width="wrap_content"
  36.             android:layout_height="wrap_content"
  37.             android:layout_below="@id/intro"
  38.             android:layout_centerHorizontal="true"
  39.             android:layout_margin="5dp"
  40.             android:background="@drawable/enter_back"
  41.             android:padding="20dp"
  42.             android:text="Play"
  43.             android:textColor="#ff333333"
  44.             android:textSize="20sp"
  45.             android:textStyle="bold" />
  46.  
  47.  
  48.         <Button
  49.             android:id="@+id/help_btn"
  50.             android:layout_width="wrap_content"
  51.             android:layout_height="wrap_content"
  52.             android:layout_below="@id/play_btn"
  53.             android:layout_centerHorizontal="true"
  54.             android:layout_margin="5dp"
  55.             android:background="@drawable/enter_back"
  56.             android:padding="20dp"
  57.             android:text="How to Play"
  58.             android:textColor="#ff333333"
  59.             android:textSize="20sp"
  60.             android:textStyle="bold" />
  61.  
  62.         <Button
  63.             android:id="@+id/high_btn"
  64.             android:layout_width="wrap_content"
  65.             android:layout_height="wrap_content"
  66.             android:layout_below="@id/help_btn"
  67.             android:layout_centerHorizontal="true"
  68.             android:layout_margin="5dp"
  69.             android:background="@drawable/enter_back"
  70.             android:padding="20dp"
  71.             android:text="High Scores"
  72.             android:textColor="#ff333333"
  73.             android:textSize="20sp"
  74.             android:textStyle="bold" />
  75.  
  76.     </RelativeLayout>
  77.  
  78. </ScrollView>
  79.  
Advertisement
Add Comment
Please, Sign In to add comment