平板适配
This commit is contained in:
parent
9a7a46bc46
commit
ca7b2a6d11
BIN
app/src/main/res/drawable-xxhdpi/splash_big.jpg
Normal file
BIN
app/src/main/res/drawable-xxhdpi/splash_big.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
44
app/src/main/res/layout-sw533dp/activity_launcher.xml
Normal file
44
app/src/main/res/layout-sw533dp/activity_launcher.xml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout 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:orientation="vertical"
|
||||||
|
>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:src="@drawable/splash_big"
|
||||||
|
android:scaleType="centerCrop"></ImageView>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/llCount"
|
||||||
|
android:layout_width="60dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_marginTop="50dp"
|
||||||
|
android:layout_marginRight="20dp"
|
||||||
|
android:background="@drawable/shape_count_downbg"
|
||||||
|
android:gravity="center"
|
||||||
|
android:alpha="0.8"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tv_count"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="3"
|
||||||
|
android:textColor="@color/color_3"
|
||||||
|
android:textSize="18dp"></TextView>
|
||||||
|
<TextView
|
||||||
|
android:layout_marginLeft="3dp"
|
||||||
|
android:layout_marginTop="2dp"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="跳过"
|
||||||
|
android:textColor="@color/color_9"
|
||||||
|
android:textSize="12dp"></TextView>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
@ -9,8 +9,8 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/splash"
|
android:src="@drawable/splash"
|
||||||
android:scaleType="fitXY"></ImageView>
|
android:scaleType="centerCrop"></ImageView>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/llCount"
|
android:id="@+id/llCount"
|
||||||
|
@ -52,7 +52,8 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:hint="请输入账号"
|
android:hint="请输入账号"
|
||||||
android:maxLength="11"
|
android:maxLength="11"
|
||||||
android:maxLines="1"></EditText>
|
android:maxLines="1"
|
||||||
|
android:singleLine="true"></EditText>
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user