手机适配
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginTop="@dimen/sw_30dp"
|
||||
android:layout_marginBottom="@dimen/sw_10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
<!-- 头像 -->
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_width="@dimen/sw_30dp"
|
||||
android:layout_height="@dimen/sw_30dp"
|
||||
android:layout_marginStart="@dimen/sw_5dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:src="@drawable/logo" />
|
||||
@@ -20,11 +20,11 @@
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="40dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginStart="@dimen/sw_40dp"
|
||||
android:layout_marginTop="@dimen/_sw_20dp"
|
||||
android:background="@drawable/our_news"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dp">
|
||||
android:padding="@dimen/sw_10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/container"
|
||||
@@ -32,8 +32,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Welcome to use the [key of love] keyboard"
|
||||
android:textColor="#929292"
|
||||
android:maxWidth="203dp"
|
||||
android:textSize="10sp"
|
||||
android:lineHeight="20dp" />
|
||||
android:maxWidth="@dimen/sw_203dp"
|
||||
android:textSize="@dimen/sw_10sp"
|
||||
android:lineHeight="@dimen/sw_20dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user