Several minor layout issues fixed, overlapping text on different device resolutions.

This commit is contained in:
Vavassor 2017-03-01 00:36:15 -05:00
parent 3ab06eb250
commit 054ab8fb1c
3 changed files with 29 additions and 30 deletions

View File

@ -11,11 +11,21 @@
android:padding="@dimen/status_avatar_padding"
android:layout_alignParentLeft="true" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/blocked_user_unblock"
android:layout_gravity="center_vertical"
android:text="@string/action_unblock"
android:layout_alignParentRight="true"
android:layout_centerVertical="true" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="64dp"
android:orientation="vertical"
android:layout_toRightOf="@id/blocked_user_avatar">
android:layout_toRightOf="@id/blocked_user_avatar"
android:layout_toLeftOf="@id/blocked_user_unblock">
<Space
android:layout_width="wrap_content"
@ -47,12 +57,4 @@
</LinearLayout>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/blocked_user_unblock"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="@string/action_unblock" />
</RelativeLayout>

View File

@ -42,14 +42,25 @@
android:layout_height="64dp"
android:id="@+id/notification_avatar"
android:scaleType="fitCenter"
android:padding="@dimen/status_avatar_padding"
android:paddingLeft="@dimen/status_avatar_padding"
android:paddingRight="@dimen/status_avatar_padding"
android:paddingBottom="@dimen/status_avatar_padding"
android:layout_alignParentLeft="true" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/notification_follow_button"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="@string/action_follow" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="64dp"
android:orientation="vertical"
android:layout_toRightOf="@id/notification_avatar">
android:layout_toRightOf="@id/notification_avatar"
android:layout_toLeftOf="@id/notification_follow_button">
<Space
android:layout_width="wrap_content"
@ -81,14 +92,6 @@
</LinearLayout>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/notification_follow_button"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="@string/action_follow" />
</RelativeLayout>
</LinearLayout>

View File

@ -11,17 +11,11 @@
android:layout_weight="1"
android:padding="8dp" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/report_status_check_box"
android:layout_centerVertical="true"
android:layout_gravity="center_vertical"
android:layout_margin="16dp" />
</RelativeLayout>
</LinearLayout>