first commit

master
dushilian 6 years ago
parent ac7e0d34ab
commit 2a6019019f

@ -29,7 +29,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

@ -8,6 +8,6 @@ public class IndexActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.res_password);
setContentView(R.layout.activity_index);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

@ -4,122 +4,95 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/allbackground30">
android:background="@drawable/flybackground"
tools:layout_editor_absoluteY="25dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/butterflypng"
android:layout_width="463dp"
android:layout_height="99dp"
android:src="@drawable/but"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.493"
app:layout_constraintStart_toStartOf="parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1">
<ImageView
android:id="@+id/indexmemopng"
android:layout_width="140dp"
android:layout_height="140dp"
android:src="@drawable/indexmemo" />
<ImageView
android:id="@+id/indexdiarypng"
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="102dp"
android:layout_marginRight="102dp"
android:layout_marginBottom="8dp"
android:src="@drawable/indexdiary"
app:layout_constraintBottom_toTopOf="@+id/butterflypng"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/indexmemotext"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/indexmemotext"
android:layout_width="140dp"
android:layout_height="wrap_content"
android:text="备忘录"
android:textColor="#000"
android:textSize="20dp"
android:layout_gravity="left"
android:textAlignment="center"/>
</LinearLayout>
<ImageView
android:id="@+id/indexmyng"
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginBottom="8dp"
android:src="@drawable/indexmy"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1">
<ImageView
android:id="@+id/indexdiarypng"
android:layout_width="140dp"
android:layout_height="140dp"
android:src="@drawable/indexdiary"
android:layout_gravity="center"/>
<TextView
android:id="@+id/indexdiarytext"
android:layout_width="140dp"
android:layout_height="wrap_content"
android:text="日记"
android:textColor="#000"
android:textSize="20dp"
android:layout_gravity="center"
android:textAlignment="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1">
<ImageView
android:id="@+id/indexsharepng"
android:layout_width="140dp"
android:layout_height="140dp"
android:src="@drawable/indexshare"
android:layout_gravity="right"/>
<TextView
android:id="@+id/indexsharetext"
android:layout_width="140dp"
android:layout_height="wrap_content"
android:text="分享时刻"
android:textColor="#000"
android:textSize="20dp"
android:layout_gravity="right"
android:textAlignment="center"/>
</LinearLayout>
<ImageView
android:id="@+id/indexsharepng"
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_marginTop="312dp"
android:layout_marginBottom="26dp"
android:src="@drawable/indexshare"
app:layout_constraintBottom_toTopOf="@+id/butterflypng"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/indexdiarytext"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5">
<ImageView
android:id="@+id/indexmyng"
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_marginStart="8dp"
android:layout_marginBottom="8dp"
android:src="@drawable/indexmy"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints" />
</LinearLayout>
</LinearLayout>
<ImageView
android:id="@+id/indexmemopng"
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:src="@drawable/indexmemo"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/indexmemotext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="52dp"
android:layout_marginLeft="52dp"
android:layout_marginTop="157dp"
android:layout_marginEnd="30dp"
android:layout_marginRight="30dp"
android:layout_marginBottom="294dp"
android:text="备忘录"
android:textColor="#000"
android:textSize="20dp"
app:layout_constraintBottom_toTopOf="@+id/butterflypng"
app:layout_constraintEnd_toEndOf="@+id/indexmemopng"
app:layout_constraintEnd_toStartOf="@+id/indexdiarypng"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/indexdiarytext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="192dp"
android:layout_marginLeft="192dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="12dp"
android:layout_marginRight="12dp"
android:text="日记"
android:textColor="#000"
android:textSize="20dp"
app:layout_constraintEnd_toEndOf="@+id/indexdiarypng"
app:layout_constraintEnd_toStartOf="@+id/indexsharepng"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/indexdiarypng"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/indexsharetext"
android:layout_width="83dp"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="92dp"
android:text="分享时刻"
android:textColor="#000"
android:textSize="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/indexsharepng"
app:layout_constraintHorizontal_bias="0.836"
app:layout_constraintStart_toStartOf="@+id/indexsharepng"
tools:ignore="MissingConstraints" />
</android.support.constraint.ConstraintLayout>
Loading…
Cancel
Save