手机适配
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
tools:context=".ui.home.MyKeyboard">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="323dp"
|
||||
android:layout_height="@dimen/sw_323dp"
|
||||
android:src="@drawable/my_keyboard_bg"
|
||||
android:scaleType="fitXY"
|
||||
android:adjustViewBounds="true" />
|
||||
@@ -32,16 +32,16 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="16dp"
|
||||
android:padding="@dimen/sw_16dp"
|
||||
android:gravity="center_vertical">
|
||||
<!-- 返回按钮 -->
|
||||
<FrameLayout
|
||||
android:id="@+id/iv_close"
|
||||
android:layout_width="46dp"
|
||||
android:layout_height="46dp">
|
||||
android:layout_width="@dimen/sw_46dp"
|
||||
android:layout_height="@dimen/sw_46dp">
|
||||
<ImageView
|
||||
android:layout_width="13dp"
|
||||
android:layout_height="13dp"
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_13dp"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/more_icons"
|
||||
android:rotation="180"
|
||||
@@ -52,20 +52,20 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginEnd="49dp"
|
||||
android:layout_marginEnd="@dimen/sw_49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/keyboard_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="@dimen/sw_16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="200dp"
|
||||
android:padding="15dp"
|
||||
android:layout_marginTop="90dp"
|
||||
android:minHeight="@dimen/sw_200dp"
|
||||
android:padding="@dimen/sw_15dp"
|
||||
android:layout_marginTop="@dimen/sw_90dp"
|
||||
android:background="@drawable/mykeyboard_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -83,14 +83,14 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_keyboard"
|
||||
android:layout_width="343dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_width="@dimen/sw_343dp"
|
||||
android:layout_height="@dimen/sw_45dp"
|
||||
android:layout_marginBottom="@dimen/sw_16dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:gravity="center"
|
||||
android:text="@string/save"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/sw_16sp"
|
||||
android:background="@drawable/my_keyboard_delete"
|
||||
android:clickable="true"
|
||||
android:focusable="true"/>
|
||||
|
||||
Reference in New Issue
Block a user