session-android/res/layout/transfer_controls_view.xml

56 lines
2.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:parentTag="org.thoughtcrime.securesms.components.TransferControlView">
<com.pnikosis.materialishprogress.ProgressWheel
android:id="@+id/progress_wheel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"
android:padding="4dp"
app:matProg_barColor="@color/core_blue"
app:matProg_rimColor="@color/core_grey_05"
app:matProg_linearProgress="true"
app:matProg_spinSpeed="0.2"
app:matProg_barWidth="2dp"
app:matProg_rimWidth="2dp"
app:matProg_circleRadius="24dp"
tools:visibility="visible"/>
2018-11-08 23:33:37 -08:00
<LinearLayout
android:id="@+id/download_details"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="4dp"
2018-11-08 23:33:37 -08:00
android:gravity="center"
android:orientation="horizontal"
android:visibility="gone"
tools:visibility="visible">
2018-11-08 23:33:37 -08:00
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:tint="@color/core_grey_60"
app:srcCompat="@drawable/ic_arrow_down_circle_filled" />
2018-11-08 23:33:37 -08:00
<TextView
android:id="@+id/download_details_text"
style="@style/Signal.Text.Preview"
2018-11-08 23:33:37 -08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
android:fontFamily="sans-serif-medium"
2018-11-08 23:33:37 -08:00
android:gravity="center"
android:longClickable="false"
android:textColor="@color/black" />
2018-11-08 23:33:37 -08:00
</LinearLayout>
</merge>