mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-10 19:45:05 -05:00
689f69ca49
Searches can be slow, so users need an indicator. The indicator is also used when opening a message list or when refreshing it, or when loading more messages. This also removes some unused code.
50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/title_layout"
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/actionbar_title_first"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="start"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<TextView
|
|
android:id="@+id/actionbar_title_sub"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
</LinearLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/actionbar_progress"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_gravity="center"
|
|
style="?android:attr/indeterminateProgressStyle"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/actionbar_unread_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="12dip"
|
|
android:paddingRight="12dip"
|
|
android:textColor="?android:attr/textColorTertiary"
|
|
android:textSize="36sp" />
|
|
|
|
</LinearLayout> |