fedilab-Android-App/app/src/main/res/layout/layout_poll_item.xml

34 lines
1.1 KiB
XML
Raw Normal View History

2020-04-09 12:19:10 +02:00
<?xml version="1.0" encoding="utf-8"?>
2020-05-16 20:00:45 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-04-09 14:09:43 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="vertical">
2020-05-16 20:00:45 +02:00
2020-04-09 14:09:43 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
2020-05-16 20:00:45 +02:00
2020-04-09 14:09:43 +02:00
<TextView
2020-05-16 20:00:45 +02:00
android:id="@+id/poll_item_percent"
2020-04-09 14:09:43 +02:00
android:layout_width="40dp"
2020-05-16 20:00:45 +02:00
android:layout_height="wrap_content" />
2020-04-09 14:09:43 +02:00
<TextView
2020-05-16 20:00:45 +02:00
android:id="@+id/poll_item_text"
2020-04-09 14:09:43 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-05-16 20:00:45 +02:00
android:drawablePadding="5dp"
android:ellipsize="end"
android:singleLine="true" />
2020-04-09 14:09:43 +02:00
</LinearLayout>
2020-05-16 20:00:45 +02:00
2020-04-09 14:09:43 +02:00
<ProgressBar
android:id="@+id/poll_item_value"
2020-05-16 20:00:45 +02:00
style="?android:attr/progressBarStyleHorizontal"
2020-04-09 14:09:43 +02:00
android:layout_width="match_parent"
android:layout_height="4dp"
2020-05-16 20:00:45 +02:00
android:layout_marginTop="5dp"
android:indeterminate="false" />
2020-04-09 14:09:43 +02:00
</LinearLayout>