|
|
@ -15,85 +15,95 @@ |
|
|
|
You should have received a copy of the GNU General Public License |
|
|
|
You should have received a copy of the GNU General Public License |
|
|
|
along with Transdroid. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
along with Transdroid. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
--> |
|
|
|
--> |
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="?attr/actionBarSize" |
|
|
|
android:layout_height="?attr/actionBarSize" |
|
|
|
android:background="?attr/selectable_background_transdroid" |
|
|
|
android:layout_width="match_parent" > |
|
|
|
android:clickable="true" |
|
|
|
|
|
|
|
android:paddingRight="@dimen/margin_default" |
|
|
|
|
|
|
|
android:paddingTop="@dimen/ui_serverstatus_margin" > |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/upcount_sign" |
|
|
|
android:id="@+id/speedswrapper_layout" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_gravity="right" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:background="?attr/selectable_background_transdroid" |
|
|
|
android:paddingTop="@dimen/ui_serverstatus_signmargin" |
|
|
|
android:clickable="true" |
|
|
|
android:text="↑" |
|
|
|
android:focusable="true" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:paddingLeft="@dimen/margin_default" |
|
|
|
android:textSize="@dimen/ui_serverstatus_sign" |
|
|
|
android:paddingRight="@dimen/margin_default" |
|
|
|
android:visibility="invisible" |
|
|
|
android:paddingTop="@dimen/ui_serverstatus_margin" |
|
|
|
tools:ignore="HardcodedText" /> |
|
|
|
tools:ignore="UselessParent" > |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/upcount_text" |
|
|
|
android:id="@+id/upcount_sign" |
|
|
|
android:layout_width="@dimen/ui_serverstatus_width" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_toLeftOf="@id/upcount_sign" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:gravity="end" |
|
|
|
android:paddingTop="@dimen/ui_serverstatus_signmargin" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:text="↑" |
|
|
|
android:textSize="@dimen/ui_serverstatus_bignumber" /> |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
|
|
|
|
android:textSize="@dimen/ui_serverstatus_sign" |
|
|
|
|
|
|
|
android:visibility="invisible" |
|
|
|
|
|
|
|
tools:ignore="HardcodedText" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/downcount_sign" |
|
|
|
android:id="@+id/upcount_text" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="@dimen/ui_serverstatus_width" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_toLeftOf="@id/upcount_text" |
|
|
|
android:layout_toLeftOf="@id/upcount_sign" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:paddingTop="@dimen/ui_serverstatus_signmargin" |
|
|
|
android:gravity="right" |
|
|
|
android:text="↓" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:textSize="@dimen/ui_serverstatus_bignumber" /> |
|
|
|
android:textSize="@dimen/ui_serverstatus_sign" |
|
|
|
|
|
|
|
android:visibility="invisible" |
|
|
|
|
|
|
|
tools:ignore="HardcodedText" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/downcount_text" |
|
|
|
android:id="@+id/downcount_sign" |
|
|
|
android:layout_width="@dimen/ui_serverstatus_width" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_toLeftOf="@id/downcount_sign" |
|
|
|
android:layout_toLeftOf="@id/upcount_text" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:gravity="end" |
|
|
|
android:paddingTop="@dimen/ui_serverstatus_signmargin" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:text="↓" |
|
|
|
android:textSize="@dimen/ui_serverstatus_bignumber" /> |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
|
|
|
|
android:textSize="@dimen/ui_serverstatus_sign" |
|
|
|
|
|
|
|
android:visibility="invisible" |
|
|
|
|
|
|
|
tools:ignore="HardcodedText" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/upspeed_text" |
|
|
|
android:id="@+id/downcount_text" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="@dimen/ui_serverstatus_width" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_alignLeft="@id/upcount_text" |
|
|
|
android:layout_toLeftOf="@id/downcount_sign" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:layout_below="@id/upcount_text" |
|
|
|
android:gravity="right" |
|
|
|
android:layout_marginTop="-4dip" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:textSize="@dimen/ui_serverstatus_bignumber" /> |
|
|
|
android:gravity="end" |
|
|
|
|
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
|
|
|
|
android:textSize="@dimen/ui_serverstatus_smallnumber" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/downspeed_text" |
|
|
|
android:id="@+id/upspeed_text" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_alignLeft="@id/downcount_text" |
|
|
|
android:layout_alignLeft="@id/upcount_text" |
|
|
|
android:layout_alignRight="@id/downcount_sign" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_below="@id/downcount_text" |
|
|
|
android:layout_below="@id/upcount_text" |
|
|
|
android:layout_marginTop="-4dip" |
|
|
|
android:layout_marginTop="-4dip" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
android:gravity="end" |
|
|
|
android:gravity="right" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
android:textSize="@dimen/ui_serverstatus_smallnumber" /> |
|
|
|
android:textSize="@dimen/ui_serverstatus_smallnumber" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:id="@+id/downspeed_text" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_alignLeft="@id/downcount_text" |
|
|
|
|
|
|
|
android:layout_alignRight="@id/downcount_sign" |
|
|
|
|
|
|
|
android:layout_below="@id/downcount_text" |
|
|
|
|
|
|
|
android:layout_marginTop="-4dip" |
|
|
|
|
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
|
|
|
|
android:gravity="right" |
|
|
|
|
|
|
|
android:textColor="?attr/text_bright" |
|
|
|
|
|
|
|
android:textSize="@dimen/ui_serverstatus_smallnumber" /> |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
</FrameLayout> |