This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed and improved batch operation layout
Fixes #1539
- Loading branch information
M66B
committed
Mar 13, 2014
1 parent
7cc2530
commit 58da9b0
Showing
3 changed files
with
67 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,69 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="?android:attr/listPreferredItemHeightSmall" | ||
android:gravity="center_vertical" | ||
android:orientation="horizontal" > | ||
android:layout_height="wrap_content" | ||
android:minHeight="?android:attr/listPreferredItemHeightSmall" | ||
android:orientation="vertical" > | ||
|
||
<ImageView | ||
android:id="@+id/imgIcon" | ||
android:layout_width="?android:attr/listPreferredItemHeightSmall" | ||
android:layout_height="?android:attr/listPreferredItemHeightSmall" | ||
android:layout_alignParentLeft="true" | ||
android:layout_centerVertical="true" | ||
android:contentDescription="@string/help_application" /> | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" > | ||
|
||
<ImageView | ||
android:id="@+id/imgInfo" | ||
android:layout_width="32dip" | ||
android:layout_height="32dip" | ||
android:layout_centerVertical="true" | ||
android:layout_toRightOf="@id/imgIcon" | ||
android:contentDescription="@string/help_application" | ||
android:paddingLeft="6dip" | ||
android:src="?attr/icon_info" /> | ||
<ImageView | ||
android:id="@+id/imgIcon" | ||
android:layout_width="?android:attr/listPreferredItemHeightSmall" | ||
android:layout_height="?android:attr/listPreferredItemHeightSmall" | ||
android:layout_gravity="center_vertical" | ||
android:contentDescription="@string/help_application" /> | ||
|
||
<TextView | ||
android:id="@+id/tvApp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:layout_toRightOf="@id/imgInfo" | ||
android:paddingLeft="6dip" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:textIsSelectable="false" /> | ||
<ImageView | ||
android:id="@+id/imgInfo" | ||
android:layout_width="32dip" | ||
android:layout_height="32dip" | ||
android:layout_gravity="center_vertical" | ||
android:contentDescription="@string/help_application" | ||
android:paddingLeft="6dip" | ||
android:src="?attr/icon_info" /> | ||
|
||
<TextView | ||
android:id="@+id/tvApp" | ||
android:layout_width="0dip" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:layout_weight="1" | ||
android:paddingLeft="6dip" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:textIsSelectable="false" /> | ||
|
||
<ImageView | ||
android:id="@+id/imgResult" | ||
android:layout_width="32dip" | ||
android:layout_height="32dip" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginRight="3dip" | ||
android:contentDescription="@string/help_application" | ||
android:visibility="invisible" /> | ||
<ImageView | ||
android:id="@+id/imgResult" | ||
android:layout_width="32dip" | ||
android:layout_height="32dip" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginRight="3dip" | ||
android:contentDescription="@string/help_application" | ||
android:visibility="gone" /> | ||
|
||
<ProgressBar | ||
android:id="@+id/pbRunning" | ||
style="?android:attr/progressBarStyleInverse" | ||
android:layout_width="32dip" | ||
android:layout_height="32dip" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginRight="3dip" | ||
android:visibility="gone" /> | ||
</LinearLayout> | ||
|
||
<TextView | ||
android:id="@+id/tvMessage" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentBottom="true" | ||
android:layout_toLeftOf="@id/imgResult" | ||
android:ellipsize="end" | ||
android:layout_gravity="right" | ||
android:paddingRight="3dip" | ||
android:singleLine="true" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:textIsSelectable="false" /> | ||
|
||
<ProgressBar | ||
android:id="@+id/pbRunning" | ||
style="?android:attr/progressBarStyleInverse" | ||
android:layout_width="32dip" | ||
android:layout_height="32dip" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginRight="3dip" | ||
android:textIsSelectable="false" | ||
android:visibility="gone" /> | ||
|
||
</RelativeLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters