-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
YeChao
committed
Dec 29, 2020
1 parent
07f4661
commit 983ce3c
Showing
8 changed files
with
82 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,59 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:orientation="vertical" | ||
tools:context=".MainActivity"> | ||
|
||
<TextView | ||
android:id="@+id/text_view" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Hello World!" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintLeft_toLeftOf="parent" | ||
app:layout_constraintRight_toRightOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
android:text="Hello World!" /> | ||
|
||
<Button | ||
android:id="@+id/button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="存StringSet" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/text_view" /> | ||
android:text="存StringSet" /> | ||
|
||
<Button | ||
android:id="@+id/button2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="读StringSet" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/button" /> | ||
android:text="读StringSet" /> | ||
|
||
<Button | ||
android:id="@+id/showLoading" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="showLoading" | ||
app:layout_constraintEnd_toEndOf="@+id/button2" | ||
app:layout_constraintStart_toStartOf="@+id/button2" | ||
app:layout_constraintTop_toBottomOf="@+id/button2" /> | ||
android:text="showLoading" /> | ||
|
||
<Button | ||
android:id="@+id/hideLoading" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="8dp" | ||
android:text="hideLoading" | ||
app:layout_constraintEnd_toEndOf="@+id/showLoading" | ||
app:layout_constraintStart_toStartOf="@+id/showLoading" | ||
app:layout_constraintTop_toBottomOf="@+id/showLoading" /> | ||
android:text="hideLoading" /> | ||
|
||
<Button | ||
android:id="@+id/btn_log" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="打印log" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
android:text="打印log" /> | ||
|
||
</android.support.constraint.ConstraintLayout> | ||
<Button | ||
android:id="@+id/btn_display" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="打印屏幕宽高" /> | ||
|
||
<Button | ||
android:id="@+id/btn_sim" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="是否有sim卡" /> | ||
|
||
</LinearLayout> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters