Browse Source

Better support rtl

pull/559/head
TacoTheDank 4 years ago
parent
commit
bce5fcf218
  1. 3
      app/src/main/AndroidManifest.xml
  2. 2
      app/src/main/res/layout-land/dialog_color_picker.xml
  3. 1
      app/src/main/res/layout/actionbar_donebutton.xml
  4. 2
      app/src/main/res/layout/actionbar_serverstatus.xml
  5. 1
      app/src/main/res/layout/dialog_about.xml
  6. 4
      app/src/main/res/layout/dialog_color_picker.xml
  7. 8
      app/src/main/res/layout/dialog_transferrates.xml
  8. 24
      app/src/main/res/layout/fragment_details_header.xml
  9. 1
      app/src/main/res/layout/list_item_torrent.xml
  10. 7
      app/src/main/res/layout/list_item_widget.xml
  11. 7
      app/src/main/res/layout/list_item_widget_dark.xml
  12. 2
      app/src/main/res/layout/pref_withoverflow.xml
  13. 10
      app/src/main/res/layout/widget_torrents.xml

3
app/src/main/AndroidManifest.xml

@ -54,6 +54,7 @@
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher" android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat" android:theme="@style/Theme.AppCompat"
android:usesCleartextTraffic="true"> android:usesCleartextTraffic="true">
@ -192,7 +193,7 @@
<activity <activity
android:name="org.transdroid.core.gui.DetailsActivity_" android:name="org.transdroid.core.gui.DetailsActivity_"
android:theme="@style/TransdroidTheme" android:theme="@style/TransdroidTheme"
android:uiOptions="splitActionBarWhenNarrow"></activity> android:uiOptions="splitActionBarWhenNarrow" />
<!-- Settings screens --> <!-- Settings screens -->
<activity <activity

2
app/src/main/res/layout-land/dialog_color_picker.xml

@ -44,7 +44,7 @@
android:inputType="textCapCharacters" android:inputType="textCapCharacters"
android:maxLength="7" android:maxLength="7"
android:singleLine="true" android:singleLine="true"
android:visibility="gone"></EditText> android:visibility="gone" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

1
app/src/main/res/layout/actionbar_donebutton.xml

@ -27,6 +27,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:drawableStart="@drawable/ic_action_done"
android:drawableLeft="@drawable/ic_action_done" android:drawableLeft="@drawable/ic_action_done"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:gravity="center_vertical" android:gravity="center_vertical"

2
app/src/main/res/layout/actionbar_serverstatus.xml

@ -91,7 +91,9 @@
android:layout_width="@dimen/ui_serverstatus_width" android:layout_width="@dimen/ui_serverstatus_width"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/downcount_text" android:layout_below="@id/downcount_text"
android:layout_alignStart="@id/downcount_text"
android:layout_alignLeft="@id/downcount_text" android:layout_alignLeft="@id/downcount_text"
android:layout_alignEnd="@id/downcount_sign"
android:layout_alignRight="@id/downcount_sign" android:layout_alignRight="@id/downcount_sign"
android:layout_marginTop="-4dip" android:layout_marginTop="-4dip"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"

1
app/src/main/res/layout/dialog_about.xml

@ -31,6 +31,7 @@
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/margin_half" android:layout_marginTop="@dimen/margin_half"
android:layout_marginBottom="@dimen/margin_half" android:layout_marginBottom="@dimen/margin_half"
android:drawableStart="@drawable/ic_launcher"
android:drawableLeft="@drawable/ic_launcher" android:drawableLeft="@drawable/ic_launcher"
android:drawablePadding="@dimen/margin_half" android:drawablePadding="@dimen/margin_half"
android:fontFamily="sans-serif-condensed" android:fontFamily="sans-serif-condensed"

4
app/src/main/res/layout/dialog_color_picker.xml

@ -40,7 +40,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="left" android:gravity="start"
android:text="@string/press_color_to_apply" android:text="@string/press_color_to_apply"
android:textAppearance="?android:attr/textAppearanceSmall" /> android:textAppearance="?android:attr/textAppearanceSmall" />
@ -54,7 +54,7 @@
android:inputType="textCapCharacters" android:inputType="textCapCharacters"
android:maxLength="7" android:maxLength="7"
android:singleLine="true" android:singleLine="true"
android:visibility="gone"></EditText> android:visibility="gone" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout

8
app/src/main/res/layout/dialog_transferrates.xml

@ -30,6 +30,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_down" android:text="@string/status_maxspeed_down"
android:textAllCaps="true" /> android:textAllCaps="true" />
@ -40,13 +41,14 @@
android:layout_width="0dip" android:layout_width="0dip"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="right" android:gravity="end"
android:singleLine="true" android:singleLine="true"
android:text="@string/status_maxspeed_novalue" /> android:text="@string/status_maxspeed_novalue" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_unit" android:text="@string/status_maxspeed_unit"
android:textAllCaps="true" /> android:textAllCaps="true" />
@ -174,6 +176,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_up" android:text="@string/status_maxspeed_up"
android:textAllCaps="true" /> android:textAllCaps="true" />
@ -184,13 +187,14 @@
android:layout_width="0dip" android:layout_width="0dip"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="right" android:gravity="end"
android:singleLine="true" android:singleLine="true"
android:text="@string/status_maxspeed_novalue" /> android:text="@string/status_maxspeed_novalue" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_unit" android:text="@string/status_maxspeed_unit"
android:textAllCaps="true" /> android:textAllCaps="true" />

24
app/src/main/res/layout/fragment_details_header.xml

@ -32,6 +32,7 @@
android:id="@+id/dateadded_text" android:id="@+id/dateadded_text"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:layout_weight="0.5" android:layout_weight="0.5"
android:textIsSelectable="false" /> android:textIsSelectable="false" />
@ -41,9 +42,10 @@
style="@style/LabelTextView" style="@style/LabelTextView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half" android:layout_marginLeft="@dimen/margin_half"
android:layout_weight="0.5" android:layout_weight="0.5"
android:gravity="right" android:gravity="end"
android:textIsSelectable="true" android:textIsSelectable="true"
android:visibility="invisible" /> android:visibility="invisible" />
</LinearLayout> </LinearLayout>
@ -64,8 +66,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/date_label_wrapper" android:layout_below="@id/date_label_wrapper"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half" android:layout_marginLeft="@dimen/margin_half"
android:layout_marginTop="@dimen/margin_half" android:layout_marginTop="@dimen/margin_half"
android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator" android:layout_toRightOf="@id/separator"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright" android:textColor="?attr/text_bright"
@ -77,7 +81,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/uploaded_text" android:layout_alignBaseline="@id/uploaded_text"
android:layout_marginStart="4dip"
android:layout_marginLeft="4dip" android:layout_marginLeft="4dip"
android:layout_toEndOf="@id/uploaded_text"
android:layout_toRightOf="@id/uploaded_text" android:layout_toRightOf="@id/uploaded_text"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright" android:textColor="?attr/text_bright"
@ -88,7 +94,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/uploaded_text" android:layout_below="@id/uploaded_text"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half" android:layout_marginLeft="@dimen/margin_half"
android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator" android:layout_toRightOf="@id/separator"
android:textIsSelectable="false" android:textIsSelectable="false"
android:textSize="@dimen/text_small" /> android:textSize="@dimen/text_small" />
@ -98,8 +106,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/ratio_text" android:layout_below="@id/ratio_text"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half" android:layout_marginLeft="@dimen/margin_half"
android:layout_marginBottom="4dip" android:layout_marginBottom="4dip"
android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator" android:layout_toRightOf="@id/separator"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright" android:textColor="?attr/text_bright"
@ -111,7 +121,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/upspeed_text" android:layout_below="@id/upspeed_text"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half" android:layout_marginLeft="@dimen/margin_half"
android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator" android:layout_toRightOf="@id/separator"
android:textIsSelectable="false" android:textIsSelectable="false"
android:textSize="@dimen/text_small" /> android:textSize="@dimen/text_small" />
@ -121,7 +133,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/uploadedunit_text" android:layout_alignBaseline="@id/uploadedunit_text"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator" android:layout_toLeftOf="@id/separator"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright" android:textColor="?attr/text_bright"
@ -132,7 +146,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/uploadedunit_text" android:layout_alignBaseline="@id/uploadedunit_text"
android:layout_marginEnd="4dip"
android:layout_marginRight="4dip" android:layout_marginRight="4dip"
android:layout_toStartOf="@id/downloadedunit_text"
android:layout_toLeftOf="@id/downloadedunit_text" android:layout_toLeftOf="@id/downloadedunit_text"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright" android:textColor="?attr/text_bright"
@ -144,7 +160,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/ratio_text" android:layout_alignBaseline="@id/ratio_text"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator" android:layout_toLeftOf="@id/separator"
android:textIsSelectable="false" android:textIsSelectable="false"
android:textSize="@dimen/text_small" /> android:textSize="@dimen/text_small" />
@ -154,7 +172,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/upspeed_text" android:layout_alignBaseline="@id/upspeed_text"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator" android:layout_toLeftOf="@id/separator"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright" android:textColor="?attr/text_bright"
@ -166,7 +186,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/leechers_text" android:layout_alignBaseline="@id/leechers_text"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half" android:layout_marginRight="@dimen/margin_half"
android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator" android:layout_toLeftOf="@id/separator"
android:textIsSelectable="false" android:textIsSelectable="false"
android:textSize="@dimen/text_small" /> android:textSize="@dimen/text_small" />

1
app/src/main/res/layout/list_item_torrent.xml

@ -82,6 +82,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/ratio_text" android:layout_below="@id/ratio_text"
android:layout_marginStart="@dimen/margin_torrentlistleft"
android:layout_marginLeft="@dimen/margin_torrentlistleft" android:layout_marginLeft="@dimen/margin_torrentlistleft"
android:layout_marginTop="@dimen/margin_half" /> android:layout_marginTop="@dimen/margin_half" />

7
app/src/main/res/layout/list_item_widget.xml

@ -19,6 +19,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="@dimen/widget_list_item_height" android:layout_height="@dimen/widget_list_item_height"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:paddingEnd="@dimen/widget_list_item_padding"
android:paddingRight="@dimen/widget_list_item_padding"> android:paddingRight="@dimen/widget_list_item_padding">
<TextView <TextView
@ -30,6 +31,7 @@
android:id="@+id/name_text" android:id="@+id/name_text"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/widget_list_item_padding_left"
android:layout_marginLeft="@dimen/widget_list_item_padding_left" android:layout_marginLeft="@dimen/widget_list_item_padding_left"
android:ellipsize="end" android:ellipsize="end"
android:fontFamily="sans-serif-condensed" android:fontFamily="sans-serif-condensed"
@ -44,7 +46,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/name_text" android:layout_below="@id/name_text"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginStart="@dimen/widget_list_item_padding"
android:layout_marginLeft="@dimen/widget_list_item_padding" android:layout_marginLeft="@dimen/widget_list_item_padding"
android:layout_marginTop="4dip" android:layout_marginTop="4dip"
android:maxLines="1" android:maxLines="1"
@ -58,8 +62,11 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/ratio_text" android:layout_alignBaseline="@id/ratio_text"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_marginStart="@dimen/widget_list_item_padding_left"
android:layout_marginLeft="@dimen/widget_list_item_padding_left" android:layout_marginLeft="@dimen/widget_list_item_padding_left"
android:layout_toStartOf="@id/ratio_text"
android:layout_toLeftOf="@id/ratio_text" android:layout_toLeftOf="@id/ratio_text"
android:maxLines="1" android:maxLines="1"
android:textColor="@color/transdroid_text_bright" android:textColor="@color/transdroid_text_bright"

7
app/src/main/res/layout/list_item_widget_dark.xml

@ -19,6 +19,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="@dimen/widget_list_item_height" android:layout_height="@dimen/widget_list_item_height"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:paddingEnd="@dimen/widget_list_item_padding"
android:paddingRight="@dimen/widget_list_item_padding"> android:paddingRight="@dimen/widget_list_item_padding">
<TextView <TextView
@ -30,6 +31,7 @@
android:id="@+id/name_text" android:id="@+id/name_text"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/widget_list_item_padding_left"
android:layout_marginLeft="@dimen/widget_list_item_padding_left" android:layout_marginLeft="@dimen/widget_list_item_padding_left"
android:ellipsize="end" android:ellipsize="end"
android:fontFamily="sans-serif-condensed" android:fontFamily="sans-serif-condensed"
@ -44,7 +46,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/name_text" android:layout_below="@id/name_text"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginStart="@dimen/widget_list_item_padding"
android:layout_marginLeft="@dimen/widget_list_item_padding" android:layout_marginLeft="@dimen/widget_list_item_padding"
android:layout_marginTop="4dip" android:layout_marginTop="4dip"
android:maxLines="1" android:maxLines="1"
@ -58,8 +62,11 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignBaseline="@id/ratio_text" android:layout_alignBaseline="@id/ratio_text"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_marginStart="@dimen/widget_list_item_padding_left"
android:layout_marginLeft="@dimen/widget_list_item_padding_left" android:layout_marginLeft="@dimen/widget_list_item_padding_left"
android:layout_toStartOf="@id/ratio_text"
android:layout_toLeftOf="@id/ratio_text" android:layout_toLeftOf="@id/ratio_text"
android:maxLines="1" android:maxLines="1"
android:textColor="@color/transdroid_dark_text_bright" android:textColor="@color/transdroid_dark_text_bright"

2
app/src/main/res/layout/pref_withoverflow.xml

@ -7,7 +7,7 @@
android:id="@+id/overflow_button" android:id="@+id/overflow_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical" android:layout_gravity="end|center_vertical"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/pref_addseedbox" android:contentDescription="@string/pref_addseedbox"
android:padding="5dp" android:padding="5dp"

10
app/src/main/res/layout/widget_torrents.xml

@ -44,6 +44,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:clickable="true" android:clickable="true"
android:focusable="true"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="3dp" android:paddingTop="3dp"
android:paddingEnd="@dimen/margin_half" android:paddingEnd="@dimen/margin_half"
@ -82,6 +83,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:clickable="true" android:clickable="true"
android:focusable="true"
android:paddingTop="@dimen/ui_serverstatus_margin" android:paddingTop="@dimen/ui_serverstatus_margin"
android:visibility="gone"> android:visibility="gone">
@ -89,6 +91,7 @@
android:id="@+id/upcount_sign" android:id="@+id/upcount_sign"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:paddingTop="@dimen/ui_serverstatus_signmargin" android:paddingTop="@dimen/ui_serverstatus_signmargin"
@ -100,6 +103,7 @@
android:id="@+id/upcount_text" android:id="@+id/upcount_text"
android:layout_width="@dimen/ui_serverstatus_width" android:layout_width="@dimen/ui_serverstatus_width"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_toStartOf="@id/upcount_sign"
android:layout_toLeftOf="@id/upcount_sign" android:layout_toLeftOf="@id/upcount_sign"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:gravity="end" android:gravity="end"
@ -109,6 +113,7 @@
android:id="@+id/downcount_sign" android:id="@+id/downcount_sign"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_toStartOf="@id/upcount_text"
android:layout_toLeftOf="@id/upcount_text" android:layout_toLeftOf="@id/upcount_text"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:paddingTop="@dimen/ui_serverstatus_signmargin" android:paddingTop="@dimen/ui_serverstatus_signmargin"
@ -120,6 +125,7 @@
android:id="@+id/downcount_text" android:id="@+id/downcount_text"
android:layout_width="@dimen/ui_serverstatus_width" android:layout_width="@dimen/ui_serverstatus_width"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_toStartOf="@id/downcount_sign"
android:layout_toLeftOf="@id/downcount_sign" android:layout_toLeftOf="@id/downcount_sign"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:gravity="end" android:gravity="end"
@ -130,7 +136,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/upcount_text" android:layout_below="@id/upcount_text"
android:layout_alignStart="@id/upcount_text"
android:layout_alignLeft="@id/upcount_text" android:layout_alignLeft="@id/upcount_text"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginTop="-4dip" android:layout_marginTop="-4dip"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
@ -142,7 +150,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/downcount_text" android:layout_below="@id/downcount_text"
android:layout_alignStart="@id/downcount_text"
android:layout_alignLeft="@id/downcount_text" android:layout_alignLeft="@id/downcount_text"
android:layout_alignEnd="@id/downcount_sign"
android:layout_alignRight="@id/downcount_sign" android:layout_alignRight="@id/downcount_sign"
android:layout_marginTop="-4dip" android:layout_marginTop="-4dip"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"

Loading…
Cancel
Save