Add all missing Left/Right attributes in RTL
This improves support on older Android releases.
This commit is contained in:
parent
073052f5cc
commit
cdecc1604c
@ -29,7 +29,9 @@
|
|||||||
android:id="@+id/perm_icon"
|
android:id="@+id/perm_icon"
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:scaleType="fitCenter" />
|
android:scaleType="fitCenter" />
|
||||||
|
|
||||||
@ -42,6 +44,7 @@
|
|||||||
android:id="@+id/perm_name"
|
android:id="@+id/perm_name"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -42,7 +42,10 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_toRightOf="@id/icon"
|
android:layout_toRightOf="@id/icon"
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingStart="16dp">
|
android:paddingStart="16dp"
|
||||||
|
android:paddingRight="16dp"
|
||||||
|
android:paddingEnd="16dp"
|
||||||
|
>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
|
@ -28,7 +28,9 @@
|
|||||||
android:id="@+id/perm_icon"
|
android:id="@+id/perm_icon"
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:scaleType="fitCenter" />
|
android:scaleType="fitCenter" />
|
||||||
|
|
||||||
@ -40,6 +42,7 @@
|
|||||||
android:id="@+id/perm_name"
|
android:id="@+id/perm_name"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -29,7 +29,9 @@
|
|||||||
android:id="@+id/perm_icon"
|
android:id="@+id/perm_icon"
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:scaleType="fitCenter" />
|
android:scaleType="fitCenter" />
|
||||||
|
|
||||||
@ -41,19 +43,23 @@
|
|||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp">
|
android:layout_marginLeft="8dp"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/perm_name"
|
android:id="@+id/perm_name"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_alignParentTop="true" />
|
android:layout_alignParentTop="true" />
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/perm_money_icon"
|
android:id="@+id/perm_money_icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_alignBottom="@+id/perm_money_label"
|
android:layout_alignBottom="@+id/perm_money_label"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
@ -67,8 +73,10 @@
|
|||||||
android:textColor="@color/perms_costs_money"
|
android:textColor="@color/perms_costs_money"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_toRightOf="@id/perm_money_icon"
|
||||||
android:layout_toEndOf="@id/perm_money_icon"
|
android:layout_toEndOf="@id/perm_money_icon"
|
||||||
android:layout_below="@id/perm_name"
|
android:layout_below="@id/perm_name"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:text="@string/perm_costs_money" />
|
android:text="@string/perm_costs_money" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -24,15 +24,19 @@ installation screens
|
|||||||
android:id="@+id/app_snippet"
|
android:id="@+id/app_snippet"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingLeft="16dip"
|
||||||
android:paddingStart="16dip"
|
android:paddingStart="16dip"
|
||||||
|
android:paddingRight="16dip"
|
||||||
android:paddingEnd="16dip"
|
android:paddingEnd="16dip"
|
||||||
android:paddingTop="24dip"
|
android:paddingTop="24dip"
|
||||||
>
|
>
|
||||||
<ImageView android:id="@+id/app_icon"
|
<ImageView android:id="@+id/app_icon"
|
||||||
android:layout_width="32dip"
|
android:layout_width="32dip"
|
||||||
android:layout_height="32dip"
|
android:layout_height="32dip"
|
||||||
|
android:layout_marginLeft="8dip"
|
||||||
android:layout_marginStart="8dip"
|
android:layout_marginStart="8dip"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:scaleType="centerCrop"/>
|
android:scaleType="centerCrop"/>
|
||||||
@ -44,11 +48,14 @@ installation screens
|
|||||||
android:textColor="?android:attr/textColorPrimary"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
android:shadowColor="@color/shadow"
|
android:shadowColor="@color/shadow"
|
||||||
android:shadowRadius="2"
|
android:shadowRadius="2"
|
||||||
|
android:layout_toRightOf="@id/app_icon"
|
||||||
android:layout_toEndOf="@id/app_icon"
|
android:layout_toEndOf="@id/app_icon"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
|
android:paddingRight="16dip"
|
||||||
android:paddingEnd="16dip"
|
android:paddingEnd="16dip"
|
||||||
android:paddingTop="3dip"
|
android:paddingTop="3dip"
|
||||||
|
android:paddingLeft="16dip"
|
||||||
android:paddingStart="16dip"
|
android:paddingStart="16dip"
|
||||||
android:ellipsize="end"/>
|
android:ellipsize="end"/>
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user