Advertisement
Guest User

Untitled

a guest
May 19th, 2020
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.20 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:theme="@style/AppTheme"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    tools:context=".home_page">
  9.     <include layout="@layout/drawerlayout_main" android:layout_height="match_parent"
  10.  
  11.        android:layout_width="match_parent" />
  12.  
  13.  
  14.     <Button
  15.        android:id="@+id/button"
  16.        android:layout_width="150dp"
  17.        android:layout_height="150dp"
  18.        android:layout_marginStart="56dp"
  19.        android:layout_marginTop="192dp"
  20.        android:background="@drawable/bg_round_button"
  21.        android:text="最新消息"
  22.        app:layout_constraintLeft_toLeftOf="parent"
  23.        app:layout_constraintTop_toTopOf="parent" />
  24.  
  25.     <Button
  26.        android:id="@+id/button1"
  27.        android:layout_width="150dp"
  28.        android:layout_height="150dp"
  29.        android:layout_marginStart="252dp"
  30.        android:layout_marginTop="92dp"
  31.        android:background="@drawable/bg_round_button"
  32.        android:text="求職專區"
  33.        app:layout_constraintLeft_toLeftOf="parent"
  34.        app:layout_constraintTop_toTopOf="parent" />
  35.  
  36.     <Button
  37.        android:id="@+id/button2"
  38.        android:layout_width="150dp"
  39.        android:layout_height="150dp"
  40.        android:layout_marginStart="56dp"
  41.        android:layout_marginTop="448dp"
  42.        android:background="@drawable/bg_round_button"
  43.        android:text="能力評估"
  44.        app:layout_constraintLeft_toLeftOf="parent"
  45.        app:layout_constraintTop_toTopOf="parent" />
  46.  
  47.     <Button
  48.        android:id="@+id/button3"
  49.        android:layout_width="150dp"
  50.        android:layout_height="150dp"
  51.        android:layout_marginLeft="252dp"
  52.        android:layout_marginTop="344dp"
  53.        android:background="@drawable/bg_round_button"
  54.        android:text="履歷表"
  55.        app:layout_constraintLeft_toLeftOf="parent"
  56.        app:layout_constraintTop_toTopOf="parent" />
  57. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement