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

main
Vavassor 8 years ago
parent 3ab06eb250
commit 054ab8fb1c
  1. 20
      app/src/main/res/layout/item_blocked_user.xml
  2. 23
      app/src/main/res/layout/item_follow.xml
  3. 16
      app/src/main/res/layout/item_report_status.xml

@ -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>

@ -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>

@ -11,17 +11,11 @@
android:layout_weight="1"
android:padding="8dp" />
<RelativeLayout
<CheckBox
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_margin="16dp" />
</RelativeLayout>
android:layout_height="wrap_content"
android:id="@+id/report_status_check_box"
android:layout_gravity="center_vertical"
android:layout_margin="16dp" />
</LinearLayout>
Loading…
Cancel
Save