Eric Kok
5 years ago
10 changed files with 86 additions and 9 deletions
@ -0,0 +1,71 @@
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<!-- |
||||
Copyright 2010-2018 Eric Kok et al. |
||||
|
||||
Transdroid is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
Transdroid is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with Transdroid. If not, see <http://www.gnu.org/licenses/>. |
||||
--> |
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:id="@+id/widget_line_layout" |
||||
android:layout_width="fill_parent" |
||||
android:layout_height="@dimen/widget_list_item_height" |
||||
android:background="?android:attr/selectableItemBackground" |
||||
android:paddingRight="@dimen/widget_list_item_padding"> |
||||
|
||||
<TextView |
||||
android:id="@+id/status_view" |
||||
android:layout_width="6dp" |
||||
android:layout_height="@dimen/widget_list_item_height" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/name_text" |
||||
android:layout_width="fill_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginLeft="@dimen/widget_list_item_padding_left" |
||||
android:ellipsize="end" |
||||
android:fontFamily="sans-serif-condensed" |
||||
android:maxLines="1" |
||||
android:paddingTop="@dimen/widget_list_item_padding" |
||||
android:textColor="@color/transdroid_dark_text_bright" |
||||
android:textIsSelectable="false" |
||||
android:textSize="@dimen/text_enlarged" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/ratio_text" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_alignParentRight="true" |
||||
android:layout_below="@id/name_text" |
||||
android:layout_marginLeft="@dimen/widget_list_item_padding" |
||||
android:layout_marginTop="4dip" |
||||
android:maxLines="1" |
||||
android:textColor="@color/transdroid_dark_text_bright" |
||||
android:paddingBottom="@dimen/widget_list_item_padding" |
||||
android:textIsSelectable="false" |
||||
android:textSize="@dimen/text_small" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/progress_text" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_alignBaseline="@id/ratio_text" |
||||
android:layout_alignParentLeft="true" |
||||
android:layout_marginLeft="@dimen/widget_list_item_padding_left" |
||||
android:layout_toLeftOf="@id/ratio_text" |
||||
android:maxLines="1" |
||||
android:textColor="@color/transdroid_dark_text_bright" |
||||
android:textIsSelectable="false" |
||||
android:textSize="@dimen/text_small" /> |
||||
|
||||
</RelativeLayout> |
Loading…
Reference in new issue