first commit

master
dushilian 6 years ago
parent ac7e0d34ab
commit 2a6019019f

@ -29,7 +29,7 @@
</value> </value>
</option> </option>
</component> </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" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">

@ -8,6 +8,6 @@ public class IndexActivity extends AppCompatActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(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" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/allbackground30"> android:background="@drawable/flybackground"
tools:layout_editor_absoluteY="25dp">
<ImageView <LinearLayout
android:id="@+id/butterflypng" android:layout_width="match_parent"
android:layout_width="463dp" android:layout_height="match_parent"
android:layout_height="99dp" android:orientation="vertical">
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" />
<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" />
<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" />
<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:orientation="vertical"
android:layout_weight="1">
<ImageView <ImageView
android:id="@+id/indexmemopng" android:id="@+id/indexmemopng"
android:layout_width="140dp" android:layout_width="140dp"
android:layout_height="140dp" android:layout_height="140dp"
android:layout_marginStart="8dp" android:src="@drawable/indexmemo" />
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 <TextView
android:id="@+id/indexmemotext" android:id="@+id/indexmemotext"
android:layout_width="wrap_content" android:layout_width="140dp"
android:layout_height="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:text="备忘录"
android:textColor="#000" android:textColor="#000"
android:textSize="20dp" android:textSize="20dp"
app:layout_constraintBottom_toTopOf="@+id/butterflypng" android:layout_gravity="left"
app:layout_constraintEnd_toEndOf="@+id/indexmemopng" android:textAlignment="center"/>
app:layout_constraintEnd_toStartOf="@+id/indexdiarypng" </LinearLayout>
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="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 <TextView
android:id="@+id/indexdiarytext" android:id="@+id/indexdiarytext"
android:layout_width="wrap_content" android:layout_width="140dp"
android:layout_height="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:text="日记"
android:textColor="#000" android:textColor="#000"
android:textSize="20dp" android:textSize="20dp"
app:layout_constraintEnd_toEndOf="@+id/indexdiarypng" android:layout_gravity="center"
app:layout_constraintEnd_toStartOf="@+id/indexsharepng" android:textAlignment="center"/>
app:layout_constraintStart_toStartOf="parent" </LinearLayout>
app:layout_constraintTop_toBottomOf="@+id/indexdiarypng" <LinearLayout
tools:ignore="MissingConstraints" /> 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 <TextView
android:id="@+id/indexsharetext" android:id="@+id/indexsharetext"
android:layout_width="83dp" android:layout_width="140dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="92dp"
android:text="分享时刻" android:text="分享时刻"
android:textColor="#000" android:textColor="#000"
android:textSize="20dp" android:textSize="20dp"
android:layout_gravity="right"
android:textAlignment="center"/>
</LinearLayout>
<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_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/indexsharepng" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintHorizontal_bias="0.836"
app:layout_constraintStart_toStartOf="@+id/indexsharepng"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />
</LinearLayout>
</LinearLayout>
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
Loading…
Cancel
Save